TUTORIAL
FILE INFORMATION
FILENAME(S): TUTORIAL
FILE TYPE(S): PRG
FILE SIZE: 12.6K
FIRST SEEN: 2025-10-19 22:49:15
APPEARS ON: 1 disk(s)
FILE HASH
973d83160b2017cadd3478ccab4bf1840b5ee4416a9a7f12df22ab6ad5ec2d64
FOUND ON DISKS (1 DISKS)
| DISK TITLE | FILENAME | FILE TYPE | COLLECTION | TRACK | SECTOR | ACTIONS |
|---|---|---|---|---|---|---|
| GOLD DISK SEP85 | TUTORIAL | PRG | Radd Maxx | 14 | 0 | DOWNLOAD FILE |
FILE CONTENT & ANALYSIS
> DETECTED: COMMODORE BASIC PROGRAM (LOAD ADDRESS $0801)
00000000: 01 08 07 08 01 00 8F 00 23 08 02 00 8F 20 28 43 |........#.... (C|
00000010: 29 31 39 38 35 20 47 4F 4C 44 20 44 49 53 4B 20 |)1985 GOLD DISK |
00000020: 49 4E 43 00 29 08 03 00 8F 00 41 08 04 00 8F 20 |INC.).....A.... |
00000030: 54 55 54 4F 52 49 41 4C 3A 20 46 4F 52 54 48 20 |TUTORIAL: FORTH |
00000040: 33 00 47 08 05 00 8F 00 63 08 06 00 99 22 90 22 |3.G.....c...."."|
00000050: 3A 97 35 33 32 37 32 2C 32 33 3A 97 35 33 32 38 |:.53272,23:.5328|
00000060: 31 2C 31 00 70 08 07 00 97 35 33 32 38 30 2C 36 |1,1.p....53280,6|
00000070: 00 79 08 08 00 50 47 B2 31 00 B9 08 09 00 91 50 |.y...PG.1......P|
00000080: 47 89 31 31 2C 34 30 2C 36 33 2C 38 36 2C 31 30 |G.11,40,63,86,10|
00000090: 39 2C 31 33 32 2C 31 35 35 2C 31 37 38 2C 32 30 |9,132,155,178,20|
000000A0: 31 2C 32 32 34 2C 32 34 37 2C 32 37 30 2C 32 39 |1,224,247,270,29|
000000B0: 33 2C 33 31 36 2C 33 33 39 00 D2 08 0A 00 91 28 |3,316,339......(|
000000C0: 50 47 AB 31 35 29 89 33 36 32 2C 33 38 35 2C 34 |PG.15).362,385,4|
000000D0: 30 38 00 F0 08 0B 00 99 22 93 20 20 20 20 20 20 |08......". |
000000E0: 20 20 20 20 20 20 20 20 20 20 12 C6 CF D2 D4 C8 | ......|
000000F0: 00 F7 08 0C 00 99 22 00 FE 08 0D 00 99 22 00 2A |......"......".*|
00000100: 09 0E 00 99 22 20 20 D4 48 49 53 20 49 53 20 54 |...." .HIS IS T|
00000110: 48 45 20 4C 41 53 54 20 4F 46 20 54 48 52 45 45 |HE LAST OF THREE|
00000120: 20 54 55 54 4F 52 49 41 4C 53 00 57 09 0F 00 99 | TUTORIALS.W....|
00000130: 22 20 4F 4E 20 C6 CF D2 D4 C8 2E 20 D7 45 20 57 |" ON ...... .E W|
00000140: 49 4C 4C 20 4C 4F 4F 4B 20 41 54 20 54 48 45 20 |ILL LOOK AT THE |
00000150: 46 4F 4C 4C 4F 57 2D 00 6C 09 10 00 99 22 20 49 |FOLLOW-.l...." I|
00000160: 4E 47 20 43 4F 4E 43 45 50 54 53 2C 00 73 09 11 |NG CONCEPTS,.s..|
00000170: 00 99 22 00 7A 09 12 00 99 22 00 A6 09 13 00 99 |..".z...."......|
00000180: 22 20 20 41 29 20 D4 48 45 20 50 41 52 54 53 20 |" A) .HE PARTS |
00000190: 4F 46 20 41 20 C6 CF D2 D4 C8 20 44 45 46 49 4E |OF A ..... DEFIN|
000001A0: 49 54 49 4F 4E 2E 00 AD 09 14 00 99 22 00 B4 09 |ITION......."...|
000001B0: 15 00 99 22 00 DF 09 16 00 99 22 20 20 42 29 20 |..."......" B) |
000001C0: C8 4F 57 20 C6 CF D2 D4 C8 20 45 58 45 43 55 54 |.OW ..... EXECUT|
000001D0: 45 53 20 44 45 46 49 4E 49 54 49 4F 4E 53 2E 00 |ES DEFINITIONS..|
000001E0: E6 09 17 00 99 22 00 ED 09 18 00 99 22 00 15 0A |....."......"...|
000001F0: 19 00 99 22 20 20 43 29 20 C4 49 53 4B 20 C9 2F |..." C) .ISK ./|
00000200: CF 20 20 41 4E 44 20 42 4C 4F 43 4B 20 42 55 46 |. AND BLOCK BUF|
00000210: 46 45 52 53 2E 00 1C 0A 1A 00 99 22 00 23 0A 1B |FERS.......".#..|
00000220: 00 99 22 00 44 0A 1C 00 99 22 20 20 44 29 20 C3 |..".D...." D) .|
00000230: 48 41 52 41 43 54 45 52 20 53 54 52 49 4E 47 20 |HARACTER STRING |
00000240: C9 2F CF 2E 00 4B 0A 1D 00 99 22 00 52 0A 1E 00 |./...K....".R...|
00000250: 99 22 00 65 0A 1F 00 99 22 20 20 45 29 20 C1 52 |.".e...." E) .R|
00000260: 52 41 59 53 2E 00 6C 0A 20 00 99 22 00 97 0A 21 |RAYS..l. .."...!|
00000270: 00 99 22 20 D3 49 4E 43 45 20 54 48 45 53 45 20 |.." .INCE THESE |
00000280: 41 52 45 20 41 44 56 41 4E 43 45 44 20 54 4F 50 |ARE ADVANCED TOP|
00000290: 49 43 53 2C 20 49 54 00 9E 0A 22 00 99 22 00 CA |ICS, IT...".."..|
000002A0: 0A 23 00 99 22 20 20 20 20 20 20 12 53 50 41 43 |.#.." .SPAC|
000002B0: 45 20 4E 58 54 20 50 47 20 20 20 20 5F 20 C7 CF |E NXT PG _ ..|
000002C0: CC C4 A0 C4 C9 D3 CB 92 22 3B 00 DC 0A 24 00 A1 |........";...$..|
000002D0: 41 24 3A 8B 41 24 B2 22 22 A7 33 36 00 F3 0A 25 |A$:.A$."".36...%|
000002E0: 00 8B 41 24 B2 22 20 22 A7 50 47 B2 50 47 AA 31 |..A$." ".PG.PG.1|
000002F0: 3A 89 39 00 03 0B 26 00 8B 41 24 B2 22 5F 22 A7 |:.9...&..A$."_".|
00000300: 34 32 33 00 0B 0B 27 00 89 33 36 00 14 0B 28 00 |423...'..36...(.|
00000310: 8D 34 32 30 00 42 0B 29 00 99 22 20 57 4F 55 4C |.420.B.).." WOUL|
00000320: 44 20 42 45 20 41 20 47 4F 4F 44 20 49 44 45 41 |D BE A GOOD IDEA|
00000330: 20 46 4F 52 20 59 4F 55 20 54 4F 20 52 45 56 49 | FOR YOU TO REVI|
00000340: 45 57 00 6F 0B 2A 00 99 22 20 54 48 45 20 50 52 |EW.o.*.." THE PR|
00000350: 45 56 49 4F 55 53 20 54 55 54 4F 52 49 41 4C 53 |EVIOUS TUTORIALS|
00000360: 2E 20 C1 4C 53 4F 2C 20 53 49 4E 43 45 20 41 00 |. .LSO, SINCE A.|
00000370: 9C 0B 2B 00 99 22 20 43 4F 4D 50 4C 45 54 45 20 |..+.." COMPLETE |
00000380: 54 52 45 41 54 4D 45 4E 54 20 4F 46 20 C6 CF D2 |TREATMENT OF ...|
00000390: D4 C8 20 49 53 20 42 45 59 4F 4E 44 00 C9 0B 2C |.. IS BEYOND...,|
000003A0: 00 99 22 20 54 48 45 20 53 43 4F 50 45 20 4F 46 |.." THE SCOPE OF|
000003B0: 20 54 48 45 53 45 20 54 55 54 4F 52 49 41 4C 53 | THESE TUTORIALS|
000003C0: 20 57 45 20 52 45 43 43 2D 00 F6 0B 2D 00 99 22 | WE RECC-...-.."|
000003D0: 20 4F 4D 45 4E 44 20 54 48 45 20 42 4F 4F 4B 2C | OMEND THE BOOK,|
000003E0: 20 D3 D4 C1 D2 D4 C9 CE C7 20 C6 CF D2 D4 C8 20 | ........ ..... |
000003F0: 42 59 20 CC 45 4F 00 1C 0C 2E 00 99 22 20 C2 52 |BY .EO......" .R|
00000400: 4F 44 49 45 2E 20 20 20 20 20 20 20 20 20 A3 A3 |ODIE. ..|
00000410: A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 00 23 0C 2F |.............#./|
00000420: 00 99 22 00 2A 0C 30 00 99 22 00 46 0C 31 00 99 |..".*.0..".F.1..|
00000430: 22 20 D4 C8 C5 A0 C6 CF D2 D4 C8 A0 C4 C9 C3 D4 |" ..............|
00000440: C9 CF CE C1 D2 D9 00 62 0C 32 00 99 22 20 A3 A3 |.......b.2.." ..|
00000450: A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 |................|
00000460: A3 A3 00 8F 0C 33 00 99 22 20 20 20 C1 4C 4C 20 |.....3.." .LL |
00000470: 56 41 52 49 41 42 4C 45 53 2C 20 43 4F 4E 53 54 |VARIABLES, CONST|
00000480: 41 4E 54 53 2C 20 41 4E 44 20 57 4F 52 44 53 00 |ANTS, AND WORDS.|
00000490: BB 0C 34 00 99 22 20 44 45 46 49 4E 45 44 20 55 |..4.." DEFINED U|
000004A0: 53 49 4E 47 20 54 48 45 20 43 4F 4C 4F 4E 20 41 |SING THE COLON A|
000004B0: 52 45 20 47 49 56 45 4E 20 41 4E 00 E9 0C 35 00 |RE GIVEN AN...5.|
000004C0: 99 22 20 45 4E 54 52 59 20 49 4E 20 54 48 45 20 |." ENTRY IN THE |
000004D0: C6 CF D2 D4 C8 20 44 49 43 54 49 4F 4E 41 52 59 |..... DICTIONARY|
000004E0: 2E 20 C5 41 43 48 20 4F 46 00 16 0D 36 00 99 22 |. .ACH OF...6.."|
000004F0: 20 54 48 45 53 45 20 45 4E 54 52 49 45 53 20 48 | THESE ENTRIES H|
00000500: 41 53 20 54 48 45 20 46 4F 4C 4C 4F 57 49 4E 47 |AS THE FOLLOWING|
00000510: 20 46 4F 52 4D 2C 00 1D 0D 37 00 99 22 00 3C 0D | FORM,...7..".<.|
00000520: 38 00 99 22 20 20 20 20 20 20 20 20 20 20 20 20 |8.." |
00000530: 12 CE C1 CD C5 20 C6 C9 C5 CC C4 22 00 5B 0D 39 |..... .....".[.9|
00000540: 00 99 22 20 20 20 20 20 20 20 20 20 20 20 20 12 |.." .|
00000550: CC C9 CE CB 20 C6 C9 C5 CC C4 22 00 7E 0D 3A 00 |.... .....".~.:.|
00000560: 99 22 20 20 20 20 20 20 20 20 12 C3 CF C4 C5 20 |." ..... |
00000570: D0 CF C9 CE D4 C5 D2 20 C6 C9 C5 CC C4 22 00 A0 |....... ....."..|
00000580: 0D 3B 00 99 22 20 20 20 20 20 20 20 20 20 20 12 |.;.." .|
00000590: D0 C1 D2 C1 CD C5 D4 C5 D2 A0 C6 C9 C5 CC C4 22 |..............."|
000005A0: 00 A7 0D 3C 00 99 22 00 AE 0D 3D 00 99 22 00 B7 |...<.."...=.."..|
000005B0: 0D 3E 00 89 34 31 33 00 C0 0D 3F 00 8D 34 32 30 |.>..413...?..420|
000005C0: 00 D2 0D 40 00 99 22 20 CE C1 CD C5 20 C6 C9 C5 |...@.." .... ...|
000005D0: CC C4 00 E4 0D 41 00 99 22 20 A3 A3 A3 A3 A3 A3 |.....A.." ......|
000005E0: A3 A3 A3 A3 00 11 0E 42 00 99 22 20 D4 48 49 53 |.......B.." .HIS|
000005F0: 20 46 49 45 4C 44 20 47 49 56 45 53 20 54 48 45 | FIELD GIVES THE|
00000600: 20 4E 41 4D 45 20 4F 46 20 54 48 45 20 56 41 52 | NAME OF THE VAR|
00000610: 2D 00 3F 0E 43 00 99 22 20 49 41 42 4C 45 2C 20 |-.?.C.." IABLE, |
00000620: 43 4F 4E 53 54 41 4E 54 2C 20 45 54 43 2E 20 CF |CONSTANT, ETC. .|
00000630: 4E 45 20 42 59 54 45 20 49 53 20 55 53 45 44 00 |NE BYTE IS USED.|
00000640: 6C 0E 44 00 99 22 20 54 4F 20 53 54 4F 52 45 20 |l.D.." TO STORE |
00000650: 54 48 45 20 4C 45 4E 47 54 48 20 4F 46 20 54 48 |THE LENGTH OF TH|
00000660: 45 20 4E 41 4D 45 20 57 48 49 4C 45 00 98 0E 45 |E NAME WHILE...E|
00000670: 00 99 22 20 41 53 20 20 4D 41 4E 59 20 42 59 54 |.." AS MANY BYT|
00000680: 45 53 20 41 53 20 4E 45 45 44 45 44 20 41 52 45 |ES AS NEEDED ARE|
00000690: 20 55 53 45 44 20 54 4F 00 C5 0E 46 00 99 22 20 | USED TO...F.." |
000006A0: 53 54 4F 52 45 20 49 54 27 53 20 C1 D3 C3 C9 C9 |STORE IT'S .....|
000006B0: 20 52 45 50 52 45 53 45 4E 54 41 54 49 4F 4E 2E | REPRESENTATION.|
000006C0: 20 20 D4 48 45 00 F3 0E 47 00 99 22 20 4E 41 4D | .HE...G.." NAM|
000006D0: 45 20 46 49 45 4C 44 20 49 53 20 4F 46 20 43 4F |E FIELD IS OF CO|
000006E0: 55 52 53 45 20 48 4F 57 20 C6 CF D2 D4 C8 20 44 |URSE HOW ..... D|
000006F0: 49 46 2D 00 1B 0F 48 00 99 22 20 46 45 52 45 4E |IF-...H.." FEREN|
00000700: 54 49 41 54 45 53 20 42 45 54 57 45 45 4E 20 44 |TIATES BETWEEN D|
00000710: 45 46 49 4E 49 54 49 4F 4E 53 2E 00 22 0F 49 00 |EFINITIONS..".I.|
00000720: 99 22 00 34 0F 4A 00 99 22 20 CC C9 CE CB A0 C6 |.".4.J.." ......|
00000730: C9 C5 CC C4 00 46 0F 4B 00 99 22 20 A3 A3 A3 A3 |.....F.K.." ....|
00000740: A3 A3 A3 A3 A3 A3 00 74 0F 4C 00 99 22 20 D4 48 |.......t.L.." .H|
00000750: 49 53 20 54 57 4F 20 42 59 54 45 20 4C 49 4E 4B |IS TWO BYTE LINK|
00000760: 20 49 53 20 54 48 45 20 4D 45 4D 4F 52 59 20 41 | IS THE MEMORY A|
00000770: 44 44 52 2D 00 A2 0F 4D 00 99 22 20 45 53 53 20 |DDR-...M.." ESS |
00000780: 4F 46 20 54 48 45 20 CE C1 CD C5 20 C6 C9 C5 CC |OF THE .... ....|
00000790: C4 20 46 4F 52 20 54 48 45 20 50 52 45 56 49 4F |. FOR THE PREVIO|
000007A0: 55 53 00 D0 0F 4E 00 99 22 20 45 4E 54 52 59 20 |US...N.." ENTRY |
000007B0: 49 4E 20 54 48 45 20 44 49 43 54 49 4F 4E 41 52 |IN THE DICTIONAR|
000007C0: 59 2E 20 C2 45 43 41 55 53 45 20 41 20 44 45 2D |Y. .ECAUSE A DE-|
000007D0: 00 FD 0F 4F 00 99 22 20 46 49 4E 49 54 49 4F 4E |...O.." FINITION|
000007E0: 20 43 41 4E 20 42 45 20 41 4E 59 20 4C 45 4E 47 | CAN BE ANY LENG|
000007F0: 54 48 2C 20 54 48 49 53 20 4C 49 4E 4B 00 2B 10 |TH, THIS LINK.+.|
00000800: 50 00 99 22 20 49 53 20 4E 45 45 44 45 44 20 54 |P.." IS NEEDED T|
00000810: 4F 20 53 50 45 45 44 20 55 50 20 44 49 43 54 49 |O SPEED UP DICTI|
00000820: 4F 4E 41 52 59 20 53 45 41 52 2D 00 58 10 51 00 |ONARY SEAR-.X.Q.|
00000830: 99 22 20 43 48 45 53 2E 20 D4 48 45 20 56 45 52 |." CHES. .HE VER|
00000840: 59 20 46 49 52 53 54 20 44 49 43 54 49 4F 4E 41 |Y FIRST DICTIONA|
00000850: 52 59 20 45 4E 54 52 59 00 85 10 52 00 99 22 20 |RY ENTRY...R.." |
00000860: 57 49 4C 4C 20 48 41 56 45 20 49 54 27 53 20 4C |WILL HAVE IT'S L|
00000870: 49 4E 4B 20 53 45 54 20 54 4F 20 5A 45 52 4F 2E |INK SET TO ZERO.|
00000880: 20 D4 48 49 53 00 AD 10 53 00 99 22 20 4D 41 52 | .HIS...S.." MAR|
00000890: 4B 53 20 54 48 45 20 45 4E 44 20 4F 46 20 54 48 |KS THE END OF TH|
000008A0: 45 20 44 49 43 54 49 4F 4E 41 52 59 2E 00 B4 10 |E DICTIONARY....|
000008B0: 54 00 99 22 00 BD 10 55 00 89 34 31 33 00 C6 10 |T.."...U..413...|
000008C0: 56 00 8D 34 32 30 00 E0 10 57 00 99 22 20 C3 CF |V..420...W.." ..|
000008D0: C4 C5 20 D0 CF C9 CE D4 C5 D2 A0 C6 C9 C5 CC C4 |.. .............|
000008E0: 00 FA 10 58 00 99 22 20 A3 A3 A3 A3 A3 A3 A3 A3 |...X.." ........|
000008F0: A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 00 26 11 59 00 99 |...........&.Y..|
00000900: 22 20 D4 48 49 53 20 46 49 45 4C 44 20 43 4F 4E |" .HIS FIELD CON|
00000910: 54 41 49 4E 53 20 41 20 50 4F 49 4E 54 45 52 20 |TAINS A POINTER |
00000920: 54 4F 20 54 48 45 00 54 11 5A 00 99 22 20 43 4F |TO THE.T.Z.." CO|
00000930: 44 45 20 54 48 41 54 20 47 45 54 53 20 45 58 45 |DE THAT GETS EXE|
00000940: 43 55 54 45 44 20 46 49 52 53 54 20 57 48 45 4E |CUTED FIRST WHEN|
00000950: 45 56 45 52 00 81 11 5B 00 99 22 20 41 20 57 4F |EVER...[.." A WO|
00000960: 52 44 20 49 4E 20 54 48 45 20 44 49 43 54 49 4F |RD IN THE DICTIO|
00000970: 4E 41 52 59 20 49 53 20 45 58 45 43 55 54 45 44 |NARY IS EXECUTED|
00000980: 2E 00 AF 11 5C 00 99 22 20 D3 49 4E 43 45 20 41 |....\.." .INCE A|
00000990: 20 57 4F 52 44 20 43 41 4E 20 42 45 20 41 20 43 | WORD CAN BE A C|
000009A0: 4F 4E 53 54 41 4E 54 2C 20 56 41 52 49 41 2D 00 |ONSTANT, VARIA-.|
000009B0: DA 11 5D 00 99 22 20 42 4C 45 20 20 4F 52 20 43 |..].." BLE OR C|
000009C0: 4F 4C 4F 4E 20 44 45 46 49 4E 49 54 49 4F 4E 2C |OLON DEFINITION,|
000009D0: 20 45 41 43 48 20 54 59 50 45 00 05 12 5E 00 99 | EACH TYPE...^..|
000009E0: 22 20 4D 55 53 54 20 48 41 56 45 20 49 54 27 53 |" MUST HAVE IT'S|
000009F0: 20 4F 57 4E 20 50 41 52 54 49 43 55 4C 41 52 20 | OWN PARTICULAR |
00000A00: 43 4F 44 45 2E 00 31 12 5F 00 99 22 20 C6 4F 52 |CODE..1._.." .OR|
00000A10: 20 45 58 41 4D 50 4C 45 2C 20 54 48 45 20 43 4F | EXAMPLE, THE CO|
00000A20: 44 45 20 46 4F 52 20 41 20 43 4F 4E 53 54 41 4E |DE FOR A CONSTAN|
00000A30: 54 00 5D 12 60 00 99 22 20 57 49 4C 4C 20 50 4C |T.].`.." WILL PL|
00000A40: 41 43 45 20 54 48 45 20 56 41 4C 55 45 20 4F 46 |ACE THE VALUE OF|
00000A50: 20 54 48 45 20 43 4F 4E 53 54 41 4E 54 00 86 12 | THE CONSTANT...|
00000A60: 61 00 99 22 20 4F 4E 20 54 48 45 20 53 54 41 43 |a.." ON THE STAC|
00000A70: 4B 2E 20 C8 45 52 45 20 49 53 20 41 20 53 55 4D |K. .ERE IS A SUM|
00000A80: 4D 41 52 59 20 2D 00 8D 12 62 00 99 22 00 B2 12 |MARY -...b.."...|
00000A90: 63 00 99 22 20 20 20 20 20 D4 D9 D0 C5 20 20 20 |c.." .... |
00000AA0: 20 20 20 20 20 20 20 C3 CF C4 C5 A0 C1 C3 D4 C9 | .........|
00000AB0: CF CE 00 D7 12 64 00 99 22 20 20 20 20 20 A3 A3 |.....d.." ..|
00000AC0: A3 A3 20 20 20 20 20 20 20 20 20 20 A3 A3 A3 A3 |.. ....|
00000AD0: A3 A3 A3 A3 A3 A3 A3 00 02 13 65 00 99 22 20 41 |..........e.." A|
00000AE0: 29 20 43 4F 4E 53 54 41 4E 54 20 2D 20 50 55 54 |) CONSTANT - PUT|
00000AF0: 53 20 54 48 45 20 56 41 4C 55 45 20 4F 4E 20 54 |S THE VALUE ON T|
00000B00: 48 45 00 1E 13 66 00 99 22 20 20 20 20 20 20 20 |HE...f.." |
00000B10: 20 20 20 20 20 20 20 20 53 54 41 43 4B 2E 00 4B | STACK..K|
00000B20: 13 67 00 99 22 20 42 29 20 56 41 52 49 41 42 4C |.g.." B) VARIABL|
00000B30: 45 20 2D 20 50 55 54 53 20 54 48 45 20 41 44 44 |E - PUTS THE ADD|
00000B40: 52 45 53 53 20 4F 46 20 54 48 45 00 77 13 68 00 |RESS OF THE.w.h.|
00000B50: 99 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |." |
00000B60: 20 56 41 52 49 41 42 4C 45 20 4F 4E 20 54 48 45 | VARIABLE ON THE|
00000B70: 20 53 54 41 43 4B 2E 00 A1 13 69 00 99 22 20 43 | STACK....i.." C|
00000B80: 29 20 43 4F 4C 4F 4E 20 20 20 20 2D 20 45 58 45 |) COLON - EXE|
00000B90: 43 55 54 45 53 20 52 45 53 54 20 4F 46 20 54 48 |CUTES REST OF TH|
00000BA0: 45 00 CF 13 6A 00 99 22 20 20 20 20 44 45 46 49 |E...j.." DEFI|
00000BB0: 4E 2E 20 20 20 20 20 57 4F 52 44 53 20 49 4E 20 |N. WORDS IN |
00000BC0: 54 48 45 20 44 45 46 49 4E 49 54 49 4F 4E 2E 00 |THE DEFINITION..|
00000BD0: D6 13 6B 00 99 22 00 DF 13 6C 00 89 34 31 33 00 |..k.."...l..413.|
00000BE0: E8 13 6D 00 8D 34 32 30 00 FF 13 6E 00 99 22 20 |..m..420...n.." |
00000BF0: D0 C1 D2 C1 CD C5 D4 C5 D2 20 C6 C9 C5 CC C4 00 |......... ......|
00000C00: 16 14 6F 00 99 22 20 A3 A3 A3 A3 A3 A3 A3 A3 A3 |..o.." .........|
00000C10: A3 A3 A3 A3 A3 A3 00 44 14 70 00 99 22 20 D4 48 |.......D.p.." .H|
00000C20: 49 53 20 49 53 20 54 48 45 20 4C 41 53 54 20 46 |IS IS THE LAST F|
00000C30: 49 45 4C 44 20 49 4E 20 41 20 44 49 43 54 49 4F |IELD IN A DICTIO|
00000C40: 4E 41 52 59 00 6F 14 71 00 99 22 20 45 4E 54 52 |NARY.o.q.." ENTR|
00000C50: 59 2E 20 C9 4E 20 54 48 45 20 43 41 53 45 20 4F |Y. .N THE CASE O|
00000C60: 46 20 41 20 56 41 52 49 41 42 4C 45 20 4F 52 00 |F A VARIABLE OR.|
00000C70: 9C 14 72 00 99 22 20 43 4F 4E 53 54 41 4E 54 20 |..r.." CONSTANT |
00000C80: 44 45 46 49 4E 49 54 49 4F 4E 2C 20 20 54 48 49 |DEFINITION, THI|
00000C90: 53 20 46 49 45 4C 44 20 57 49 4C 4C 00 C8 14 73 |S FIELD WILL...s|
00000CA0: 00 99 22 20 42 45 20 54 57 4F 20 42 59 54 45 53 |.." BE TWO BYTES|
00000CB0: 20 4C 4F 4E 47 20 41 4E 44 20 57 49 4C 4C 20 20 | LONG AND WILL |
00000CC0: 48 4F 4C 44 20 54 48 45 00 F2 14 74 00 99 22 20 |HOLD THE...t.." |
00000CD0: 56 41 4C 55 45 20 4F 46 20 54 48 45 20 43 4F 4E |VALUE OF THE CON|
00000CE0: 53 54 41 4E 54 20 4F 52 20 56 41 52 49 41 42 4C |STANT OR VARIABL|
00000CF0: 45 2E 00 1E 15 75 00 99 22 20 D4 48 49 4E 47 53 |E....u.." .HINGS|
00000D00: 20 41 52 45 20 41 20 4C 49 54 54 4C 45 20 4D 4F | ARE A LITTLE MO|
00000D10: 52 45 20 43 4F 4D 50 4C 49 43 41 54 45 44 00 4B |RE COMPLICATED.K|
00000D20: 15 76 00 99 22 20 46 4F 52 20 41 20 43 4F 4C 4F |.v.." FOR A COLO|
00000D30: 4E 20 44 45 46 49 4E 49 54 49 4F 4E 2E 20 C9 4E |N DEFINITION. .N|
00000D40: 20 54 48 49 53 20 43 41 53 45 2C 00 79 15 77 00 | THIS CASE,.y.w.|
00000D50: 99 22 20 54 48 45 20 4C 45 4E 47 54 48 20 4F 46 |." THE LENGTH OF|
00000D60: 20 54 48 45 20 50 41 52 41 4D 45 54 45 52 20 46 | THE PARAMETER F|
00000D70: 49 45 4C 44 20 57 49 4C 4C 00 A6 15 78 00 99 22 |IELD WILL...x.."|
00000D80: 20 44 45 50 45 4E 44 20 4F 4E 20 54 48 45 20 4E | DEPEND ON THE N|
00000D90: 55 4D 42 45 52 20 4F 46 20 57 4F 52 44 53 20 55 |UMBER OF WORDS U|
00000DA0: 53 45 44 20 49 4E 00 D4 15 79 00 99 22 20 54 48 |SED IN...y.." TH|
00000DB0: 45 20 44 45 46 49 4E 49 54 49 4F 4E 2E 20 CC 45 |E DEFINITION. .E|
00000DC0: 54 27 53 20 4C 4F 4F 4B 20 41 54 20 41 4E 20 45 |T'S LOOK AT AN E|
00000DD0: 58 41 4D 2D 00 FA 15 7A 00 99 22 20 50 4C 45 2E |XAM-...z.." PLE.|
00000DE0: 20 D3 55 50 50 4F 53 45 20 57 45 20 54 59 50 45 | .UPPOSE WE TYPE|
00000DF0: 20 49 4E 20 54 48 49 53 20 2D 00 01 16 7B 00 99 | IN THIS -...{..|
00000E00: 22 00 08 16 7C 00 99 22 00 33 16 7D 00 99 22 20 |"...|..".3.}.." |
00000E10: 3A 20 44 4F 55 42 4C 45 20 20 20 44 55 50 20 20 |: DOUBLE DUP |
00000E20: 2B 20 20 20 20 20 20 20 20 20 3B 20 12 52 45 54 |+ ; .RET|
00000E30: 55 52 4E 00 5E 16 7E 00 99 22 20 3A 20 54 52 49 |URN.^.~.." : TRI|
00000E40: 50 4C 45 20 20 20 44 55 50 20 20 44 4F 55 42 4C |PLE DUP DOUBL|
00000E50: 45 20 20 2B 20 3B 20 12 52 45 54 55 52 4E 00 65 |E + ; .RETURN.e|
00000E60: 16 7F 00 99 22 00 8D 16 80 00 99 22 20 D4 48 45 |...."......" .HE|
00000E70: 20 44 49 43 54 49 4F 4E 41 52 59 20 45 4E 54 52 | DICTIONARY ENTR|
00000E80: 59 20 46 4F 52 20 20 54 52 49 50 4C 45 00 AA 16 |Y FOR TRIPLE...|
00000E90: 81 00 99 22 20 57 4F 55 4C 44 20 4C 4F 4F 4B 20 |..." WOULD LOOK |
00000EA0: 4C 49 4B 45 20 54 48 49 53 2C 00 B1 16 82 00 99 |LIKE THIS,......|
00000EB0: 22 00 BA 16 83 00 89 34 31 33 00 C3 16 84 00 8D |"......413......|
00000EC0: 34 32 30 00 DF 16 85 00 99 22 20 20 CE 20 20 C6 |420......" . .|
00000ED0: 20 A5 20 20 20 20 20 20 20 36 20 20 27 54 27 00 | . 6 'T'.|
00000EE0: FB 16 86 00 99 22 20 20 C1 20 20 C9 20 A5 20 20 |....." . . . |
00000EF0: 20 20 20 20 27 52 27 20 27 49 27 00 17 17 87 00 | 'R' 'I'.....|
00000F00: 99 22 20 20 CD 20 20 C5 20 A5 20 20 20 20 20 20 |." . . . |
00000F10: 27 50 27 20 27 4C 27 00 2F 17 88 00 99 22 20 20 |'P' 'L'./...." |
00000F20: C5 20 20 CC 20 A5 20 20 20 20 20 20 27 45 27 00 |. . . 'E'.|
00000F30: 3E 17 89 00 99 22 20 20 20 20 20 C4 20 A5 00 5C |>...." . ..\|
00000F40: 17 8A 00 99 22 20 20 20 20 20 20 20 20 20 20 20 |...." |
00000F50: 20 20 CC C9 CE CB A0 C6 C9 C5 CC C4 00 7A 17 8B | ...........z..|
00000F60: 00 99 22 20 20 20 20 20 20 20 20 20 20 20 20 20 |.." |
00000F70: C3 CF C4 C5 A0 C6 C9 C5 CC C4 00 81 17 8C 00 99 |................|
00000F80: 22 00 A2 17 8D 00 99 22 20 20 D0 20 20 C6 20 A5 |"......" . . .|
00000F90: 20 20 20 20 41 44 44 52 45 53 53 20 4F 46 20 44 | ADDRESS OF D|
00000FA0: 55 50 00 B1 17 8E 00 99 22 20 20 C1 20 20 C9 20 |UP......" . . |
00000FB0: A5 00 D5 17 8F 00 99 22 20 20 D2 20 20 C5 20 A5 |......." . . .|
00000FC0: 20 20 20 20 41 44 44 52 45 53 53 20 4F 46 20 44 | ADDRESS OF D|
00000FD0: 4F 55 42 4C 45 00 E4 17 90 00 99 22 20 20 C1 20 |OUBLE......" . |
00000FE0: 20 CC 20 A5 00 04 18 91 00 99 22 20 20 CD 20 20 | . ......." . |
00000FF0: C4 20 A5 20 20 20 20 41 44 44 52 45 53 53 20 4F |. . ADDRESS O|
00001000: 46 20 20 2B 00 13 18 92 00 99 22 20 20 20 20 20 |F +......" |
00001010: 20 20 A5 00 36 18 93 00 99 22 20 20 20 20 20 20 | ..6...." |
00001020: 20 A5 20 20 20 20 41 44 44 52 45 53 53 20 4F 46 | . ADDRESS OF|
00001030: 20 20 45 58 49 54 00 3D 18 94 00 99 22 00 6A 18 | EXIT.=....".j.|
00001040: 95 00 99 22 20 D4 48 45 20 4C 49 4E 4B 20 46 49 |..." .HE LINK FI|
00001050: 45 4C 44 20 50 4F 49 4E 54 53 20 54 4F 20 57 48 |ELD POINTS TO WH|
00001060: 41 54 20 57 41 53 20 54 48 45 00 97 18 96 00 99 |AT WAS THE......|
00001070: 22 20 54 48 45 20 4C 41 53 54 20 45 4E 54 52 59 |" THE LAST ENTRY|
00001080: 20 28 49 2E 45 2E 20 54 4F 20 20 44 4F 55 42 4C | (I.E. TO DOUBL|
00001090: 45 20 29 2E 20 CF 46 00 C5 18 97 00 99 22 20 43 |E ). .F......" C|
000010A0: 4F 55 52 53 45 2C 20 46 4F 52 20 C6 CF D2 D4 C8 |OURSE, FOR .....|
000010B0: 20 54 4F 20 50 55 54 20 54 48 45 20 41 44 44 52 | TO PUT THE ADDR|
000010C0: 45 53 53 45 53 00 F3 18 98 00 99 22 20 4F 46 20 |ESSES......" OF |
000010D0: 44 55 50 2C 20 2B 2C 20 45 54 43 2E 20 49 4E 20 |DUP, +, ETC. IN |
000010E0: 54 48 45 20 50 41 52 41 4D 45 54 45 52 20 46 49 |THE PARAMETER FI|
000010F0: 45 4C 44 00 21 19 99 00 99 22 20 49 54 20 48 41 |ELD.!...." IT HA|
00001100: 44 20 54 4F 20 53 45 41 52 43 48 20 46 4F 52 20 |D TO SEARCH FOR |
00001110: 54 48 45 4D 20 49 4E 20 54 48 45 20 44 49 43 54 |THEM IN THE DICT|
00001120: 2D 00 2A 19 9A 00 89 34 31 33 00 33 19 9B 00 8D |-.*....413.3....|
00001130: 34 32 30 00 5F 19 9C 00 99 22 20 49 4F 4E 41 52 |420._...." IONAR|
00001140: 59 2E 20 20 CE 4F 57 20 54 48 41 54 20 20 54 52 |Y. .OW THAT TR|
00001150: 49 50 4C 45 20 20 20 48 41 53 20 42 45 45 4E 00 |IPLE HAS BEEN.|
00001160: 8A 19 9D 00 99 22 20 44 45 46 49 4E 45 44 20 57 |....." DEFINED W|
00001170: 45 20 43 41 4E 20 45 58 45 43 55 54 45 20 49 54 |E CAN EXECUTE IT|
00001180: 20 42 59 20 54 59 50 49 4E 47 00 B6 19 9E 00 99 | BY TYPING......|
00001190: 22 20 49 54 27 53 20 4E 41 4D 45 20 41 4E 44 20 |" IT'S NAME AND |
000011A0: 48 49 54 54 49 4E 47 20 52 45 54 55 52 4E 2E 20 |HITTING RETURN. |
000011B0: 20 C6 CF D2 D4 C8 00 E2 19 9F 00 99 22 20 53 45 | ..........." SE|
000011C0: 41 52 43 48 45 53 20 54 48 45 20 44 49 43 54 49 |ARCHES THE DICTI|
000011D0: 4F 4E 41 52 59 20 46 4F 52 20 20 20 54 52 49 50 |ONARY FOR TRIP|
000011E0: 4C 45 00 0E 1A A0 00 99 22 20 41 4E 44 20 55 50 |LE......" AND UP|
000011F0: 4F 4E 20 46 49 4E 44 49 4E 47 20 49 54 20 53 54 |ON FINDING IT ST|
00001200: 41 52 54 53 20 45 58 45 43 55 54 49 4E 47 00 3C |ARTS EXECUTING.<|
00001210: 1A A1 00 99 22 20 54 48 45 20 43 4F 44 45 20 50 |...." THE CODE P|
00001220: 4F 49 4E 54 45 44 20 54 4F 20 42 59 20 54 48 45 |OINTED TO BY THE|
00001230: 20 C3 CF C4 C5 A0 C6 C9 C5 CC C4 2E 00 43 1A A2 | ............C..|
00001240: 00 99 22 00 71 1A A3 00 99 22 20 20 20 C9 4D 41 |..".q...." .MA|
00001250: 47 49 4E 45 20 54 48 41 54 20 45 58 45 43 55 54 |GINE THAT EXECUT|
00001260: 49 4F 4E 20 49 53 20 50 52 4F 43 45 45 44 49 4E |ION IS PROCEEDIN|
00001270: 47 00 9E 1A A4 00 99 22 20 41 4E 44 20 54 48 45 |G......" AND THE|
00001280: 20 57 4F 52 44 20 44 4F 55 42 4C 45 20 49 53 20 | WORD DOUBLE IS |
00001290: 41 42 4F 55 54 20 54 4F 20 42 45 47 49 4E 00 CC |ABOUT TO BEGIN..|
000012A0: 1A A5 00 99 22 20 45 58 45 43 55 54 49 4E 47 2E |...." EXECUTING.|
000012B0: 20 D2 45 4D 45 4D 42 45 52 20 54 48 41 54 20 49 | .EMEMBER THAT I|
000012C0: 54 20 48 41 53 20 41 20 53 49 4D 2D 00 F7 1A A6 |T HAS A SIM-....|
000012D0: 00 99 22 20 49 4C 41 52 20 44 49 43 54 49 4F 4E |.." ILAR DICTION|
000012E0: 41 52 59 20 45 4E 54 52 59 20 54 4F 20 54 52 49 |ARY ENTRY TO TRI|
000012F0: 50 4C 45 2E 20 C9 4E 00 23 1B A7 00 99 22 20 50 |PLE. .N.#...." P|
00001300: 41 52 54 49 43 55 4C 41 52 2C 20 49 54 20 48 41 |ARTICULAR, IT HA|
00001310: 53 20 41 4E 20 49 44 45 4E 54 49 43 41 4C 20 C3 |S AN IDENTICAL .|
00001320: CF C4 C5 00 51 1B A8 00 99 22 20 50 4F 49 4E 54 |....Q...." POINT|
00001330: 45 52 20 46 49 45 4C 44 20 28 53 49 4E 43 45 20 |ER FIELD (SINCE |
00001340: 49 54 20 54 4F 4F 20 49 53 20 41 20 43 4F 4C 4F |IT TOO IS A COLO|
00001350: 4E 00 7C 1B A9 00 99 22 20 44 45 46 49 4E 49 54 |N.|...." DEFINIT|
00001360: 49 4F 4E 29 2E 20 D7 48 41 54 20 54 48 49 53 20 |ION). .HAT THIS |
00001370: 43 4F 44 45 20 44 4F 45 53 20 49 53 00 AA 1B AA |CODE DOES IS....|
00001380: 00 99 22 20 54 48 45 20 46 4F 4C 4C 4F 57 49 4E |.." THE FOLLOWIN|
00001390: 47 3A 20 C9 54 20 46 49 52 53 54 20 50 55 54 53 |G: .T FIRST PUTS|
000013A0: 20 54 48 45 20 56 41 4C 55 45 00 D8 1B AB 00 99 | THE VALUE......|
000013B0: 22 20 4F 46 20 54 48 45 20 C9 CE D4 C5 D2 D0 D2 |" OF THE .......|
000013C0: C5 D4 C5 D2 20 50 4F 49 4E 54 45 52 20 4F 4E 20 |.... POINTER ON |
000013D0: 54 48 45 20 52 45 54 2D 00 03 1C AC 00 99 22 20 |THE RET-......" |
000013E0: 55 52 4E 20 53 54 41 43 4B A0 28 54 48 49 53 20 |URN STACK.(THIS |
000013F0: 53 54 41 43 4B 20 49 53 20 53 49 4D 49 4C 41 52 |STACK IS SIMILAR|
00001400: 20 54 4F 00 31 1C AD 00 99 22 20 54 48 45 20 53 | TO.1...." THE S|
00001410: 54 41 43 4B 20 55 53 45 44 20 42 59 20 57 4F 52 |TACK USED BY WOR|
00001420: 44 53 20 4C 49 4B 45 20 44 55 50 2C 20 53 57 41 |DS LIKE DUP, SWA|
00001430: 50 00 5F 1C AE 00 99 22 20 45 54 43 2E 29 2E 20 |P._...." ETC.). |
00001440: D4 48 45 20 C9 CE D4 C5 D2 D0 D2 C5 D4 C5 D2 20 |.HE ........... |
00001450: 50 4F 49 4E 54 45 52 20 49 53 20 55 53 45 44 00 |POINTER IS USED.|
00001460: 8C 1C AF 00 99 22 20 54 4F 20 50 4F 49 4E 54 20 |....." TO POINT |
00001470: 54 4F 20 54 48 45 20 50 41 52 54 20 4F 46 20 54 |TO THE PART OF T|
00001480: 48 45 20 50 41 52 41 4D 45 54 45 52 00 B9 1C B0 |HE PARAMETER....|
00001490: 00 99 22 20 46 49 45 4C 44 20 54 48 41 54 20 57 |.." FIELD THAT W|
000014A0: 49 4C 4C 20 42 45 20 45 58 45 43 55 54 45 44 20 |ILL BE EXECUTED |
000014B0: 4E 45 58 54 2E 20 20 C9 4E 00 C2 1C B1 00 89 34 |NEXT. .N......4|
000014C0: 31 33 00 CB 1C B2 00 8D 34 32 30 00 F8 1C B3 00 |13......420.....|
000014D0: 99 22 20 54 48 49 53 20 43 41 53 45 20 49 54 20 |." THIS CASE IT |
000014E0: 57 41 53 20 50 4F 49 4E 54 49 4E 47 20 54 4F 20 |WAS POINTING TO |
000014F0: 54 48 45 20 4C 4F 43 2D 00 26 1D B4 00 99 22 20 |THE LOC-.&...." |
00001500: 41 54 49 4F 4E 20 43 4F 4E 54 41 49 4E 49 4E 47 |ATION CONTAINING|
00001510: 20 54 48 45 20 41 44 44 52 45 53 53 20 4F 46 20 | THE ADDRESS OF |
00001520: 2B 2E 20 D4 48 45 00 54 1D B5 00 99 22 20 4E 45 |+. .HE.T...." NE|
00001530: 58 54 20 54 48 49 4E 47 20 54 48 41 54 20 48 41 |XT THING THAT HA|
00001540: 50 50 45 4E 53 20 49 53 20 54 48 45 20 41 44 44 |PPENS IS THE ADD|
00001550: 52 45 53 53 00 81 1D B6 00 99 22 20 4F 46 20 54 |RESS......" OF T|
00001560: 48 45 20 50 41 52 41 4D 45 54 45 52 20 46 49 45 |HE PARAMETER FIE|
00001570: 4C 44 20 4F 46 20 20 44 4F 55 42 4C 45 20 20 49 |LD OF DOUBLE I|
00001580: 53 00 AF 1D B7 00 99 22 20 53 54 4F 52 45 44 20 |S......" STORED |
00001590: 49 4E 20 54 48 45 20 49 4E 54 45 52 50 52 45 54 |IN THE INTERPRET|
000015A0: 45 52 20 50 4F 49 4E 54 45 52 2E 20 CE 4F 57 00 |ER POINTER. .OW.|
000015B0: DD 1D B8 00 99 22 20 45 41 43 48 20 4F 46 20 54 |....." EACH OF T|
000015C0: 48 45 20 57 4F 52 44 53 20 49 4E 20 20 44 4F 55 |HE WORDS IN DOU|
000015D0: 42 4C 45 20 20 49 53 20 45 58 45 43 2D 00 0A 1E |BLE IS EXEC-...|
000015E0: B9 00 99 22 20 55 54 45 44 20 49 4E 20 54 55 52 |..." UTED IN TUR|
000015F0: 4E 20 55 4E 54 49 4C 20 20 45 58 49 54 20 20 49 |N UNTIL EXIT I|
00001600: 53 20 52 45 41 43 48 45 44 2E 00 38 1E BA 00 99 |S REACHED..8....|
00001610: 22 20 C5 58 49 54 20 20 49 53 20 41 20 50 52 45 |" .XIT IS A PRE|
00001620: 44 45 46 49 4E 45 44 20 57 4F 52 44 20 57 48 49 |DEFINED WORD WHI|
00001630: 43 48 20 54 41 4B 45 53 00 66 1E BB 00 99 22 20 |CH TAKES.f...." |
00001640: 54 48 45 20 41 44 44 52 45 53 53 20 4F 4E 20 54 |THE ADDRESS ON T|
00001650: 4F 50 20 4F 46 20 54 48 45 20 52 45 54 55 52 4E |OP OF THE RETURN|
00001660: 20 53 54 41 43 4B 00 8F 1E BC 00 99 22 20 41 20 | STACK......" A |
00001670: 50 55 54 53 20 49 54 20 42 41 43 4B 20 49 4E 20 |PUTS IT BACK IN |
00001680: 54 48 45 20 49 4E 54 45 52 50 52 45 54 45 52 00 |THE INTERPRETER.|
00001690: BD 1E BD 00 99 22 20 50 4F 49 4E 54 45 52 2E 20 |....." POINTER. |
000016A0: D7 45 20 41 52 45 20 4E 4F 57 20 42 41 43 4B 20 |.E ARE NOW BACK |
000016B0: 45 58 45 43 55 54 49 4E 47 20 54 48 45 00 E7 1E |EXECUTING THE...|
000016C0: BE 00 99 22 20 57 4F 52 44 53 20 49 4E 20 20 54 |..." WORDS IN T|
000016D0: 52 49 50 4C 45 2E 20 20 D4 48 45 20 49 4E 54 45 |RIPLE. .HE INTE|
000016E0: 52 50 52 45 54 45 52 00 14 1F BF 00 99 22 20 50 |RPRETER......" P|
000016F0: 4F 49 4E 54 45 52 20 57 49 4C 4C 20 42 45 20 53 |OINTER WILL BE S|
00001700: 45 54 20 54 4F 20 50 4F 49 4E 54 20 54 4F 20 20 |ET TO POINT TO |
00001710: 45 58 49 54 00 41 1F C0 00 99 22 20 41 4E 44 20 |EXIT.A...." AND |
00001720: 20 2B 20 20 57 49 4C 4C 20 42 45 47 49 4E 20 45 | + WILL BEGIN E|
00001730: 58 45 43 55 54 49 4E 47 2E 20 D7 48 45 4E 20 57 |XECUTING. .HEN W|
00001740: 45 00 6E 1F C1 00 99 22 20 45 58 49 54 20 46 52 |E.n...." EXIT FR|
00001750: 4F 4D 20 20 54 52 49 50 4C 45 20 20 57 45 20 47 |OM TRIPLE WE G|
00001760: 4F 20 42 41 43 4B 20 54 4F 20 57 48 41 54 00 99 |O BACK TO WHAT..|
00001770: 1F C2 00 99 22 20 49 53 20 43 41 4C 4C 45 44 20 |...." IS CALLED |
00001780: 54 48 45 20 C9 CE D4 C5 D2 D0 D2 C5 D4 C5 D2 2C |THE ...........,|
00001790: 20 57 48 49 43 48 20 49 53 00 C7 1F C3 00 99 22 | WHICH IS......"|
000017A0: 20 54 48 45 20 50 41 52 54 20 4F 46 20 C6 CF D2 | THE PART OF ...|
000017B0: D4 C8 20 54 48 41 54 20 41 43 54 53 20 4F 4E 20 |.. THAT ACTS ON |
000017C0: 57 48 41 54 20 57 45 00 E7 1F C4 00 99 22 20 54 |WHAT WE......" T|
000017D0: 59 50 45 20 49 4E 20 41 54 20 54 48 45 20 4B 45 |YPE IN AT THE KE|
000017E0: 59 42 4F 41 52 44 2E 00 EE 1F C5 00 99 22 00 19 |YBOARD......."..|
000017F0: 20 C6 00 99 22 20 C1 46 54 45 52 20 54 48 49 53 | ..." .FTER THIS|
00001800: 20 4C 45 4E 47 54 48 59 20 42 49 54 20 4F 46 20 | LENGTHY BIT OF |
00001810: 54 48 45 4F 52 59 20 57 45 00 43 20 C7 00 99 22 |THEORY WE.C ..."|
00001820: 20 4D 4F 56 45 20 4F 4E 20 54 4F 20 4D 4F 52 45 | MOVE ON TO MORE|
00001830: 20 50 52 41 43 54 49 43 41 4C 20 4D 41 54 54 45 | PRACTICAL MATTE|
00001840: 52 53 2E 00 4C 20 C8 00 89 34 31 33 00 55 20 C9 |RS..L ...413.U .|
00001850: 00 8D 34 32 30 00 5C 20 CA 00 99 22 00 70 20 CB |..420.\ ...".p .|
00001860: 00 99 22 20 C9 CE D0 D5 D4 2F CF D5 D4 D0 D5 D4 |.." ...../......|
00001870: 00 84 20 CC 00 99 22 20 A3 A3 A3 A3 A3 A3 A3 A3 |.. ..." ........|
00001880: A3 A3 A3 A3 00 AD 20 CD 00 99 22 20 C9 4E 20 54 |...... ..." .N T|
00001890: 48 49 53 20 53 45 43 54 49 4F 4E 20 57 45 27 4C |HIS SECTION WE'L|
000018A0: 4C 20 4C 4F 4F 4B 20 41 54 20 48 4F 57 00 D9 20 |L LOOK AT HOW.. |
000018B0: CE 00 99 22 20 C6 CF D2 D4 C8 20 44 4F 45 53 20 |..." ..... DOES |
000018C0: C9 2F CF 20 54 4F 20 41 4E 44 20 46 52 4F 4D 20 |./. TO AND FROM |
000018D0: 54 48 45 20 54 45 52 4D 2D 00 05 21 CF 00 99 22 |THE TERM-..!..."|
000018E0: 20 49 4E 41 4C 20 41 4E 44 20 44 49 53 4B 2E 20 | INAL AND DISK. |
000018F0: D3 4F 4D 45 20 4F 46 20 57 48 41 54 20 59 4F 55 |.OME OF WHAT YOU|
00001900: 20 57 49 4C 4C 00 33 21 D0 00 99 22 20 53 45 45 | WILL.3!..." SEE|
00001910: 20 48 41 53 20 42 45 45 4E 20 43 4F 56 45 52 45 | HAS BEEN COVERE|
00001920: 44 20 49 4E 20 50 52 45 56 49 4F 55 53 20 C6 CF |D IN PREVIOUS ..|
00001930: D2 D4 C8 00 5E 21 D1 00 99 22 20 54 55 54 4F 52 |....^!..." TUTOR|
00001940: 49 41 4C 53 20 42 55 54 20 57 49 4C 4C 20 42 45 |IALS BUT WILL BE|
00001950: 20 49 4E 43 4C 55 44 45 44 20 48 45 52 45 00 77 | INCLUDED HERE.w|
00001960: 21 D2 00 99 22 20 46 4F 52 20 43 4F 4D 50 4C 45 |!..." FOR COMPLE|
00001970: 54 45 4E 45 53 53 2E 00 7E 21 D3 00 99 22 00 93 |TENESS..~!..."..|
00001980: 21 D4 00 99 22 20 C2 CC CF C3 CB A0 C2 D5 C6 C6 |!..." ..........|
00001990: C5 D2 D3 00 A8 21 D5 00 99 22 20 A3 A3 A3 A3 A3 |.....!..." .....|
000019A0: A3 A3 A3 A3 A3 A3 A3 A3 00 D5 21 D6 00 99 22 20 |..........!..." |
000019B0: C6 CF D2 D4 C8 20 4D 41 49 4E 54 41 49 4E 53 20 |..... MAINTAINS |
000019C0: 33 20 20 42 55 46 46 45 52 53 20 49 4E 20 4D 45 |3 BUFFERS IN ME|
000019D0: 4D 4F 52 59 2C 00 00 22 D7 00 99 22 20 45 41 43 |MORY,.."..." EAC|
000019E0: 48 20 43 41 50 41 42 4C 45 20 4F 46 20 48 4F 4C |H CAPABLE OF HOL|
000019F0: 44 49 4E 47 20 31 30 32 34 20 42 59 54 45 53 2E |DING 1024 BYTES.|
00001A00: 00 07 22 D8 00 99 22 00 33 22 D9 00 99 22 20 D9 |.."...".3"..." .|
00001A10: 4F 55 20 4D 41 59 20 52 45 43 41 4C 4C 20 54 48 |OU MAY RECALL TH|
00001A20: 41 54 20 54 4F 20 47 45 54 20 41 20 4C 49 53 54 |AT TO GET A LIST|
00001A30: 49 4E 47 00 5D 22 DA 00 99 22 20 4F 46 20 41 20 |ING.]"..." OF A |
00001A40: C6 CF D2 D4 C8 A0 53 43 52 45 45 4E 20 59 4F 55 |......SCREEN YOU|
00001A50: 20 57 4F 55 4C 44 20 45 4E 54 45 52 2C 00 64 22 | WOULD ENTER,.d"|
00001A60: DB 00 99 22 00 83 22 DC 00 99 22 20 20 53 43 52 |...".."..." SCR|
00001A70: 45 45 4E 23 20 20 4C 49 53 54 20 20 12 52 45 54 |EEN# LIST .RET|
00001A80: 55 52 4E 00 8A 22 DD 00 99 22 00 B7 22 DE 00 99 |URN.."...".."...|
00001A90: 22 20 D4 48 45 20 43 4F 4E 54 45 4E 54 53 20 4F |" .HE CONTENTS O|
00001AA0: 46 20 54 48 45 20 53 43 52 45 45 4E 20 41 52 45 |F THE SCREEN ARE|
00001AB0: 20 54 52 41 4E 53 2D 00 C0 22 DF 00 89 34 31 33 | TRANS-.."...413|
00001AC0: 00 C9 22 E0 00 8D 34 32 30 00 F3 22 E1 00 99 22 |.."...420.."..."|
00001AD0: 20 46 45 52 52 45 44 20 46 52 4F 4D 20 44 49 53 | FERRED FROM DIS|
00001AE0: 4B 20 49 4E 54 4F 20 4F 4E 45 20 4F 46 20 54 48 |K INTO ONE OF TH|
00001AF0: 45 53 45 00 20 23 E2 00 99 22 20 42 55 46 46 45 |ESE. #..." BUFFE|
00001B00: 52 53 2E 20 D4 48 49 53 20 42 55 46 46 45 52 20 |RS. .HIS BUFFER |
00001B10: 49 53 20 54 48 45 4E 20 4C 41 42 45 4C 4C 45 44 |IS THEN LABELLED|
00001B20: 00 4D 23 E3 00 99 22 20 57 49 54 48 20 54 48 45 |.M#..." WITH THE|
00001B30: 20 47 49 56 45 4E 20 53 43 52 45 45 4E 20 4E 55 | GIVEN SCREEN NU|
00001B40: 4D 42 45 52 20 41 4E 44 20 49 54 27 53 00 7A 23 |MBER AND IT'S.z#|
00001B50: E4 00 99 22 20 43 4F 4E 54 45 4E 54 53 20 44 49 |..." CONTENTS DI|
00001B60: 53 50 4C 41 59 45 44 2E 20 C9 46 20 59 4F 55 20 |SPLAYED. .F YOU |
00001B70: 54 48 45 4E 20 57 41 4E 54 2D 00 A5 23 E5 00 99 |THEN WANT-..#...|
00001B80: 22 20 45 44 20 54 4F 20 4C 49 53 54 20 54 48 49 |" ED TO LIST THI|
00001B90: 53 20 53 43 52 45 45 4E 20 C6 CF D2 D4 C8 20 20 |S SCREEN ..... |
00001BA0: 57 4F 55 4C 44 00 D0 23 E6 00 99 22 20 4E 4F 54 |WOULD..#..." NOT|
00001BB0: 20 48 41 56 45 20 54 4F 20 4C 4F 41 44 20 49 54 | HAVE TO LOAD IT|
00001BC0: 20 49 4E 20 41 47 41 49 4E 2E 20 C9 46 20 57 45 | IN AGAIN. .F WE|
00001BD0: 00 FD 23 E7 00 99 22 20 45 44 49 54 20 4F 52 20 |..#..." EDIT OR |
00001BE0: 4C 49 53 54 20 41 4E 4F 54 48 45 52 20 54 57 4F |LIST ANOTHER TWO|
00001BF0: 20 53 43 52 45 45 4E 53 20 54 48 45 59 00 2A 24 | SCREENS THEY.*$|
00001C00: E8 00 99 22 20 57 49 4C 4C 20 4C 4F 41 44 20 49 |..." WILL LOAD I|
00001C10: 4E 54 4F 20 54 48 45 20 52 45 4D 41 49 4E 49 4E |NTO THE REMAININ|
00001C20: 47 20 42 55 46 46 45 52 53 2E 00 56 24 E9 00 99 |G BUFFERS..V$...|
00001C30: 22 20 CE 4F 57 20 41 4C 4C 20 54 48 45 20 42 55 |" .OW ALL THE BU|
00001C40: 46 46 45 52 53 20 41 52 45 20 49 4E 20 55 53 45 |FFERS ARE IN USE|
00001C50: 2E 20 D7 48 41 54 00 81 24 EA 00 99 22 20 49 46 |. .HAT..$..." IF|
00001C60: 20 57 45 20 4E 4F 57 20 57 41 4E 54 20 54 4F 20 | WE NOW WANT TO |
00001C70: 55 53 45 20 41 20 53 43 52 45 45 4E 20 54 48 41 |USE A SCREEN THA|
00001C80: 54 00 AD 24 EB 00 99 22 20 49 53 4E 27 54 20 49 |T..$..." ISN'T I|
00001C90: 4E 20 4D 45 4D 4F 52 59 3F 20 D4 48 45 20 42 55 |N MEMORY? .HE BU|
00001CA0: 46 46 45 52 20 54 48 41 54 20 57 41 53 00 DA 24 |FFER THAT WAS..$|
00001CB0: EC 00 99 22 20 52 45 46 45 52 45 4E 43 45 44 20 |..." REFERENCED |
00001CC0: 4C 45 41 53 54 20 52 45 43 45 4E 54 4C 59 20 57 |LEAST RECENTLY W|
00001CD0: 49 4C 4C 20 42 45 20 4F 56 2D 00 06 25 ED 00 99 |ILL BE OV-..%...|
00001CE0: 22 20 45 52 57 52 49 54 54 45 4E 2E 20 CF 46 1D |" ERWRITTEN. .F.|
00001CF0: 43 4F 55 52 53 45 20 54 48 45 20 4F 56 45 52 57 |COURSE THE OVERW|
00001D00: 52 49 54 54 45 4E 00 34 25 EE 00 99 22 20 53 43 |RITTEN.4%..." SC|
00001D10: 52 45 45 4E 20 49 53 20 53 54 49 4C 4C 20 53 41 |REEN IS STILL SA|
00001D20: 46 45 4C 59 20 53 54 4F 52 45 44 20 4F 4E 20 44 |FELY STORED ON D|
00001D30: 49 53 4B 2E 00 62 25 EF 00 99 22 20 C9 46 20 48 |ISK..b%..." .F H|
00001D40: 4F 57 45 56 45 52 20 54 48 49 53 20 53 43 52 45 |OWEVER THIS SCRE|
00001D50: 45 4E 20 48 41 44 20 42 45 45 4E 20 45 44 49 54 |EN HAD BEEN EDIT|
00001D60: 45 44 00 90 25 F0 00 99 22 20 49 54 20 57 4F 55 |ED..%..." IT WOU|
00001D70: 4C 44 20 42 45 20 53 41 56 45 44 20 54 4F 20 44 |LD BE SAVED TO D|
00001D80: 49 53 4B 20 42 45 46 4F 52 45 20 42 45 49 4E 47 |ISK BEFORE BEING|
00001D90: 00 A4 25 F1 00 99 22 20 4F 56 45 52 57 52 49 54 |..%..." OVERWRIT|
00001DA0: 54 45 4E 2E 00 AB 25 F2 00 99 22 00 D8 25 F3 00 |TEN...%..."..%..|
00001DB0: 99 22 20 20 D4 4F 20 4D 41 4B 45 20 53 55 52 45 |." .O MAKE SURE|
00001DC0: 20 54 48 41 54 20 41 4C 4C 20 45 44 49 54 45 44 | THAT ALL EDITED|
00001DD0: 20 53 43 52 45 45 4E 53 00 01 26 F4 00 99 22 20 | SCREENS..&..." |
00001DE0: 41 52 45 20 57 52 49 54 54 45 4E 20 54 4F 20 44 |ARE WRITTEN TO D|
00001DF0: 49 53 4B 20 59 4F 55 20 4D 55 53 54 20 55 53 45 |ISK YOU MUST USE|
00001E00: 2C 00 08 26 F5 00 99 22 00 11 26 F6 00 89 34 31 |,..&..."..&...41|
00001E10: 33 00 1A 26 F7 00 8D 34 32 30 00 31 26 F8 00 99 |3..&...420.1&...|
00001E20: 22 20 20 46 4C 55 53 48 20 20 12 52 45 54 55 52 |" FLUSH .RETUR|
00001E30: 4E 00 38 26 F9 00 99 22 00 63 26 FA 00 99 22 20 |N.8&...".c&..." |
00001E40: 49 46 20 4F 4E 20 54 48 45 20 4F 54 48 45 52 20 |IF ON THE OTHER |
00001E50: 48 41 4E 44 20 59 4F 55 20 44 4F 4E 27 54 20 57 |HAND YOU DON'T W|
00001E60: 41 4E 54 00 8A 26 FB 00 99 22 20 41 4E 59 20 4F |ANT..&..." ANY O|
00001E70: 46 20 54 48 45 20 53 43 52 45 45 4E 53 20 55 50 |F THE SCREENS UP|
00001E80: 44 41 54 45 44 20 55 53 45 2C 00 91 26 FC 00 99 |DATED USE,..&...|
00001E90: 22 00 B0 26 FD 00 99 22 20 20 20 45 4D 50 54 59 |"..&..." EMPTY|
00001EA0: 2D 42 55 46 46 45 52 53 20 12 52 45 54 55 52 4E |-BUFFERS .RETURN|
00001EB0: 00 B7 26 FE 00 99 22 00 E4 26 FF 00 99 22 20 57 |..&..."..&..." W|
00001EC0: 48 49 43 48 20 4D 41 4B 45 53 20 41 4C 4C 20 42 |HICH MAKES ALL B|
00001ED0: 55 46 46 45 52 53 20 41 56 41 49 4C 41 42 4C 45 |UFFERS AVAILABLE|
00001EE0: 2E 20 C9 46 00 12 27 00 01 99 22 20 59 4F 55 20 |. .F..'..." YOU |
00001EF0: 57 41 4E 54 20 54 4F 20 42 52 49 4E 47 20 41 20 |WANT TO BRING A |
00001F00: 53 43 52 45 45 4E 20 49 4E 54 4F 20 4D 45 4D 4F |SCREEN INTO MEMO|
00001F10: 52 59 00 40 27 01 01 99 22 20 42 55 54 20 44 4F |RY.@'..." BUT DO|
00001F20: 4E 27 54 20 57 41 4E 54 20 54 4F 20 50 52 49 4E |N'T WANT TO PRIN|
00001F30: 54 20 49 54 20 4F 55 54 20 4F 52 20 45 44 49 54 |T IT OUT OR EDIT|
00001F40: 00 5B 27 02 01 99 22 20 49 54 20 54 48 45 4E 20 |.['..." IT THEN |
00001F50: 55 53 45 20 4F 4E 45 20 4F 46 2C 00 62 27 03 01 |USE ONE OF,.b'..|
00001F60: 99 22 00 7A 27 04 01 99 22 20 20 20 53 43 52 45 |.".z'..." SCRE|
00001F70: 45 4E 23 20 20 42 4C 4F 43 4B 00 93 27 05 01 99 |EN# BLOCK..'...|
00001F80: 22 20 20 20 53 43 52 45 45 4E 23 20 20 42 55 46 |" SCREEN# BUF|
00001F90: 46 45 52 00 9A 27 06 01 99 22 00 C8 27 07 01 99 |FER..'..."..'...|
00001FA0: 22 20 42 4C 4F 43 4B 20 20 43 4F 50 49 45 53 20 |" BLOCK COPIES |
00001FB0: 54 48 45 20 43 4F 4E 54 45 4E 54 53 20 4F 46 20 |THE CONTENTS OF |
00001FC0: 54 48 45 20 47 49 56 2D 00 F5 27 08 01 99 22 20 |THE GIV-..'..." |
00001FD0: 45 4E 20 53 43 52 45 45 4E 20 46 52 4F 4D 20 44 |EN SCREEN FROM D|
00001FE0: 49 53 4B 20 49 4E 54 4F 20 41 4E 20 41 56 41 49 |ISK INTO AN AVAI|
00001FF0: 4C 41 42 4C 45 00 23 28 09 01 99 22 20 42 55 46 |LABLE.#(..." BUF|
00002000: 46 45 52 20 41 4E 44 20 4C 41 42 45 4C 53 20 54 |FER AND LABELS T|
00002010: 48 49 53 20 42 55 46 46 45 52 20 57 49 54 48 20 |HIS BUFFER WITH |
00002020: 54 48 45 00 50 28 0A 01 99 22 20 53 43 52 45 45 |THE.P(..." SCREE|
00002030: 4E 20 4E 55 4D 42 45 52 2E 20 20 42 55 46 46 45 |N NUMBER. BUFFE|
00002040: 52 20 41 53 53 49 47 4E 53 20 4F 4E 45 20 4F 46 |R ASSIGNS ONE OF|
00002050: 00 7E 28 0B 01 99 22 20 54 48 45 53 45 20 42 4C |.~(..." THESE BL|
00002060: 4F 43 4B 20 42 55 46 46 45 52 53 20 57 49 54 48 |OCK BUFFERS WITH|
00002070: 4F 55 54 20 52 45 41 44 49 4E 47 20 49 4E 00 A8 |OUT READING IN..|
00002080: 28 0C 01 99 22 20 41 4E 59 54 48 49 4E 47 20 46 |(..." ANYTHING F|
00002090: 52 4F 4D 20 44 49 53 4B 2E 20 20 C2 4F 54 48 20 |ROM DISK. .OTH |
000020A0: 4F 46 20 54 48 45 53 45 00 B1 28 0D 01 89 34 31 |OF THESE..(...41|
000020B0: 33 00 BA 28 0E 01 8D 34 32 30 00 E7 28 0F 01 99 |3..(...420..(...|
000020C0: 22 20 57 4F 52 44 53 20 4C 45 41 56 45 20 20 54 |" WORDS LEAVE T|
000020D0: 48 45 20 41 44 44 52 45 53 53 20 4F 46 20 54 48 |HE ADDRESS OF TH|
000020E0: 45 20 46 49 52 53 54 00 15 29 10 01 99 22 20 42 |E FIRST..)..." B|
000020F0: 59 54 45 20 49 4E 20 54 48 45 20 42 4C 4F 43 4B |YTE IN THE BLOCK|
00002100: 20 4F 4E 20 54 4F 50 20 4F 46 20 54 48 45 20 53 | ON TOP OF THE S|
00002110: 54 41 43 4B 2C 00 3D 29 11 01 99 22 20 41 4C 4C |TACK,.=)..." ALL|
00002120: 4F 57 49 4E 47 20 55 53 20 54 4F 20 53 54 4F 52 |OWING US TO STOR|
00002130: 45 20 44 41 54 41 20 54 48 45 52 45 2E 00 44 29 |E DATA THERE..D)|
00002140: 12 01 99 22 00 6C 29 13 01 99 22 20 39 39 39 20 |...".l)..." 999 |
00002150: 31 30 30 20 42 55 46 46 45 52 20 31 30 32 33 20 |100 BUFFER 1023 |
00002160: 2B 20 20 21 20 20 55 50 44 41 54 45 00 73 29 14 |+ ! UPDATE.s).|
00002170: 01 99 22 00 A1 29 15 01 99 22 20 D4 48 49 53 20 |.."..)..." .HIS |
00002180: 53 45 51 55 45 4E 43 45 20 53 54 4F 52 45 53 20 |SEQUENCE STORES |
00002190: 54 48 45 20 4E 55 4D 42 45 52 20 39 39 39 20 49 |THE NUMBER 999 I|
000021A0: 4E 00 CF 29 16 01 99 22 20 54 48 45 20 4C 41 53 |N..)..." THE LAS|
000021B0: 54 20 20 54 57 4F 20 42 59 54 45 53 20 4F 46 20 |T TWO BYTES OF |
000021C0: 54 48 45 20 42 55 46 46 45 52 20 54 48 41 54 00 |THE BUFFER THAT.|
000021D0: FB 29 17 01 99 22 20 57 41 53 20 41 53 53 49 47 |.)..." WAS ASSIG|
000021E0: 4E 45 44 20 54 4F 20 53 43 52 45 45 4E 20 31 30 |NED TO SCREEN 10|
000021F0: 30 2E 20 20 20 55 50 44 41 54 45 00 29 2A 18 01 |0. UPDATE.)*..|
00002200: 99 22 20 49 53 20 41 20 57 4F 52 44 20 54 48 41 |." IS A WORD THA|
00002210: 54 20 46 4C 41 47 53 20 54 48 45 20 4D 4F 53 54 |T FLAGS THE MOST|
00002220: 20 52 45 43 45 4E 54 4C 59 00 57 2A 19 01 99 22 | RECENTLY.W*..."|
00002230: 20 52 45 46 45 52 45 4E 43 45 44 20 42 55 46 46 | REFERENCED BUFF|
00002240: 45 52 20 41 53 20 48 41 56 49 4E 47 20 42 45 45 |ER AS HAVING BEE|
00002250: 4E 20 4D 4F 44 49 2D 00 83 2A 1A 01 99 22 20 46 |N MODI-..*..." F|
00002260: 49 45 44 2E 20 CE 4F 57 20 49 46 20 57 45 20 44 |IED. .OW IF WE D|
00002270: 4F 20 41 20 46 4C 55 53 48 2C 20 4F 55 52 20 44 |O A FLUSH, OUR D|
00002280: 41 54 41 00 A1 2A 1B 01 99 22 20 57 49 4C 4C 20 |ATA..*..." WILL |
00002290: 42 45 20 53 41 56 45 44 20 4F 4E 20 44 49 53 4B |BE SAVED ON DISK|
000022A0: 2E 00 A8 2A 1C 01 99 22 00 C4 2A 1D 01 99 22 20 |...*..."..*..." |
000022B0: C3 C8 C1 D2 C1 C3 D4 C5 D2 A0 D3 D4 D2 C9 CE C7 |................|
000022C0: A0 C9 2F CF 00 E0 2A 1E 01 99 22 20 A3 A3 A3 A3 |../...*..." ....|
000022D0: A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 |................|
000022E0: 00 0E 2B 1F 01 99 22 20 20 CD 41 4E 59 20 50 52 |..+..." .ANY PR|
000022F0: 4F 47 52 41 4D 4D 49 4E 47 20 41 50 50 4C 49 43 |OGRAMMING APPLIC|
00002300: 41 54 49 4F 4E 53 20 52 45 51 55 49 52 45 00 3C |ATIONS REQUIRE.<|
00002310: 2B 20 01 99 22 20 54 48 45 20 49 4E 50 55 54 54 |+ .." THE INPUTT|
00002320: 49 4E 47 20 4F 52 20 4F 55 54 50 55 54 54 49 4E |ING OR OUTPUTTIN|
00002330: 47 20 4F 46 20 53 54 52 49 4E 47 53 00 66 2B 21 |G OF STRINGS.f+!|
00002340: 01 99 22 20 4F 46 20 43 48 41 52 41 43 54 45 52 |.." OF CHARACTER|
00002350: 20 44 41 54 41 2E 20 C9 4E 20 C6 CF D2 D4 C8 20 | DATA. .N ..... |
00002360: 57 45 20 43 41 4E 00 94 2B 22 01 99 22 20 52 45 |WE CAN..+".." RE|
00002370: 41 44 20 49 4E 50 55 54 20 46 52 4F 4D 20 54 48 |AD INPUT FROM TH|
00002380: 45 20 4B 45 59 42 4F 41 52 44 20 55 53 49 4E 47 |E KEYBOARD USING|
00002390: 20 4F 4E 45 00 AD 2B 23 01 99 22 20 4F 46 20 54 | ONE..+#.." OF T|
000023A0: 48 45 20 46 4F 4C 4C 4F 57 49 4E 47 2C 00 B6 2B |HE FOLLOWING,..+|
000023B0: 24 01 89 34 31 33 00 BF 2B 25 01 8D 34 32 30 00 |$..413..+%..420.|
000023C0: C6 2B 26 01 99 22 00 F3 2B 27 01 99 22 20 4B 45 |.+&.."..+'.." KE|
000023D0: 59 20 20 20 20 20 57 48 45 4E 20 45 58 45 43 55 |Y WHEN EXECU|
000023E0: 54 45 44 2C 20 54 48 49 53 20 57 4F 52 44 20 50 |TED, THIS WORD P|
000023F0: 55 54 53 00 1F 2C 28 01 99 22 20 20 20 20 20 20 |UTS..,(.." |
00002400: 20 20 20 54 48 45 20 C1 D3 C3 C9 C9 20 56 41 4C | THE ..... VAL|
00002410: 55 45 20 4F 46 20 54 48 45 20 46 49 52 53 54 00 |UE OF THE FIRST.|
00002420: 4D 2C 29 01 99 22 20 20 20 20 20 20 20 20 20 4B |M,).." K|
00002430: 45 59 20 54 59 50 45 44 20 4F 4E 20 54 4F 50 20 |EY TYPED ON TOP |
00002440: 4F 46 20 54 48 45 20 53 54 41 43 4B 2E 00 54 2C |OF THE STACK..T,|
00002450: 2A 01 99 22 00 80 2C 2B 01 99 22 20 45 58 50 45 |*.."..,+.." EXPE|
00002460: 43 54 20 20 47 49 56 45 4E 20 41 4E 20 41 44 44 |CT GIVEN AN ADD|
00002470: 52 45 53 53 20 41 4E 44 20 41 20 43 4F 55 4E 54 |RESS AND A COUNT|
00002480: 00 AE 2C 2C 01 99 22 20 20 20 20 20 20 20 20 20 |..,,.." |
00002490: 4E 20 4F 4E 20 54 48 45 20 53 54 41 43 4B 2C 20 |N ON THE STACK, |
000024A0: 57 48 45 4E 20 45 58 45 43 55 54 45 44 2C 00 DA |WHEN EXECUTED,..|
000024B0: 2C 2D 01 99 22 20 20 20 20 20 20 20 20 20 57 41 |,-.." WA|
000024C0: 49 54 53 20 46 4F 52 20 4E 20 43 48 41 52 41 43 |ITS FOR N CHARAC|
000024D0: 54 45 52 53 20 28 4F 52 20 41 00 05 2D 2E 01 99 |TERS (OR A..-...|
000024E0: 22 20 20 20 20 20 20 20 20 20 43 41 52 52 49 41 |" CARRIA|
000024F0: 47 45 20 52 45 54 55 52 4E 29 20 41 4E 44 20 50 |GE RETURN) AND P|
00002500: 4C 41 43 45 53 00 32 2D 2F 01 99 22 20 20 20 20 |LACES.2-/.." |
00002510: 20 20 20 20 20 54 48 45 20 43 48 41 52 41 43 54 | THE CHARACT|
00002520: 45 52 53 20 53 45 4E 54 20 49 4E 20 4D 45 4D 4F |ERS SENT IN MEMO|
00002530: 52 59 00 60 2D 30 01 99 22 20 20 20 20 20 20 20 |RY.`-0.." |
00002540: 20 20 53 54 41 52 54 49 4E 47 20 41 54 20 54 48 | STARTING AT TH|
00002550: 45 20 47 49 56 45 4E 20 41 44 44 52 45 53 53 2E |E GIVEN ADDRESS.|
00002560: 00 74 2D 31 01 99 22 20 20 20 20 20 20 20 20 20 |.t-1.." |
00002570: 45 2E 47 2E 00 7B 2D 32 01 99 22 00 A2 2D 33 01 |E.G..{-2.."..-3.|
00002580: 99 22 20 20 20 31 30 30 20 20 42 4C 4F 43 4B 20 |." 100 BLOCK |
00002590: 20 38 30 20 20 45 58 50 45 43 54 20 20 46 4C 55 | 80 EXPECT FLU|
000025A0: 53 48 00 A9 2D 34 01 99 22 00 D6 2D 35 01 99 22 |SH..-4.."..-5.."|
000025B0: 20 D4 48 49 53 20 53 45 51 55 45 4E 43 45 20 53 | .HIS SEQUENCE S|
000025C0: 54 4F 52 45 53 20 38 30 20 43 48 41 52 41 43 54 |TORES 80 CHARACT|
000025D0: 45 52 53 20 49 4E 00 E9 2D 36 01 99 22 20 53 43 |ERS IN..-6.." SC|
000025E0: 52 45 45 4E 20 31 30 30 2E 00 F0 2D 37 01 99 22 |REEN 100...-7.."|
000025F0: 00 1E 2E 38 01 99 22 20 20 D4 48 45 20 43 4F 4D |...8.." .HE COM|
00002600: 50 4C 45 4D 45 4E 54 53 20 54 4F 20 54 48 45 53 |PLEMENTS TO THES|
00002610: 45 20 43 4F 4D 4D 41 4E 44 53 20 41 52 45 00 25 |E COMMANDS ARE.%|
00002620: 2E 39 01 99 22 00 51 2E 3A 01 99 22 20 45 4D 49 |.9..".Q.:.." EMI|
00002630: 54 20 20 20 53 45 4E 44 53 20 54 4F 20 54 48 45 |T SENDS TO THE|
00002640: 20 53 43 52 45 45 4E 20 54 48 45 20 43 48 41 52 | SCREEN THE CHAR|
00002650: 2D 00 5A 2E 3B 01 89 34 31 33 00 63 2E 3C 01 8D |-.Z.;..413.c.<..|
00002660: 34 32 30 00 90 2E 3D 01 99 22 20 20 20 20 20 20 |420...=.." |
00002670: 20 20 41 43 54 45 52 20 47 49 56 45 4E 20 42 59 | ACTER GIVEN BY|
00002680: 20 54 48 45 20 C1 D3 C3 C9 C9 20 56 41 4C 55 45 | THE ..... VALUE|
00002690: 00 AF 2E 3E 01 99 22 20 20 20 20 20 20 20 20 4F |...>.." O|
000026A0: 4E 20 54 4F 50 20 4F 46 20 53 54 41 43 4B 2E 00 |N TOP OF STACK..|
000026B0: B6 2E 3F 01 99 22 00 E3 2E 40 01 99 22 20 54 59 |..?.."...@.." TY|
000026C0: 50 45 20 20 20 53 45 4E 44 53 20 4E 20 43 48 41 |PE SENDS N CHA|
000026D0: 52 41 43 54 45 52 53 20 53 54 41 52 54 49 4E 47 |RACTERS STARTING|
000026E0: 20 41 54 00 11 2F 41 01 99 22 20 20 20 20 20 20 | AT../A.." |
000026F0: 20 20 54 48 45 20 47 49 56 45 4E 20 41 44 44 52 | THE GIVEN ADDR|
00002700: 45 53 53 20 54 4F 20 54 48 45 20 53 43 52 45 45 |ESS TO THE SCREE|
00002710: 4E 00 24 2F 42 01 99 22 20 20 20 20 20 20 20 20 |N.$/B.." |
00002720: 45 2E 47 2E 00 2B 2F 43 01 99 22 00 46 2F 44 01 |E.G..+/C..".F/D.|
00002730: 99 22 20 3A 20 4C 49 53 54 53 43 52 45 45 4E 20 |." : LISTSCREEN |
00002740: 20 42 4C 4F 43 4B 00 67 2F 45 01 99 22 20 20 20 | BLOCK.g/E.." |
00002750: 20 20 20 20 20 20 20 20 20 20 20 20 33 32 20 20 | 32 |
00002760: 20 30 20 20 20 44 4F 00 89 2F 46 01 99 22 20 20 | 0 DO../F.." |
00002770: 20 20 20 20 20 20 20 20 20 20 20 20 20 44 55 50 | DUP|
00002780: 20 49 20 33 32 20 2A 20 2B 00 A6 2F 47 01 99 22 | I 32 * +../G.."|
00002790: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 | 3|
000027A0: 32 20 54 59 50 45 00 C8 2F 48 01 99 22 20 20 20 |2 TYPE../H.." |
000027B0: 20 20 20 20 20 20 20 20 20 20 20 20 4C 4F 4F 50 | LOOP|
000027C0: 20 20 44 52 4F 50 20 3B 00 CF 2F 49 01 99 22 00 | DROP ;../I..".|
000027D0: FB 2F 4A 01 99 22 20 C6 4F 52 20 49 4E 53 54 41 |./J.." .OR INSTA|
000027E0: 4E 43 45 2C 20 20 39 20 4C 49 53 54 53 43 52 45 |NCE, 9 LISTSCRE|
000027F0: 45 4E 20 20 12 52 45 54 55 52 4E 00 29 30 4B 01 |EN .RETURN.)0K.|
00002800: 99 22 20 57 4F 55 4C 44 20 44 49 53 50 4C 41 59 |." WOULD DISPLAY|
00002810: 20 54 48 45 20 43 4F 4E 54 45 4E 54 53 20 4F 46 | THE CONTENTS OF|
00002820: 20 53 43 52 45 45 4E 20 39 00 57 30 4C 01 99 22 | SCREEN 9.W0L.."|
00002830: 20 D4 48 49 53 20 57 4F 52 44 20 49 53 20 49 44 | .HIS WORD IS ID|
00002840: 45 4E 54 49 43 41 4C 20 54 4F 20 20 4C 49 53 54 |ENTICAL TO LIST|
00002850: 20 45 58 43 45 50 54 00 85 30 4D 01 99 22 20 54 | EXCEPT..0M.." T|
00002860: 48 41 54 20 4E 4F 20 4C 49 4E 45 20 4E 55 4D 42 |HAT NO LINE NUMB|
00002870: 45 52 53 20 41 52 45 20 44 49 53 50 4C 41 59 45 |ERS ARE DISPLAYE|
00002880: 44 2E 20 C9 46 00 B2 30 4E 01 99 22 20 59 4F 55 |D. .F..0N.." YOU|
00002890: 20 44 4F 4E 27 54 20 55 4E 44 45 52 53 54 41 4E | DON'T UNDERSTAN|
000028A0: 44 20 41 4C 4C 20 54 48 45 20 57 4F 52 44 53 20 |D ALL THE WORDS |
000028B0: 49 4E 00 E0 30 4F 01 99 22 20 54 48 49 53 20 44 |IN..0O.." THIS D|
000028C0: 45 46 49 4E 49 54 49 4F 4E 20 59 4F 55 20 53 48 |EFINITION YOU SH|
000028D0: 4F 55 4C 44 20 52 45 56 49 45 57 20 20 54 48 45 |OULD REVIEW THE|
000028E0: 00 01 31 50 01 99 22 20 50 52 45 56 49 4F 55 53 |..1P.." PREVIOUS|
000028F0: 20 C6 CF D2 D4 C8 20 54 55 54 4F 52 49 41 4C 53 | ..... TUTORIALS|
00002900: 2E 00 08 31 51 01 99 22 00 11 31 52 01 89 34 31 |...1Q.."..1R..41|
00002910: 33 00 1A 31 53 01 8D 34 32 30 00 40 31 54 01 99 |3..1S..420.@1T..|
00002920: 22 20 D3 CF CD C5 A0 CD C9 D3 C3 C5 CC CC C1 CE |" ..............|
00002930: C5 CF D5 D3 A0 C6 CF D2 D4 C8 A0 C9 C4 C5 C1 D3 |................|
00002940: 00 66 31 55 01 99 22 20 A3 A3 A3 A3 A3 A3 A3 A3 |.f1U.." ........|
00002950: A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 A3 |................|
00002960: A3 A3 A3 A3 A3 A3 00 74 31 56 01 99 22 20 C1 D2 |.......t1V.." ..|
00002970: D2 C1 D9 D3 00 82 31 57 01 99 22 20 A3 A3 A3 A3 |......1W.." ....|
00002980: A3 A3 00 B0 31 58 01 99 22 20 D9 4F 55 27 52 45 |....1X.." .OU'RE|
00002990: 20 50 52 4F 42 41 42 4C 59 20 41 4C 4C 20 46 41 | PROBABLY ALL FA|
000029A0: 4D 49 4C 49 41 52 20 57 49 54 48 20 41 52 52 2D |MILIAR WITH ARR-|
000029B0: 00 DD 31 59 01 99 22 20 41 59 53 20 49 4E 20 C2 |..1Y.." AYS IN .|
000029C0: C1 D3 C9 C3 2E 20 D7 45 20 43 41 4E 20 44 45 46 |..... .E CAN DEF|
000029D0: 49 4E 45 20 41 52 52 41 59 53 20 49 4E 00 09 32 |INE ARRAYS IN..2|
000029E0: 5A 01 99 22 20 C6 CF D2 D4 C8 20 41 53 20 57 45 |Z.." ..... AS WE|
000029F0: 4C 4C 2E 20 D4 48 45 52 45 20 41 52 45 20 54 57 |LL. .HERE ARE TW|
00002A00: 4F 20 57 41 59 53 20 54 4F 00 19 32 5B 01 99 22 |O WAYS TO..2[.."|
00002A10: 20 44 4F 20 54 48 49 53 2C 00 20 32 5C 01 99 22 | DO THIS,. 2\.."|
00002A20: 00 40 32 5D 01 99 22 20 20 56 41 52 49 41 42 4C |.@2].." VARIABL|
00002A30: 45 20 20 54 45 4E 20 20 20 38 20 41 4C 4C 4F 54 |E TEN 8 ALLOT|
00002A40: 00 47 32 5E 01 99 22 00 75 32 5F 01 99 22 20 20 |.G2^..".u2_.." |
00002A50: D7 45 27 56 45 20 53 45 45 4E 20 54 48 45 20 57 |.E'VE SEEN THE W|
00002A60: 4F 52 44 20 20 56 41 52 49 41 42 4C 45 20 42 45 |ORD VARIABLE BE|
00002A70: 46 4F 52 45 2E 00 A0 32 60 01 99 22 20 C8 45 52 |FORE...2`.." .ER|
00002A80: 45 2C 20 49 54 20 43 52 45 41 54 45 53 20 41 20 |E, IT CREATES A |
00002A90: 44 49 43 54 49 4F 4E 41 52 59 20 45 4E 54 52 59 |DICTIONARY ENTRY|
00002AA0: 00 CD 32 61 01 99 22 20 4E 41 4D 45 44 20 54 45 |..2a.." NAMED TE|
00002AB0: 4E 20 2E 20 C9 54 20 41 4C 53 4F 20 4C 45 41 56 |N . .T ALSO LEAV|
00002AC0: 45 53 20 52 4F 4F 4D 20 46 4F 52 20 32 00 FB 32 |ES ROOM FOR 2..2|
00002AD0: 62 01 99 22 20 42 59 54 45 53 20 49 4E 20 49 54 |b.." BYTES IN IT|
00002AE0: 27 53 20 50 41 52 41 4D 45 54 45 52 20 46 49 45 |'S PARAMETER FIE|
00002AF0: 4C 44 2E 20 38 20 41 4C 4C 4F 54 00 28 33 63 01 |LD. 8 ALLOT.(3c.|
00002B00: 99 22 20 45 58 54 45 4E 44 53 20 54 48 45 20 50 |." EXTENDS THE P|
00002B10: 41 52 41 4D 45 54 45 52 20 46 49 45 4C 44 20 42 |ARAMETER FIELD B|
00002B20: 59 20 38 20 4D 4F 52 45 00 55 33 64 01 99 22 20 |Y 8 MORE.U3d.." |
00002B30: 42 59 54 45 53 2C 20 4C 45 41 56 49 4E 47 20 55 |BYTES, LEAVING U|
00002B40: 53 20 57 49 54 48 20 41 20 54 4F 54 41 4C 20 4F |S WITH A TOTAL O|
00002B50: 46 20 20 31 30 00 82 33 65 01 99 22 20 42 59 54 |F 10..3e.." BYT|
00002B60: 45 53 20 54 4F 20 53 54 4F 52 45 20 45 49 54 48 |ES TO STORE EITH|
00002B70: 45 52 20 35 20 4E 55 4D 42 45 52 53 20 4F 52 20 |ER 5 NUMBERS OR |
00002B80: 31 30 00 AE 33 66 01 99 22 20 43 48 41 52 41 43 |10..3f.." CHARAC|
00002B90: 54 45 52 53 2E 28 20 45 41 43 48 20 43 48 41 52 |TERS.( EACH CHAR|
00002BA0: 41 43 54 45 52 20 54 41 4B 45 53 20 55 50 00 DC |ACTER TAKES UP..|
00002BB0: 33 67 01 99 22 20 4F 4E 45 20 42 59 54 45 2C 20 |3g.." ONE BYTE, |
00002BC0: 57 48 49 4C 45 20 45 41 43 48 20 4E 55 4D 42 45 |WHILE EACH NUMBE|
00002BD0: 52 20 4E 45 45 44 53 20 54 57 4F 29 00 E3 33 68 |R NEEDS TWO)..3h|
00002BE0: 01 99 22 00 EC 33 69 01 89 34 31 33 00 F5 33 6A |.."..3i..413..3j|
00002BF0: 01 8D 34 32 30 00 22 34 6B 01 99 22 20 C9 46 20 |..420."4k.." .F |
00002C00: 57 45 20 57 49 53 48 20 54 4F 20 49 4E 49 54 49 |WE WISH TO INITI|
00002C10: 41 4C 49 5A 45 20 54 48 45 20 41 52 52 41 59 20 |ALIZE THE ARRAY |
00002C20: 41 54 00 4B 34 6C 01 99 22 20 54 48 45 20 54 49 |AT.K4l.." THE TI|
00002C30: 4D 45 20 57 45 20 43 52 45 41 54 45 20 49 54 20 |ME WE CREATE IT |
00002C40: 57 45 20 43 41 4E 20 55 53 45 2C 00 52 34 6D 01 |WE CAN USE,.R4m.|
00002C50: 99 22 00 78 34 6E 01 99 22 20 43 52 45 41 54 45 |.".x4n.." CREATE|
00002C60: 20 54 45 4E 20 31 20 2C 20 32 20 2C 20 33 20 2C | TEN 1 , 2 , 3 ,|
00002C70: 20 34 20 2C 20 35 20 2C 00 7F 34 6F 01 99 22 00 | 4 , 5 ,..4o..".|
00002C80: A9 34 70 01 99 22 20 43 52 45 41 54 45 20 4D 41 |.4p.." CREATE MA|
00002C90: 4B 45 53 20 41 20 44 49 43 54 49 4F 4E 41 52 59 |KES A DICTIONARY|
00002CA0: 20 45 4E 54 52 59 20 41 53 00 D6 34 71 01 99 22 | ENTRY AS..4q.."|
00002CB0: 20 57 45 4C 4C 20 42 55 54 20 44 4F 45 53 20 4E | WELL BUT DOES N|
00002CC0: 4F 54 20 41 4C 4C 4F 43 41 54 45 20 41 4E 59 20 |OT ALLOCATE ANY |
00002CD0: 53 50 41 43 45 2E 00 FF 34 72 01 99 22 20 D4 48 |SPACE...4r.." .H|
00002CE0: 49 53 20 49 53 20 44 4F 4E 45 20 42 59 20 20 2C |IS IS DONE BY ,|
00002CF0: 20 20 57 48 49 43 48 20 54 41 4B 45 53 20 41 00 | WHICH TAKES A.|
00002D00: 2C 35 73 01 99 22 20 41 20 4E 55 4D 42 45 52 20 |,5s.." A NUMBER |
00002D10: 4F 46 46 20 54 48 45 20 53 54 41 43 4B 20 41 4E |OFF THE STACK AN|
00002D20: 44 20 41 44 44 53 20 49 54 20 4F 4E 00 51 35 74 |D ADDS IT ON.Q5t|
00002D30: 01 99 22 20 54 4F 20 54 48 45 20 45 4E 44 20 4F |.." TO THE END O|
00002D40: 46 20 54 48 45 20 44 45 46 49 4E 49 54 49 4F 4E |F THE DEFINITION|
00002D50: 2E 00 58 35 75 01 99 22 00 84 35 76 01 99 22 20 |..X5u.."..5v.." |
00002D60: D2 45 4D 45 4D 42 45 52 20 54 48 41 54 20 57 48 |.EMEMBER THAT WH|
00002D70: 45 4E 20 57 45 20 45 58 45 43 55 54 45 20 41 20 |EN WE EXECUTE A |
00002D80: 57 4F 52 44 00 B1 35 77 01 99 22 20 4C 49 4B 45 |WORD..5w.." LIKE|
00002D90: 20 20 20 54 45 4E 20 20 20 54 48 45 20 41 44 44 | TEN THE ADD|
00002DA0: 52 45 53 53 20 4F 46 20 49 54 27 53 20 50 41 52 |RESS OF IT'S PAR|
00002DB0: 2D 00 DB 35 78 01 99 22 20 41 4D 45 54 45 52 20 |-..5x.." AMETER |
00002DC0: 46 49 45 4C 44 20 49 53 20 4C 45 46 54 20 4F 4E |FIELD IS LEFT ON|
00002DD0: 20 54 48 45 20 53 54 41 43 4B 2E 00 08 36 79 01 | THE STACK...6y.|
00002DE0: 99 22 20 D4 48 49 53 20 49 53 20 4A 55 53 54 20 |." .HIS IS JUST |
00002DF0: 54 48 45 20 41 44 44 52 45 53 53 20 4F 46 20 54 |THE ADDRESS OF T|
00002E00: 48 45 20 46 49 52 53 54 00 32 36 7A 01 99 22 20 |HE FIRST.26z.." |
00002E10: 4E 55 4D 42 45 52 20 49 4E 20 54 48 45 20 41 52 |NUMBER IN THE AR|
00002E20: 52 41 59 2E 20 D7 45 20 43 41 4E 20 47 45 54 20 |RAY. .E CAN GET |
00002E30: 41 54 00 5F 36 7B 01 99 22 20 53 41 59 2C 20 54 |AT._6{.." SAY, T|
00002E40: 48 45 20 46 49 46 54 48 20 4E 55 4D 42 45 52 2C |HE FIFTH NUMBER,|
00002E50: 20 42 59 20 44 4F 49 4E 47 20 54 48 49 53 2D 00 | BY DOING THIS-.|
00002E60: 66 36 7C 01 99 22 00 7E 36 7D 01 99 22 20 20 20 |f6|..".~6}.." |
00002E70: 20 54 45 4E 20 20 38 20 20 2B 20 20 20 40 00 85 | TEN 8 + @..|
00002E80: 36 7E 01 99 22 00 AD 36 7F 01 99 22 20 20 40 20 |6~.."..6..." @ |
00002E90: 20 4F 46 20 43 4F 55 52 53 45 20 52 45 54 55 52 | OF COURSE RETUR|
00002EA0: 4E 53 20 54 48 45 20 4E 55 4D 42 45 52 00 B6 36 |NS THE NUMBER..6|
00002EB0: 80 01 89 34 31 33 00 BF 36 81 01 8D 34 32 30 00 |...413..6...420.|
00002EC0: EA 36 82 01 99 22 20 53 54 4F 52 45 44 20 41 54 |.6..." STORED AT|
00002ED0: 20 54 48 45 20 41 44 44 52 45 53 53 20 4F 4E 20 | THE ADDRESS ON |
00002EE0: 54 48 45 20 53 54 41 43 4B 2E 00 F1 36 83 01 99 |THE STACK...6...|
00002EF0: 22 00 1A 37 84 01 99 22 20 C9 46 20 59 4F 55 20 |"..7..." .F YOU |
00002F00: 41 52 45 20 44 45 41 4C 49 4E 47 20 57 49 54 48 |ARE DEALING WITH|
00002F10: 20 43 48 41 52 41 43 54 45 52 00 42 37 85 01 99 | CHARACTER.B7...|
00002F20: 22 20 44 41 54 41 20 59 4F 55 27 4C 4C 20 4E 45 |" DATA YOU'LL NE|
00002F30: 45 44 20 41 43 43 45 53 53 20 44 41 54 41 20 4F |ED ACCESS DATA O|
00002F40: 4E 45 00 6C 37 86 01 99 22 20 42 59 54 45 20 41 |NE.l7..." BYTE A|
00002F50: 54 20 41 20 54 49 4D 45 2E 20 C6 4F 52 20 54 48 |T A TIME. .OR TH|
00002F60: 49 53 20 C6 CF D2 D4 C8 20 48 41 53 00 88 37 87 |IS ..... HAS..7.|
00002F70: 01 99 22 20 54 48 45 20 46 4F 4C 4C 4F 57 49 4E |.." THE FOLLOWIN|
00002F80: 47 20 57 4F 52 44 53 2C 00 8F 37 88 01 99 22 00 |G WORDS,..7...".|
00002F90: B5 37 89 01 99 22 20 20 20 43 2C 20 20 20 20 20 |.7..." C, |
00002FA0: 20 20 20 20 41 4C 4C 4F 54 20 4F 4E 45 20 42 59 | ALLOT ONE BY|
00002FB0: 54 45 20 49 4E 00 D9 37 8A 01 99 22 20 20 20 20 |TE IN..7..." |
00002FC0: 20 20 20 20 20 20 20 20 20 20 54 48 45 20 44 49 | THE DI|
00002FD0: 43 54 49 4F 4E 41 52 59 2E 00 E0 37 8B 01 99 22 |CTIONARY...7..."|
00002FE0: 00 09 38 8C 01 99 22 20 20 20 43 40 20 20 20 20 |..8..." C@ |
00002FF0: 20 20 20 20 20 52 45 54 55 52 4E 20 4F 4E 45 20 | RETURN ONE |
00003000: 42 59 54 45 20 46 52 4F 4D 00 33 38 8D 01 99 22 |BYTE FROM.38..."|
00003010: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 44 | AD|
00003020: 44 52 45 53 53 20 4F 4E 20 54 48 45 20 53 54 41 |DRESS ON THE STA|
00003030: 43 4B 2E 00 3A 38 8E 01 99 22 00 64 38 8F 01 99 |CK..:8...".d8...|
00003040: 22 20 20 20 43 21 20 20 20 20 20 20 20 20 20 53 |" C! S|
00003050: 54 4F 52 45 20 4F 4E 45 20 42 59 54 45 20 41 54 |TORE ONE BYTE AT|
00003060: 20 54 48 45 00 8E 38 90 01 99 22 20 20 20 20 20 | THE..8..." |
00003070: 20 20 20 20 20 20 20 20 20 41 44 44 52 45 53 53 | ADDRESS|
00003080: 20 4F 4E 20 54 48 45 20 53 54 41 43 4B 2E 00 95 | ON THE STACK...|
00003090: 38 91 01 99 22 00 BE 38 92 01 99 22 20 20 D4 48 |8..."..8..." .H|
000030A0: 45 52 45 20 41 52 45 20 53 54 49 4C 4C 20 4D 41 |ERE ARE STILL MA|
000030B0: 4E 59 20 4D 4F 52 45 20 55 53 45 46 55 4C 00 EA |NY MORE USEFUL..|
000030C0: 38 93 01 99 22 20 C6 CF D2 D4 C8 20 57 4F 52 44 |8..." ..... WORD|
000030D0: 53 20 54 48 41 54 20 57 45 20 48 41 56 45 4E 27 |S THAT WE HAVEN'|
000030E0: 54 20 43 4F 56 45 52 45 44 2E 00 16 39 94 01 99 |T COVERED...9...|
000030F0: 22 20 C1 20 43 4F 4D 50 4C 45 54 45 20 4C 49 53 |" . COMPLETE LIS|
00003100: 54 20 49 53 20 41 56 41 49 4C 41 42 4C 45 20 4F |T IS AVAILABLE O|
00003110: 4E 20 56 4F 4C 2D 00 35 39 95 01 99 22 20 55 4D |N VOL-.59..." UM|
00003120: 45 20 38 20 4F 46 20 54 48 45 20 C7 CF CC C4 A0 |E 8 OF THE .....|
00003130: C4 C9 D3 CB 2E 00 3C 39 96 01 99 22 00 43 39 97 |......<9...".C9.|
00003140: 01 99 22 00 6A 39 98 01 99 22 20 20 20 20 20 20 |..".j9..." |
00003150: 12 5E 20 50 52 45 56 20 50 47 20 20 5F 20 C7 CF |.^ PREV PG _ ..|
00003160: CC C4 A0 C4 C9 D3 CB 92 22 3B 00 7D 39 99 01 A1 |........";.}9...|
00003170: 41 24 3A 8B 41 24 B2 22 22 A7 34 30 39 00 94 39 |A$:.A$."".409..9|
00003180: 9A 01 8B 41 24 B2 22 5E 22 A7 50 47 B2 50 47 AB |...A$."^".PG.PG.|
00003190: 31 3A 89 39 00 A4 39 9B 01 8B 41 24 B2 22 5F 22 |1:.9..9...A$."_"|
000031A0: A7 34 32 33 00 AD 39 9C 01 89 34 30 39 00 B4 39 |.423..9...409..9|
000031B0: 9D 01 99 22 00 E5 39 9E 01 99 22 20 20 12 53 50 |..."..9..." .SP|
000031C0: 41 43 45 20 4E 58 54 20 50 47 20 20 5E 20 50 52 |ACE NXT PG ^ PR|
000031D0: 45 56 20 50 47 20 20 5F 20 C7 CF CC C4 A0 C4 C9 |EV PG _ .......|
000031E0: D3 CB 92 22 3B 00 F8 39 9F 01 A1 41 24 3A 8B 41 |...";..9...A$:.A|
000031F0: 24 B2 22 22 A7 34 31 35 00 0F 3A A0 01 8B 41 24 |$."".415..:...A$|
00003200: B2 22 20 22 A7 50 47 B2 50 47 AA 31 3A 89 39 00 |." ".PG.PG.1:.9.|
00003210: 26 3A A1 01 8B 41 24 B2 22 5E 22 A7 50 47 B2 50 |&:...A$."^".PG.P|
00003220: 47 AB 31 3A 89 39 00 36 3A A2 01 8B 41 24 B2 22 |G.1:.9.6:...A$."|
00003230: 5F 22 A7 34 32 33 00 3F 3A A3 01 89 34 31 35 00 |_".423.?:...415.|
00003240: 5D 3A A4 01 99 22 93 20 20 20 20 20 20 20 20 20 |]:...". |
00003250: 20 20 20 20 20 20 20 12 C6 CF D2 D4 C8 00 64 3A | .......d:|
00003260: A5 01 99 22 00 6A 3A A6 01 8E 00 7A 3A A7 01 99 |...".j:....z:...|
00003270: 22 93 22 3A 9E 34 39 31 35 32 00 00 00 |".":.49152... |
........#.... (C)1985 GOLD DISK INC.)...
..A.... TUTORIAL: FORTH 3.G.....C...."."
:.53272,23:.53281,1.P....53280,6.Y...PG.
1......PG.11,40,63,86,109,132,155,178,20
1,224,247,270,293,316,339.R....(PG.15).3
62,385,408......". .FORTH
......"......".*...." THIS IS THE LAST
OF THREE TUTORIALS.W...." ON FORTH. WE W
ILL LOOK AT THE FOLLOW-.L...." ING CONCE
PTS,.S....".Z...."......" A) THE PARTS
OF A FORTH DEFINITION......."......"....
.." B) HOW FORTH EXECUTES DEFINITIONS..
....."......"......" C) DISK I/O AND B
LOCK BUFFERS.......".#....".D...." D) C
HARACTER STRING I/O..K....".R....".E....
" E) ARRAYS..L. .."...!.." SINCE THESE
ARE ADVANCED TOPICS, IT..."..".J.#.."
.SPACE NXT PG _ GOLD DISK.";...$..
A$:.A$."".36...%..A$." ".PG.PG.1:.9...&.
.A$."_".423...'..36...(..420.B.).." WOUL
D BE A GOOD IDEA FOR YOU TO REVIEW.O.*..
" THE PREVIOUS TUTORIALS. ALSO, SINCE A.
..+.." COMPLETE TREATMENT OF FORTH IS BE
YOND.I.,.." THE SCOPE OF THESE TUTORIALS
WE RECC-...-.." OMEND THE BOOK, STARTIN
G FORTH BY LEO......" BRODIE. ..
.............#./..".*.0..".F.1.." THE FO
RTH DICTIONARY.B.2.." ..................
.....3.." ALL VARIABLES, CONSTANTS, AN
D WORDS...4.." DEFINED USING THE COLON A
RE GIVEN AN...5.." ENTRY IN THE FORTH DI
CTIONARY. EACH OF...6.." THESE ENTRIES H
AS THE FOLLOWING FORM,...7..".<.8.."
.NAME FIELD".[.9.." .
LINK FIELD".~.:.." .CODE POINTER
FIELD". .;.." .PARAMETER FIELD"
...<.."...=.."...>..413...?..420.R.@.."
NAME FIELD...A.." .............B.." THIS
FIELD GIVES THE NAME OF THE VAR-.?.C.."
IABLE, CONSTANT, ETC. ONE BYTE IS USED.
L.D.." TO STORE THE LENGTH OF THE NAME W
HILE...E.." AS MANY BYTES AS NEEDED ARE
USED TO.E.F.." STORE IT'S ASCII REPRESE
NTATION. THE...G.." NAME FIELD IS OF CO
URSE HOW FORTH DIF-...H.." FERENTIATES B
ETWEEN DEFINITIONS..".I..".4.J.." LINK F
IELD.F.K.." ...........T.L.." THIS TWO B
YTE LINK IS THE MEMORY ADDR-...M.." ESS
OF THE NAME FIELD FOR THE PREVIOUS.P.N..
" ENTRY IN THE DICTIONARY. BECAUSE A DE-
...O.." FINITION CAN BE ANY LENGTH, THIS
LINK.+.P.." IS NEEDED TO SPEED UP DICTI
ONARY SEAR-.X.Q.." CHES. THE VERY FIRST
DICTIONARY ENTRY...R.." WILL HAVE IT'S L
INK SET TO ZERO. THIS...S.." MARKS THE E
ND OF THE DICTIONARY....T.."...U..413.F.
V..420...W.." CODE POINTER FIELD...X.."
...................&.Y.." THIS FIELD CON
TAINS A POINTER TO THE.T.Z.." CODE THAT
GETS EXECUTED FIRST WHENEVER...[.." A WO
RD IN THE DICTIONARY IS EXECUTED....\.."
SINCE A WORD CAN BE A CONSTANT, VARIA-.
Z.].." BLE OR COLON DEFINITION, EACH TY
PE...^.." MUST HAVE IT'S OWN PARTICULAR
CODE..1._.." FOR EXAMPLE, THE CODE FOR A
CONSTANT.].`.." WILL PLACE THE VALUE OF
THE CONSTANT...A.." ON THE STACK. HERE
IS A SUMMARY -...B.."...C.." TYPE
CODE ACTION.W.D.." ....
..............E.." A) CONSTANT - PUT
S THE VALUE ON THE...F.."
STACK..K.G.." B) VARIABLE - PUTS THE ADD
RESS OF THE.W.H.." VARIABL
E ON THE STACK....I.." C) COLON - EXE
CUTES REST OF THE.O.J.." DEFIN. W
ORDS IN THE DEFINITION..V.K.."...L..413.
..M..420...N.." PARAMETER FIELD...O.." .
...............D.P.." THIS IS THE LAST F
IELD IN A DICTIONARY.O.Q.." ENTRY. IN TH
E CASE OF A VARIABLE OR...R.." CONSTANT
DEFINITION, THIS FIELD WILL.H.S.." BE T
WO BYTES LONG AND WILL HOLD THE...T.."
VALUE OF THE CONSTANT OR VARIABLE....U..
" THINGS ARE A LITTLE MORE COMPLICATED.K
.V.." FOR A COLON DEFINITION. IN THIS CA
SE,.Y.W.." THE LENGTH OF THE PARAMETER F
IELD WILL...X.." DEPEND ON THE NUMBER OF
WORDS USED IN.T.Y.." THE DEFINITION. LE
T'S LOOK AT AN EXAM-...Z.." PLE. SUPPOSE
WE TYPE IN THIS -...{.."...|..".3.}.."
: DOUBLE DUP + ; .RETURN.^.~.
." : TRIPLE DUP DOUBLE + ; .RETURN.E
..."......" THE DICTIONARY ENTRY FOR T
RIPLE......" WOULD LOOK LIKE THIS,......
"......413.C....420......" N F .
6 'T'......" A I . 'R' 'I'.....
." M E . 'P' 'L'./...." E L .
'E'.>...." D ..\...."
LINK FIELD.Z...." CODE FIE
LD......"......" P F . ADDRESS OF D
UP......" A I ..U...." R E . ADDR
ESS OF DOUBLE......" A L ......." M
D . ADDRESS OF +......" ..6...
." . ADDRESS OF EXIT.=....".J.
..." THE LINK FIELD POINTS TO WHAT WAS T
HE......" THE LAST ENTRY (I.E. TO DOUBL
E ). OF.E...." COURSE, FOR FORTH TO PUT
THE ADDRESSES......" OF DUP, +, ETC. IN
THE PARAMETER FIELD.!...." IT HAD TO SEA
RCH FOR THEM IN THE DICT-.*....413.3....
420._...." IONARY. NOW THAT TRIPLE H
AS BEEN......" DEFINED WE CAN EXECUTE IT
BY TYPING......" IT'S NAME AND HITTING
RETURN. FORTH......" SEARCHES THE DICTI
ONARY FOR TRIPLE... .." AND UPON FINDI
NG IT STARTS EXECUTING.<...." THE CODE P
OINTED TO BY THE CODE FIELD..C....".Q...
." IMAGINE THAT EXECUTION IS PROCEEDIN
G......" AND THE WORD DOUBLE IS ABOUT TO
BEGIN.L...." EXECUTING. REMEMBER THAT I
T HAS A SIM-......" ILAR DICTIONARY ENTR
Y TO TRIPLE. IN.#...." PARTICULAR, IT HA
S AN IDENTICAL CODE.Q...." POINTER FIELD
(SINCE IT TOO IS A COLON.|...." DEFINIT
ION). WHAT THIS CODE DOES IS......" THE
FOLLOWING: IT FIRST PUTS THE VALUE.X....
" OF THE INTERPRETER POINTER ON THE RET-
......" URN STACK (THIS STACK IS SIMILAR
TO.1...." THE STACK USED BY WORDS LIKE
DUP, SWAP._...." ETC.). THE INTERPRETER
POINTER IS USED......" TO POINT TO THE P
ART OF THE PARAMETER......" FIELD THAT W
ILL BE EXECUTED NEXT. IN.B....413.K....
420......" THIS CASE IT WAS POINTING TO
THE LOC-.&...." ATION CONTAINING THE ADD
RESS OF +. THE.T...." NEXT THING THAT HA
PPENS IS THE ADDRESS......" OF THE PARAM
ETER FIELD OF DOUBLE IS......" STORED
IN THE INTERPRETER POINTER. NOW......" E
ACH OF THE WORDS IN DOUBLE IS EXEC-...
..." UTED IN TURN UNTIL EXIT IS REACHE
D..8...." EXIT IS A PREDEFINED WORD WHI
CH TAKES.F...." THE ADDRESS ON TOP OF TH
E RETURN STACK......" A PUTS IT BACK IN
THE INTERPRETER......" POINTER. WE ARE N
OW BACK EXECUTING THE......" WORDS IN T
RIPLE. THE INTERPRETER......" POINTER W
ILL BE SET TO POINT TO EXIT.A...." AND
+ WILL BEGIN EXECUTING. WHEN WE.N.A.."
EXIT FROM TRIPLE WE GO BACK TO WHAT..
.B.." IS CALLED THE INTERPRETER, WHICH I
S.G.C.." THE PART OF FORTH THAT ACTS ON
WHAT WE...D.." TYPE IN AT THE KEYBOARD..
..E..".. F.." AFTER THIS LENGTHY BIT OF
THEORY WE.C G.." MOVE ON TO MORE PRACTIC
AL MATTERS..L H..413.U I..420.\ J..".P K
.." INPUT/OUTPUT.. L.." .............. M
.." IN THIS SECTION WE'LL LOOK AT HOW.Y
N.." FORTH DOES I/O TO AND FROM THE TERM
-..!O.." INAL AND DISK. SOME OF WHAT YOU
WILL.3!P.." SEE HAS BEEN COVERED IN PRE
VIOUS FORTH.^!Q.." TUTORIALS BUT WILL BE
INCLUDED HERE.W!R.." FOR COMPLETENESS..
~!S.."..!T.." BLOCK BUFFERS..!U.." .....
.........U!V.." FORTH MAINTAINS 3 BUFFE
RS IN MEMORY,.."W.." EACH CAPABLE OF HOL
DING 1024 BYTES..."X..".3"Y.." YOU MAY R
ECALL THAT TO GET A LISTING.]"Z.." OF A
FORTH SCREEN YOU WOULD ENTER,.D"..."..".
.." SCREEN# LIST .RETURN.."...".."...
" THE CONTENTS OF THE SCREEN ARE TRANS-.
."...413.I"...420.."..." FERRED FROM DIS
K INTO ONE OF THESE. #..." BUFFERS. THIS
BUFFER IS THEN LABELLED.M#..." WITH THE
GIVEN SCREEN NUMBER AND IT'S.Z#..." CON
TENTS DISPLAYED. IF YOU THEN WANT-..#...
" ED TO LIST THIS SCREEN FORTH WOULD.P#
..." NOT HAVE TO LOAD IT IN AGAIN. IF WE
..#..." EDIT OR LIST ANOTHER TWO SCREENS
THEY.*$..." WILL LOAD INTO THE REMAININ
G BUFFERS..V$..." NOW ALL THE BUFFERS AR
E IN USE. WHAT..$..." IF WE NOW WANT TO
USE A SCREEN THAT..$..." ISN'T IN MEMORY
? THE BUFFER THAT WAS.Z$..." REFERENCED
LEAST RECENTLY WILL BE OV-..%..." ERWRIT
TEN. OF.COURSE THE OVERWRITTEN.4%..." SC
REEN IS STILL SAFELY STORED ON DISK..B%.
.." IF HOWEVER THIS SCREEN HAD BEEN EDIT
ED..%..." IT WOULD BE SAVED TO DISK BEFO
RE BEING..%..." OVERWRITTEN...%...".X%..
." TO MAKE SURE THAT ALL EDITED SCREENS
..&..." ARE WRITTEN TO DISK YOU MUST USE
,..&..."..&...413..&...420.1&..." FLUSH
.RETURN.8&...".C&..." IF ON THE OTHER
HAND YOU DON'T WANT..&..." ANY OF THE SC
REENS UPDATED USE,..&..."..&..." EMPTY
-BUFFERS .RETURN..&..."..&..." WHICH MAK
ES ALL BUFFERS AVAILABLE. IF..'..." YOU
WANT TO BRING A SCREEN INTO MEMORY.@'...
" BUT DON'T WANT TO PRINT IT OUT OR EDIT
.['..." IT THEN USE ONE OF,.B'...".Z'...
" SCREEN# BLOCK..'..." SCREEN# BUF
FER..'...".H'..." BLOCK COPIES THE CONT
ENTS OF THE GIV-..'..." EN SCREEN FROM D
ISK INTO AN AVAILABLE.#(..." BUFFER AND
LABELS THIS BUFFER WITH THE.P(..." SCREE
N NUMBER. BUFFER ASSIGNS ONE OF.~(..."
THESE BLOCK BUFFERS WITHOUT READING IN..
(..." ANYTHING FROM DISK. BOTH OF THESE
..(...413..(...420..(..." WORDS LEAVE T
HE ADDRESS OF THE FIRST..)..." BYTE IN T
HE BLOCK ON TOP OF THE STACK,.=)..." ALL
OWING US TO STORE DATA THERE..D)...".L).
.." 999 100 BUFFER 1023 + ! UPDATE.S).
.."..)..." THIS SEQUENCE STORES THE NUMB
ER 999 IN.O)..." THE LAST TWO BYTES OF
THE BUFFER THAT..)..." WAS ASSIGNED TO S
CREEN 100. UPDATE.)*..." IS A WORD THA
T FLAGS THE MOST RECENTLY.W*..." REFEREN
CED BUFFER AS HAVING BEEN MODI-..*..." F
IED. NOW IF WE DO A FLUSH, OUR DATA..*..
." WILL BE SAVED ON DISK...*...".D*..."
CHARACTER STRING I/O..*..." ............
..........+..." MANY PROGRAMMING APPLIC
ATIONS REQUIRE.<+ .." THE INPUTTING OR O
UTPUTTING OF STRINGS.F+!.." OF CHARACTER
DATA. IN FORTH WE CAN..+".." READ INPUT
FROM THE KEYBOARD USING ONE..+#.." OF T
HE FOLLOWING,..+$..413..+%..420.F+&.."..
+'.." KEY WHEN EXECUTED, THIS WORD P
UTS..,(.." THE ASCII VALUE OF TH
E FIRST.M,).." KEY TYPED ON TOP
OF THE STACK..T,*.."..,+.." EXPECT GIVE
N AN ADDRESS AND A COUNT..,,.."
N ON THE STACK, WHEN EXECUTED,.Z,-.."
WAITS FOR N CHARACTERS (OR A..-...
" CARRIAGE RETURN) AND PLACES.2-
/.." THE CHARACTERS SENT IN MEMO
RY.`-0.." STARTING AT THE GIVEN
ADDRESS..T-1.." E.G..{-2.."..-3.
." 100 BLOCK 80 EXPECT FLUSH..-4..
".V-5.." THIS SEQUENCE STORES 80 CHARACT
ERS IN..-6.." SCREEN 100...-7.."...8.."
THE COMPLEMENTS TO THESE COMMANDS ARE.%
.9..".Q.:.." EMIT SENDS TO THE SCREEN
THE CHAR-.Z.;..413.C.<..420...=.."
ACTER GIVEN BY THE ASCII VALUE...>.."
ON TOP OF STACK....?.."...@.." TY
PE SENDS N CHARACTERS STARTING AT../A.
." THE GIVEN ADDRESS TO THE SCREE
N.$/B.." E.G..+/C..".F/D.." : LIS
TSCREEN BLOCK.G/E.." 32
0 DO../F.." DUP I 32 *
+../G.." 32 TYPE.H/H.."
LOOP DROP ;.O/I.."../J.." F
OR INSTANCE, 9 LISTSCREEN .RETURN.)0K.
." WOULD DISPLAY THE CONTENTS OF SCREEN
9.W0L.." THIS WORD IS IDENTICAL TO LIST
EXCEPT..0M.." THAT NO LINE NUMBERS ARE
DISPLAYED. IF..0N.." YOU DON'T UNDERSTAN
D ALL THE WORDS IN..0O.." THIS DEFINITIO
N YOU SHOULD REVIEW THE..1P.." PREVIOUS
FORTH TUTORIALS...1Q.."..1R..413..1S..4
20.@1T.." SOME MISCELLANEOUS FORTH IDEAS
.F1U.." ...............................T
1V.." ARRAYS..1W.." ........1X.." YOU'RE
PROBABLY ALL FAMILIAR WITH ARR-..1Y.."
AYS IN BASIC. WE CAN DEFINE ARRAYS IN..2
Z.." FORTH AS WELL. THERE ARE TWO WAYS T
O..2[.." DO THIS,. 2\..".@2].." VARIABL
E TEN 8 ALLOT.G2^..".U2_.." WE'VE SE
EN THE WORD VARIABLE BEFORE.. 2`.." HER
E, IT CREATES A DICTIONARY ENTRY.M2A.."
NAMED TEN . IT ALSO LEAVES ROOM FOR 2..2
B.." BYTES IN IT'S PARAMETER FIELD. 8 AL
LOT.(3C.." EXTENDS THE PARAMETER FIELD B
Y 8 MORE.U3D.." BYTES, LEAVING US WITH A
TOTAL OF 10..3E.." BYTES TO STORE EITH
ER 5 NUMBERS OR 10..3F.." CHARACTERS.( E
ACH CHARACTER TAKES UP..3G.." ONE BYTE,
WHILE EACH NUMBER NEEDS TWO)..3H.."..3I.
.413..3J..420."4K.." IF WE WISH TO INITI
ALIZE THE ARRAY AT.K4L.." THE TIME WE CR
EATE IT WE CAN USE,.R4M..".X4N.." CREATE
TEN 1 , 2 , 3 , 4 , 5 ,.4O.."..4P.." C
REATE MAKES A DICTIONARY ENTRY AS.V4Q.."
WELL BUT DOES NOT ALLOCATE ANY SPACE...
4R.." THIS IS DONE BY , WHICH TAKES A.
,5S.." A NUMBER OFF THE STACK AND ADDS I
T ON.Q5T.." TO THE END OF THE DEFINITION
..X5U.."..5V.." REMEMBER THAT WHEN WE EX
ECUTE A WORD..5W.." LIKE TEN THE ADD
RESS OF IT'S PAR-..5X.." AMETER FIELD IS
LEFT ON THE STACK...6Y.." THIS IS JUST
THE ADDRESS OF THE FIRST.26Z.." NUMBER I
N THE ARRAY. WE CAN GET AT._6{.." SAY, T
HE FIFTH NUMBER, BY DOING THIS-.F6|..".~
6}.." TEN 8 + @..6~.."..6.." @
OF COURSE RETURNS THE NUMBER..6...413..
6...420..6..." STORED AT THE ADDRESS ON
THE STACK...6..."..7..." IF YOU ARE DEAL
ING WITH CHARACTER.B7..." DATA YOU'LL NE
ED ACCESS DATA ONE.L7..." BYTE AT A TIME
. FOR THIS FORTH HAS..7..." THE FOLLOWIN
G WORDS,..7..."..7..." C, ALLO
T ONE BYTE IN.Y7..." THE DI
CTIONARY...7..."..8..." C@ RET
URN ONE BYTE FROM.38..." AD
DRESS ON THE STACK..:8...".D8..." C!
STORE ONE BYTE AT THE..8..."
ADDRESS ON THE STACK...8..."..8
..." THERE ARE STILL MANY MORE USEFUL..
8..." FORTH WORDS THAT WE HAVEN'T COVERE
D...9..." A COMPLETE LIST IS AVAILABLE O
N VOL-.59..." UME 8 OF THE GOLD DISK..<9
...".C9...".J9..." .^ PREV PG _ GO
LD DISK.";.}9...A$:.A$."".409..9...A$."^
".PG.PG.1:.9..9...A$."_".423..9...409..9
..."..9..." .SPACE NXT PG ^ PREV PG _
GOLD DISK.";..9...A$:.A$."".415..: ..A$
." ".PG.PG.1:.9.&:...A$."^".PG.PG.1:.9.6
:...A$."_".423.?:...415.]:...".
.FORTH.D:...".J:....Z:...".":.491
52...
×
C64 Image
> CLICK IMAGE PREVIEW FOR FULL MODAL