home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / PowerMac / PPC Chipbasic2.9b2.sit / chipbasic.2.9b2.README next >
MacBinary  |  1994-03-17  |  5.3 KB  |  [TEXT/R*ch]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: chipbasic.2.9b2.README

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Mar 17 00:12:39 1994, modified Thu Mar 17 00:12:39 1994, creator BBEdit, type ASCII, 4409 bytes "chipbasic.2.9b2.README" , at 0x11b9 670 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[R*ch]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 16 63 68 69 70 62 61 | 73 69 63 2e 32 2e 39 62 |..chipba|sic.2.9b|
|00000010| 32 2e 52 45 41 44 4d 45 | 00 00 00 00 00 00 00 00 |2.README|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 52 2a 63 | 68 01 00 00 00 00 00 00 |.TEXTR*c|h.......|
|00000050| 00 00 00 00 00 11 39 00 | 00 02 9e a9 ad 97 47 a9 |......9.|......G.|
|00000060| ad 97 47 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..G.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 04 fd 00 00 |........|........|
|00000080| 2a 70 70 63 5f 63 68 69 | 70 62 61 73 69 63 20 32 |*ppc_chi|pbasic 2|
|00000090| 2e 39 62 32 20 52 45 41 | 44 4d 45 2a 0d 0d 45 76 |.9b2 REA|DME*..Ev|
|000000a0| 65 72 79 20 2a 72 65 61 | 6c 2a 20 70 65 72 73 6f |ery *rea|l* perso|
|000000b0| 6e 61 6c 20 63 6f 6d 70 | 75 74 65 72 20 73 68 6f |nal comp|uter sho|
|000000c0| 75 6c 64 20 63 6f 6d 65 | 20 77 69 74 68 20 61 20 |uld come| with a |
|000000d0| 42 41 53 49 43 20 69 6e | 74 65 72 70 72 65 74 65 |BASIC in|terprete|
|000000e0| 72 2e 0d 48 65 72 65 27 | 73 20 6d 79 20 63 6f 6e |r..Here'|s my con|
|000000f0| 74 72 69 62 75 74 69 6f | 6e 20 66 6f 72 20 74 68 |tributio|n for th|
|00000100| 65 20 6e 65 77 20 50 6f | 77 65 72 20 4d 61 63 69 |e new Po|wer Maci|
|00000110| 6e 74 6f 73 68 20 6d 61 | 63 68 69 6e 65 73 2e 20 |ntosh ma|chines. |
|00000120| 20 49 74 27 73 20 61 0d | 6c 69 6e 65 20 6e 75 6d | It's a.|line num|
|00000130| 62 65 72 20 62 61 73 65 | 64 20 42 41 53 49 43 20 |ber base|d BASIC |
|00000140| 69 6e 74 65 72 70 72 65 | 74 65 72 20 73 69 6d 69 |interpre|ter simi|
|00000150| 6c 61 72 20 74 6f 20 74 | 68 65 20 41 70 70 6c 65 |lar to t|he Apple|
|00000160| 73 6f 66 74 20 42 41 53 | 49 43 20 74 68 61 74 0d |soft BAS|IC that.|
|00000170| 63 61 6d 65 20 77 69 74 | 68 20 74 68 65 20 41 70 |came wit|h the Ap|
|00000180| 70 6c 65 20 5d 5b 2b 20 | 28 74 68 61 74 27 73 20 |ple ][+ |(that's |
|00000190| 41 70 70 6c 65 20 5d 5b | 2c 20 2a 4e 4f 54 2a 20 |Apple ][|, *NOT* |
|000001a0| 4d 61 63 20 49 49 20 66 | 6f 72 20 79 6f 75 0d 6e |Mac II f|or you.n|
|000001b0| 65 77 63 6f 6d 65 72 73 | 29 2e 20 20 54 68 69 73 |ewcomers|). This|
|000001c0| 20 76 65 72 73 69 6f 6e | 20 72 75 6e 73 20 4f 4e | version| runs ON|
|000001d0| 4c 59 20 6f 6e 20 50 6f | 77 65 72 20 4d 61 63 73 |LY on Po|wer Macs|
|000001e0| 2e 0d 0d 43 68 69 70 6d | 75 6e 6b 20 42 61 73 69 |...Chipm|unk Basi|
|000001f0| 63 20 69 73 20 61 20 73 | 69 6d 70 6c 65 20 42 61 |c is a s|imple Ba|
|00000200| 73 69 63 20 69 6e 74 65 | 72 70 72 65 74 65 72 20 |sic inte|rpreter |
|00000210| 66 6f 72 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 |for the |Macintos|
|00000220| 68 2e 20 20 49 74 20 69 | 73 0d 73 69 6d 69 6c 61 |h. It i|s.simila|
|00000230| 72 20 74 6f 20 74 68 65 | 20 6c 69 6e 65 20 6e 75 |r to the| line nu|
|00000240| 6d 62 65 72 20 62 61 73 | 65 64 20 4d 75 6d 62 6c |mber bas|ed Mumbl|
|00000250| 65 53 6f 66 74 20 42 41 | 53 49 43 20 69 6e 74 65 |eSoft BA|SIC inte|
|00000260| 72 70 72 65 74 65 72 73 | 20 6f 66 20 63 69 72 63 |rpreters| of circ|
|00000270| 61 0d 31 39 38 30 2e 20 | 20 49 74 73 20 72 6f 6f |a.1980. | Its roo|
|00000280| 74 73 20 61 72 65 20 66 | 72 6f 6d 20 61 20 70 61 |ts are f|rom a pa|
|00000290| 73 63 61 6c 20 70 72 6f | 67 72 61 6d 2c 20 62 61 |scal pro|gram, ba|
|000002a0| 73 69 63 2e 70 2c 20 74 | 68 61 74 20 77 61 73 20 |sic.p, t|hat was |
|000002b0| 70 61 72 74 20 6f 66 0d | 74 68 65 20 74 65 73 74 |part of.|the test|
|000002c0| 20 69 6e 70 75 74 20 73 | 75 69 74 65 20 74 6f 20 | input s|uite to |
|000002d0| 70 32 63 2c 20 61 20 70 | 61 73 63 61 6c 20 74 6f |p2c, a p|ascal to|
|000002e0| 20 63 20 74 72 61 6e 73 | 6c 61 74 6f 72 2e 20 20 | c trans|lator. |
|000002f0| 42 6f 74 68 20 62 61 73 | 69 63 2e 70 0d 61 6e 64 |Both bas|ic.p.and|
|00000300| 20 70 32 63 20 73 68 6f | 75 6c 64 20 62 65 20 69 | p2c sho|uld be i|
|00000310| 6e 20 74 68 65 20 6e 65 | 74 2e 73 6f 75 72 63 65 |n the ne|t.source|
|00000320| 73 20 61 72 63 68 69 76 | 65 73 20 73 6f 6d 65 77 |s archiv|es somew|
|00000330| 68 65 72 65 20 28 49 20 | 6e 6f 20 6c 6f 6e 67 65 |here (I |no longe|
|00000340| 72 0d 68 61 76 65 20 63 | 6f 70 69 65 73 29 2e 20 |r.have c|opies). |
|00000350| 20 49 20 63 6c 65 61 6e | 65 64 20 75 70 20 74 68 | I clean|ed up th|
|00000360| 65 20 74 72 61 6e 73 6c | 61 74 65 64 20 73 6f 75 |e transl|ated sou|
|00000370| 72 63 65 2c 20 70 6f 72 | 74 65 64 20 69 74 20 74 |rce, por|ted it t|
|00000380| 6f 20 74 68 65 20 4d 61 | 63 0d 61 6e 64 20 61 64 |o the Ma|c.and ad|
|00000390| 64 65 64 20 73 6f 6d 65 | 20 4d 61 63 20 73 70 65 |ded some| Mac spe|
|000003a0| 63 69 66 69 63 20 66 65 | 61 74 75 72 65 73 2e 0d |cific fe|atures..|
|000003b0| 0d 43 68 69 70 6d 75 6e | 6b 20 42 61 73 69 63 20 |.Chipmun|k Basic |
|000003c0| 32 2e 39 20 69 73 20 62 | 65 69 6e 67 20 64 69 73 |2.9 is b|eing dis|
|000003d0| 74 72 69 62 75 74 65 64 | 20 61 73 20 66 72 65 65 |tributed| as free|
|000003e0| 77 61 72 65 20 28 62 75 | 74 20 6f 6e 6c 79 20 66 |ware (bu|t only f|
|000003f0| 6f 72 20 74 68 6f 73 65 | 20 77 68 6f 0d 64 6f 6e |or those| who.don|
|00000400| 27 74 20 62 65 6c 69 65 | 76 65 20 74 68 61 74 20 |'t belie|ve that |
|00000410| 75 73 69 6e 67 20 74 68 | 65 20 42 41 53 49 43 20 |using th|e BASIC |
|00000420| 6c 61 6e 67 75 61 67 65 | 20 63 61 75 73 65 73 20 |language| causes |
|00000430| 62 72 61 69 6e 20 64 61 | 6d 61 67 65 2e 20 3a 2d |brain da|mage. :-|
|00000440| 29 0d 50 6c 65 61 73 65 | 20 6e 6f 74 65 20 74 68 |).Please| note th|
|00000450| 61 74 20 74 68 65 72 65 | 20 61 72 65 20 66 61 72 |at there| are far|
|00000460| 20 62 65 74 74 65 72 20 | 76 65 72 73 69 6f 6e 73 | better |versions|
|00000470| 20 6f 66 20 42 41 53 49 | 43 20 61 76 61 69 6c 61 | of BASI|C availa|
|00000480| 62 6c 65 0d 63 6f 6d 6d | 65 72 63 69 61 6c 6c 79 |ble.comm|ercially|
|00000490| 2e 20 20 4a 75 73 74 20 | 6e 6f 6e 65 20 74 68 61 |. Just |none tha|
|000004a0| 74 20 72 75 6e 20 50 6f | 77 65 72 50 43 20 6e 61 |t run Po|werPC na|
|000004b0| 74 69 76 65 20 61 6e 64 | 20 61 72 65 20 61 76 61 |tive and| are ava|
|000004c0| 69 6c 61 62 6c 65 20 66 | 6f 72 0d 74 68 65 20 4d |ilable f|or.the M|
|000004d0| 61 63 20 61 73 20 6f 66 | 20 4d 61 72 63 68 20 31 |ac as of| March 1|
|000004e0| 34 74 68 2e 0d 0d 56 65 | 72 73 69 6f 6e 20 32 2e |4th...Ve|rsion 2.|
|000004f0| 39 62 32 20 66 69 78 65 | 73 20 61 20 73 74 61 74 |9b2 fixe|s a stat|
|00000500| 69 63 20 74 65 78 74 20 | 62 75 67 20 77 68 65 6e |ic text |bug when|
|00000510| 20 72 75 6e 6e 69 6e 67 | 20 75 6e 64 65 72 20 76 | running| under v|
|00000520| 69 72 74 75 61 6c 20 6d | 65 6d 6f 72 79 2e 0d 0d |irtual m|emory...|
|00000530| 54 68 69 73 20 70 72 6f | 67 72 61 6d 20 69 73 20 |This pro|gram is |
|00000540| 64 69 73 74 72 69 62 75 | 74 65 64 20 69 6e 20 74 |distribu|ted in t|
|00000550| 68 65 20 68 6f 70 65 20 | 74 68 61 74 20 69 74 20 |he hope |that it |
|00000560| 77 69 6c 6c 20 62 65 20 | 75 73 65 66 75 6c 2c 20 |will be |useful, |
|00000570| 62 75 74 0d 57 49 54 48 | 4f 55 54 20 41 4e 59 20 |but.WITH|OUT ANY |
|00000580| 57 41 52 52 41 4e 54 59 | 3b 20 6e 6f 74 20 65 76 |WARRANTY|; not ev|
|00000590| 65 6e 20 74 68 65 20 69 | 6d 70 6c 69 65 64 20 77 |en the i|mplied w|
|000005a0| 61 72 72 61 6e 74 79 20 | 6f 66 20 4d 45 52 43 48 |arranty |of MERCH|
|000005b0| 41 4e 54 41 42 49 4c 49 | 54 59 0d 6f 72 20 46 49 |ANTABILI|TY.or FI|
|000005c0| 54 4e 45 53 53 20 46 4f | 52 20 41 20 50 41 52 54 |TNESS FO|R A PART|
|000005d0| 49 43 55 4c 41 52 20 50 | 55 52 50 4f 53 45 2e 0d |ICULAR P|URPOSE..|
|000005e0| 0d 2d 2d 2d 0d 51 75 69 | 63 6b 20 52 65 66 65 72 |.---.Qui|ck Refer|
|000005f0| 65 6e 63 65 20 66 6f 72 | 20 43 68 69 70 6d 75 6e |ence for| Chipmun|
|00000600| 6b 20 42 61 73 69 63 20 | 76 32 2e 39 62 32 20 2d |k Basic |v2.9b2 -|
|00000610| 20 4d 61 63 69 6e 74 6f | 73 68 20 76 65 72 73 69 | Macinto|sh versi|
|00000620| 6f 6e 0d 70 6f 72 74 65 | 64 20 62 79 20 52 6f 6e |on.porte|d by Ron|
|00000630| 61 6c 64 20 48 2e 20 4e | 69 63 68 6f 6c 73 6f 6e |ald H. N|icholson|
|00000640| 2c 20 4a 72 2e 09 39 34 | 2d 4d 61 72 2d 31 34 09 |, Jr..94|-Mar-14.|
|00000650| 72 68 6e 40 6e 65 74 63 | 6f 6d 2e 63 6f 6d 0d 0d |rhn@netc|om.com..|
|00000660| 2d 20 54 68 69 73 20 69 | 73 20 61 20 73 69 6d 70 |- This i|s a simp|
|00000670| 6c 65 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 42 61 |le versi|on of Ba|
|00000680| 73 69 63 20 73 69 6d 69 | 6c 61 72 20 74 6f 20 41 |sic simi|lar to A|
|00000690| 70 70 6c 65 73 6f 66 74 | 20 42 41 53 49 43 2e 0d |pplesoft| BASIC..|
|000006a0| 2d 20 54 68 65 20 69 6e | 74 65 72 70 72 65 74 65 |- The in|terprete|
|000006b0| 72 20 69 6e 63 6c 75 64 | 65 73 20 61 20 73 74 61 |r includ|es a sta|
|000006c0| 6e 64 61 72 64 20 6c 69 | 6e 65 20 6e 75 6d 62 65 |ndard li|ne numbe|
|000006d0| 72 20 62 61 73 65 64 20 | 65 64 69 74 6f 72 2e 0d |r based |editor..|
|000006e0| 2d 20 54 68 65 20 75 73 | 75 61 6c 20 61 6d 6f 75 |- The us|ual amou|
|000006f0| 6e 74 20 6f 66 20 6e 75 | 6d 65 72 69 63 20 61 6e |nt of nu|meric an|
|00000700| 64 20 73 74 72 69 6e 67 | 20 6f 70 65 72 61 74 6f |d string| operato|
|00000710| 72 73 20 61 6e 64 20 66 | 75 6e 63 74 69 6f 6e 73 |rs and f|unctions|
|00000720| 20 61 6e 64 0d 20 20 20 | 20 66 69 6c 65 20 49 2f | and. | file I/|
|00000730| 4f 20 73 74 61 74 65 6d | 65 6e 74 73 20 61 72 65 |O statem|ents are|
|00000740| 20 61 76 61 69 6c 61 62 | 6c 65 2e 0d 2d 20 54 68 | availab|le..- Th|
|00000750| 65 20 74 77 6f 20 76 61 | 72 69 61 62 6c 65 20 74 |e two va|riable t|
|00000760| 79 70 65 73 20 61 72 65 | 20 6c 6f 6e 67 20 66 6c |ypes are| long fl|
|00000770| 6f 61 74 73 20 61 6e 64 | 20 73 74 72 69 6e 67 73 |oats and| strings|
|00000780| 20 77 69 74 68 20 61 20 | 6d 61 78 69 6d 75 6d 20 | with a |maximum |
|00000790| 6c 65 6e 67 74 68 0d 20 | 20 20 20 6f 66 20 32 35 |length. | of 25|
|000007a0| 34 20 63 68 61 72 61 63 | 74 65 72 73 2e 20 20 56 |4 charac|ters. V|
|000007b0| 61 72 69 61 62 6c 65 20 | 6e 61 6d 65 73 20 63 61 |ariable |names ca|
|000007c0| 6e 20 62 65 20 75 70 20 | 74 6f 20 33 32 20 63 68 |n be up |to 32 ch|
|000007d0| 61 72 61 63 74 65 72 73 | 20 6c 6f 6e 67 2e 0d 2d |aracters| long..-|
|000007e0| 20 55 6e 75 73 75 61 6c | 20 66 65 61 74 75 72 65 | Unusual| feature|
|000007f0| 73 20 69 6e 63 6c 75 64 | 65 3a 0d 20 20 20 20 54 |s includ|e:. T|
|00000800| 68 65 20 61 62 69 6c 69 | 74 79 20 74 6f 20 70 6c |he abili|ty to pl|
|00000810| 61 79 20 61 63 63 75 72 | 61 74 65 20 6d 6f 72 73 |ay accur|ate mors|
|00000820| 65 20 63 6f 64 65 20 74 | 68 72 6f 75 67 68 20 74 |e code t|hrough t|
|00000830| 68 65 20 73 6f 75 6e 64 | 20 6d 61 6e 61 67 65 72 |he sound| manager|
|00000840| 2e 0d 20 20 20 20 53 6f | 6d 65 20 73 69 6d 70 6c |.. So|me simpl|
|00000850| 65 20 67 72 61 70 68 69 | 63 73 20 63 6f 6d 6d 61 |e graphi|cs comma|
|00000860| 6e 64 73 20 69 6e 20 61 | 20 73 65 70 61 72 61 74 |nds in a| separat|
|00000870| 65 20 67 72 61 70 68 69 | 63 73 20 77 69 6e 64 6f |e graphi|cs windo|
|00000880| 77 2e 0d 0d 4f 70 65 72 | 61 74 6f 72 2c 20 66 75 |w...Oper|ator, fu|
|00000890| 6e 63 74 69 6f 6e 73 20 | 61 6e 64 20 73 74 61 74 |nctions |and stat|
|000008a0| 65 6d 65 6e 74 73 20 69 | 6e 63 6c 75 64 65 3a 0d |ements i|nclude:.|
|000008b0| 0d 09 2b 20 2d 20 2a 20 | 2f 20 5e 20 6d 6f 64 20 |..+ - * |/ ^ mod |
|000008c0| 61 6e 64 20 6f 72 20 78 | 6f 72 20 6e 6f 74 0d 09 |and or x|or not..|
|000008d0| 73 71 72 28 29 20 6c 6f | 67 28 29 20 65 78 70 28 |sqr() lo|g() exp(|
|000008e0| 29 20 61 62 73 28 29 20 | 73 67 6e 28 29 20 73 69 |) abs() |sgn() si|
|000008f0| 6e 28 29 20 63 6f 73 28 | 29 20 74 61 6e 28 29 20 |n() cos(|) tan() |
|00000900| 6c 6f 67 28 29 20 61 72 | 63 74 61 6e 28 29 0d 09 |log() ar|ctan()..|
|00000910| 69 6e 74 28 29 20 72 6e | 64 28 29 20 70 65 65 6b |int() rn|d() peek|
|00000920| 28 29 20 76 61 6c 28 29 | 20 61 73 63 28 29 20 6c |() val()| asc() l|
|00000930| 65 6e 28 29 20 66 72 65 | 0d 09 6d 69 64 24 28 29 |en() fre|..mid$()|
|00000940| 20 72 69 67 68 74 24 28 | 29 20 6c 65 66 74 24 28 | right$(|) left$(|
|00000950| 29 20 73 74 72 24 28 29 | 20 63 68 72 24 28 29 0d |) str$()| chr$().|
|00000960| 09 6c 65 74 20 67 6f 74 | 6f 20 67 6f 73 75 62 20 |.let got|o gosub |
|00000970| 72 65 74 75 72 6e 20 66 | 6f 72 20 74 6f 20 73 74 |return f|or to st|
|00000980| 65 70 20 6e 65 78 74 20 | 77 68 69 6c 65 20 77 65 |ep next |while we|
|00000990| 6e 64 20 64 69 6d 20 64 | 61 74 61 20 72 65 61 64 |nd dim d|ata read|
|000009a0| 20 64 65 66 0d 09 72 65 | 6d 20 69 6e 70 75 74 20 | def..re|m input |
|000009b0| 70 72 69 6e 74 20 6f 70 | 65 6e 20 69 6e 70 75 74 |print op|en input|
|000009c0| 23 20 6f 75 74 70 75 74 | 20 61 70 70 65 6e 64 20 |# output| append |
|000009d0| 61 73 20 63 6c 6f 73 65 | 23 20 6c 6f 61 64 20 73 |as close|# load s|
|000009e0| 61 76 65 20 72 75 6e 0d | 09 69 6e 6b 65 79 24 20 |ave run.|.inkey$ |
|000009f0| 64 61 74 65 24 20 74 69 | 6d 65 24 0d 09 74 69 6d |date$ ti|me$..tim|
|00000a00| 65 72 20 65 6f 66 28 29 | 0d 09 73 74 6f 70 20 65 |er eof()|..stop e|
|00000a10| 6e 64 20 65 78 69 74 20 | 71 75 69 74 20 72 65 6e |nd exit |quit ren|
|00000a20| 75 6d 20 6e 65 77 0d 09 | 6d 6f 76 65 74 6f 20 6c |um new..|moveto l|
|00000a30| 69 6e 65 74 6f 20 67 6f | 74 6f 78 79 20 67 72 61 |ineto go|toxy gra|
|00000a40| 70 68 69 63 73 28 29 20 | 6d 6f 75 73 65 28 29 20 |phics() |mouse() |
|00000a50| 63 6c 73 20 73 6f 75 6e | 64 20 6d 6f 72 73 65 0d |cls soun|d morse.|
|00000a60| 09 0d 53 6f 6d 65 20 45 | 78 61 6d 70 6c 65 73 3a |..Some E|xamples:|
|00000a70| 0d 0d 20 20 6f 70 65 6e | 20 22 66 69 6c 65 6e 61 |.. open| "filena|
|00000a80| 6d 65 22 20 66 6f 72 20 | 6f 75 74 70 75 74 20 61 |me" for |output a|
|00000a90| 73 20 23 31 20 3a 20 70 | 72 69 6e 74 20 23 31 2c |s #1 : p|rint #1,|
|00000aa0| 20 61 24 20 3a 20 63 6c | 6f 73 65 20 23 31 0d 20 | a$ : cl|ose #1. |
|00000ab0| 20 63 24 20 3d 20 61 24 | 20 2b 20 62 24 09 09 09 | c$ = a$| + b$...|
|00000ac0| 09 3a 20 72 65 6d 20 73 | 74 72 69 6e 67 20 63 6f |.: rem s|tring co|
|00000ad0| 6e 63 61 74 65 6e 61 74 | 69 6f 6e 0d 20 20 0d 20 |ncatenat|ion. . |
|00000ae0| 20 67 72 61 70 68 69 63 | 73 28 30 29 20 3a 20 6d | graphic|s(0) : m|
|00000af0| 6f 76 65 74 6f 20 31 30 | 2c 31 30 20 3a 20 6c 69 |oveto 10|,10 : li|
|00000b00| 6e 65 74 6f 20 31 31 30 | 2c 38 30 09 3a 20 72 65 |neto 110|,80.: re|
|00000b10| 6d 20 67 72 61 70 68 69 | 63 73 20 77 69 6e 64 6f |m graphi|cs windo|
|00000b20| 77 0d 20 20 67 6f 74 6f | 78 79 20 30 2c 31 30 20 |w. goto|xy 0,10 |
|00000b30| 3a 20 70 72 69 6e 74 20 | 22 68 65 72 65 22 09 09 |: print |"here"..|
|00000b40| 3a 20 72 65 6d 20 74 65 | 78 74 20 77 69 6e 64 6f |: rem te|xt windo|
|00000b50| 77 0d 20 20 73 6f 75 6e | 64 20 34 34 30 2c 30 2e |w. soun|d 440,0.|
|00000b60| 35 2c 33 30 09 09 09 3a | 20 72 65 6d 20 66 72 65 |5,30...:| rem fre|
|00000b70| 71 2c 20 73 65 63 73 5f | 64 75 72 2c 20 76 6f 6c |q, secs_|dur, vol|
|00000b80| 20 30 2d 31 30 30 0d 20 | 20 73 6f 75 6e 64 20 30 | 0-100. | sound 0|
|00000b90| 2c 31 32 38 09 09 09 09 | 3a 20 72 65 6d 20 70 6c |,128....|: rem pl|
|00000ba0| 61 79 20 73 6e 64 20 72 | 65 73 6f 75 72 63 65 20 |ay snd r|esource |
|00000bb0| 31 32 38 0d 20 20 6d 6f | 72 73 65 20 22 43 51 20 |128. mo|rse "CQ |
|00000bc0| 44 45 20 4e 36 59 57 55 | 22 2c 31 36 2c 34 30 2c |DE N6YWU|",16,40,|
|00000bd0| 31 33 2c 37 30 30 09 3a | 20 72 65 6d 20 64 6f 74 |13,700.:| rem dot|
|00000be0| 5f 77 70 6d 2c 76 6f 6c | 2c 6c 65 74 74 65 72 5f |_wpm,vol|,letter_|
|00000bf0| 77 70 6d 2c 66 72 65 71 | 0d 20 20 6f 70 65 6e 20 |wpm,freq|. open |
|00000c00| 22 53 46 47 65 74 46 69 | 6c 65 22 20 66 6f 72 20 |"SFGetFi|le" for |
|00000c10| 69 6e 70 75 74 20 61 73 | 20 23 32 09 3a 20 72 65 |input as| #2.: re|
|00000c20| 6d 20 22 53 46 50 75 74 | 46 69 6c 65 22 20 77 6f |m "SFPut|File" wo|
|00000c30| 72 6b 73 20 66 6f 72 20 | 6f 75 74 70 75 74 20 61 |rks for |output a|
|00000c40| 6c 73 6f 0d 20 20 0d 20 | 20 73 6f 6d 65 20 65 78 |lso. . | some ex|
|00000c50| 70 65 72 69 6d 65 6e 74 | 61 6c 20 67 72 61 70 68 |periment|al graph|
|00000c60| 69 63 73 20 63 6f 6d 6d | 61 6e 64 73 3a 0d 20 20 |ics comm|ands:. |
|00000c70| 28 54 68 65 20 67 72 61 | 70 68 69 63 73 20 63 6f |(The gra|phics co|
|00000c80| 6d 6d 61 6e 64 73 20 69 | 6e 20 76 65 72 73 69 6f |mmands i|n versio|
|00000c90| 6e 20 32 2e 39 62 20 61 | 72 65 20 62 65 74 61 20 |n 2.9b a|re beta |
|00000ca0| 74 65 73 74 20 61 6e 64 | 20 6d 61 79 20 62 65 20 |test and| may be |
|00000cb0| 62 75 67 67 79 2e 29 0d | 09 0d 09 47 52 41 50 48 |buggy.).|...GRAPH|
|00000cc0| 49 43 53 20 30 09 09 09 | 09 2f 2f 20 69 6e 69 74 |ICS 0...|.// init|
|00000cd0| 20 67 72 61 70 68 69 63 | 73 20 77 69 6e 64 6f 77 | graphic|s window|
|00000ce0| 0d 0d 09 67 72 61 70 68 | 69 63 73 20 4d 4f 56 45 |...graph|ics MOVE|
|00000cf0| 54 4f 20 20 78 2c 79 09 | 09 09 2f 2f 20 4d 6f 76 |TO x,y.|..// Mov|
|00000d00| 65 54 6f 0d 09 67 72 61 | 70 68 69 63 73 20 4c 49 |eTo..gra|phics LI|
|00000d10| 4e 45 54 4f 20 20 78 2c | 79 09 09 09 2f 2f 20 4c |NETO x,|y...// L|
|00000d20| 69 6e 65 54 6f 0d 09 67 | 72 61 70 68 69 63 73 20 |ineTo..g|raphics |
|00000d30| 4f 56 41 4c 20 20 78 2c | 79 09 09 09 2f 2f 20 6f |OVAL x,|y...// o|
|00000d40| 76 61 6c 20 20 78 20 77 | 69 64 65 20 62 79 20 79 |val x w|ide by y|
|00000d50| 20 68 69 67 68 0d 09 67 | 72 61 70 68 69 63 73 20 | high..g|raphics |
|00000d60| 44 52 41 57 54 45 58 54 | 20 20 61 24 09 09 09 2f |DRAWTEXT| a$.../|
|00000d70| 2f 20 44 72 61 77 54 65 | 78 74 0d 09 0d 09 67 72 |/ DrawTe|xt....gr|
|00000d80| 61 70 68 69 63 73 20 52 | 45 43 54 20 20 78 31 2c |aphics R|ECT x1,|
|00000d90| 79 31 2c 78 32 2c 79 32 | 09 09 2f 2f 20 46 72 61 |y1,x2,y2|..// Fra|
|00000da0| 6d 65 52 65 63 74 0d 09 | 67 72 61 70 68 69 63 73 |meRect..|graphics|
|00000db0| 20 46 49 4c 4c 52 45 43 | 54 20 20 78 31 2c 79 31 | FILLREC|T x1,y1|
|00000dc0| 2c 78 32 2c 79 32 2c 70 | 61 74 23 09 2f 2f 20 50 |,x2,y2,p|at#.// P|
|00000dd0| 61 69 6e 74 52 65 63 74 | 0d 09 67 72 61 70 68 69 |aintRect|..graphi|
|00000de0| 63 73 20 4f 56 41 4c 20 | 20 78 31 2c 79 31 2c 78 |cs OVAL | x1,y1,x|
|00000df0| 32 2c 79 32 09 09 2f 2f | 20 46 72 61 6d 65 4f 76 |2,y2..//| FrameOv|
|00000e00| 61 6c 0d 09 67 72 61 70 | 68 69 63 73 20 46 49 4c |al..grap|hics FIL|
|00000e10| 4c 4f 56 41 4c 20 20 78 | 31 2c 79 31 2c 78 32 2c |LOVAL x|1,y1,x2,|
|00000e20| 79 32 2c 70 61 74 23 09 | 2f 2f 20 50 61 69 6e 74 |y2,pat#.|// Paint|
|00000e30| 4f 76 61 6c 0d 09 67 72 | 61 70 68 69 63 73 20 50 |Oval..gr|aphics P|
|00000e40| 45 4e 53 45 54 55 50 20 | 20 78 73 69 7a 65 2c 20 |ENSETUP | xsize, |
|00000e50| 79 73 69 7a 65 2c 20 5b | 20 6d 6f 64 65 2c 20 70 |ysize, [| mode, p|
|00000e60| 61 74 23 20 5d 0d 09 67 | 72 61 70 68 69 63 73 20 |at# ]..g|raphics |
|00000e70| 43 4f 4c 4f 52 20 20 69 | 09 09 09 2f 2f 20 73 65 |COLOR i|...// se|
|00000e80| 74 20 52 47 42 46 6f 72 | 65 43 6f 6c 6f 72 20 62 |t RGBFor|eColor b|
|00000e90| 79 20 69 6e 64 65 78 0d | 09 67 72 61 70 68 69 63 |y index.|.graphic|
|00000ea0| 73 20 43 4f 4c 4f 52 20 | 20 72 2c 67 2c 62 09 09 |s COLOR | r,g,b..|
|00000eb0| 09 2f 2f 20 72 65 64 20 | 67 72 65 65 6e 20 62 6c |.// red |green bl|
|00000ec0| 75 65 20 30 2d 31 30 30 | 0d 0d 09 67 72 61 70 68 |ue 0-100|...graph|
|00000ed0| 69 63 73 20 54 45 58 54 | 53 45 54 55 50 20 66 2c |ics TEXT|SETUP f,|
|00000ee0| 20 73 2c 20 6d 09 09 2f | 2f 20 66 6f 6e 74 2c 20 | s, m../|/ font, |
|00000ef0| 73 69 7a 65 2c 20 6d 6f | 64 65 0d 0d 09 53 50 52 |size, mo|de...SPR|
|00000f00| 49 54 45 09 6e 20 20 78 | 2c 20 79 2c 20 69 64 09 |ITE.n x|, y, id.|
|00000f10| 09 2f 2f 20 73 70 72 69 | 74 65 20 6e 20 40 20 78 |.// spri|te n @ x|
|00000f20| 2c 79 20 75 73 69 6e 67 | 20 49 43 4e 23 20 69 64 |,y using| ICN# id|
|00000f30| 0d 09 09 09 09 09 2f 2f | 20 6e 20 66 72 6f 6d 20 |......//| n from |
|00000f40| 31 20 74 6f 20 31 35 2c | 20 31 20 69 6e 20 66 72 |1 to 15,| 1 in fr|
|00000f50| 6f 6e 74 6d 6f 73 74 20 | 70 6c 61 6e 65 0d 09 73 |ontmost |plane..s|
|00000f60| 70 72 69 74 65 09 6e 20 | 20 55 50 20 20 20 20 78 |prite.n | UP x|
|00000f70| 09 09 2f 2f 20 73 70 72 | 69 74 65 20 23 6e 20 6d |..// spr|ite #n m|
|00000f80| 6f 76 65 20 75 70 20 78 | 20 70 69 78 65 6c 73 0d |ove up x| pixels.|
|00000f90| 09 73 70 72 69 74 65 20 | 20 6e 20 20 44 4f 57 4e |.sprite | n DOWN|
|00000fa0| 20 20 78 0d 09 73 70 72 | 69 74 65 20 20 6e 20 20 | x..spr|ite n |
|00000fb0| 4c 45 46 54 20 20 78 09 | 09 2f 2f 20 6d 6f 76 65 |LEFT x.|.// move|
|00000fc0| 20 4c 45 46 54 20 28 6e | 6f 74 20 74 75 72 6e 20 | LEFT (n|ot turn |
|00000fd0| 61 73 20 69 6e 20 4c 6f | 67 6f 21 29 0d 09 73 70 |as in Lo|go!)..sp|
|00000fe0| 72 69 74 65 20 20 6e 20 | 20 52 49 47 48 54 20 20 |rite n | RIGHT |
|00000ff0| 20 78 0d 09 73 70 72 69 | 74 65 09 6e 20 20 54 55 | x..spri|te.n TU|
|00001000| 52 4e 20 20 20 20 64 09 | 09 2f 2f 20 74 75 72 6e |RN d.|.// turn|
|00001010| 20 43 43 57 20 64 20 64 | 65 67 72 65 65 73 0d 09 | CCW d d|egrees..|
|00001020| 73 70 72 69 74 65 09 6e | 20 20 46 4f 52 57 41 52 |sprite.n| FORWAR|
|00001030| 44 20 78 09 09 2f 2f 20 | 6d 6f 76 65 20 66 6f 72 |D x..// |move for|
|00001040| 77 61 72 64 20 78 20 70 | 69 78 65 6c 73 0d 09 73 |ward x p|ixels..s|
|00001050| 70 72 69 74 65 09 6e 20 | 20 50 45 4e 55 50 0d 09 |prite.n | PENUP..|
|00001060| 73 70 72 69 74 65 09 6e | 20 20 50 45 4e 44 4f 57 |sprite.n| PENDOW|
|00001070| 4e 0d 0d 2d 2d 2d 0d 31 | 20 72 65 6d 20 73 69 65 |N..---.1| rem sie|
|00001080| 76 65 20 62 65 6e 63 68 | 6d 61 72 6b 0d 32 20 74 |ve bench|mark.2 t|
|00001090| 20 3d 20 74 69 6d 65 72 | 0d 33 20 64 69 6d 20 66 | = timer|.3 dim f|
|000010a0| 28 38 31 39 34 29 0d 34 | 20 66 6f 72 20 69 20 3d |(8194).4| for i =|
|000010b0| 20 30 20 74 6f 20 38 31 | 39 31 20 3a 20 66 28 69 | 0 to 81|91 : f(i|
|000010c0| 29 20 3d 20 31 20 3a 20 | 6e 65 78 74 20 69 0d 35 |) = 1 : |next i.5|
|000010d0| 20 73 20 3d 20 38 31 39 | 31 0d 36 20 66 6f 72 20 | s = 819|1.6 for |
|000010e0| 69 20 3d 20 30 20 74 6f | 20 73 0d 37 20 20 20 69 |i = 0 to| s.7 i|
|000010f0| 66 20 66 28 69 29 20 3d | 20 30 20 74 68 65 6e 20 |f f(i) =| 0 then |
|00001100| 67 6f 74 6f 20 31 31 0d | 38 20 20 20 70 20 3d 20 |goto 11.|8 p = |
|00001110| 69 2b 69 2b 33 0d 39 20 | 66 6f 72 20 6b 20 3d 20 |i+i+3.9 |for k = |
|00001120| 69 2b 70 20 74 6f 20 73 | 20 73 74 65 70 20 70 20 |i+p to s| step p |
|00001130| 3a 20 66 28 6b 29 20 3d | 20 30 20 3a 20 6e 65 78 |: f(k) =| 0 : nex|
|00001140| 74 20 6b 0d 31 30 20 20 | 20 63 20 3d 20 63 2b 31 |t k.10 | c = c+1|
|00001150| 0d 31 31 20 6e 65 78 74 | 20 69 0d 31 32 20 70 72 |.11 next| i.12 pr|
|00001160| 69 6e 74 20 63 3b 22 20 | 70 72 69 6d 65 73 20 66 |int c;" |primes f|
|00001170| 6f 75 6e 64 20 69 6e 20 | 22 3b 0d 31 33 20 74 20 |ound in |";.13 t |
|00001180| 3d 20 74 69 6d 65 72 2d | 74 0d 31 34 20 70 72 69 |= timer-|t.14 pri|
|00001190| 6e 74 20 74 3b 22 20 73 | 65 63 6f 6e 64 73 22 0d |nt t;" s|econds".|
|000011a0| 31 35 20 65 6e 64 0d 0d | 2d 2d 2d 20 63 75 74 20 |15 end..|--- cut |
|000011b0| 68 65 72 65 20 2d 2d 2d | 0d 00 00 00 00 00 00 00 |here ---|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 01 00 00 00 02 6c | 00 00 01 6c 00 00 00 32 |.......l|...l...2|
|00001210| 3e 1f 66 4e 55 8f 3f 06 | 70 01 3f 00 2f 2e ff da |>.fNU.?.|p.?./...|
|00001220| 4e ad 02 1a 3e 1f 66 3a | 70 0a 2d 40 ff d4 55 8f |N...>.f:|p.-@..U.|
|00001230| 16 63 68 69 70 62 61 73 | 69 63 2e 32 2e 39 62 32 |.chipbas|ic.2.9b2|
|00001240| 2e 52 45 41 44 4d 45 52 | 02 00 00 00 54 45 58 54 |.READMER|....TEXT|
|00001250| 00 00 54 45 58 54 52 2a | 63 68 01 00 00 d0 01 00 |..TEXTR*|ch......|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 a9 ad 4f f8 00 00 | 11 39 00 00 02 9e 2b 40 |....O...|.9....+@|
|00001280| fe 24 4a 78 09 44 67 06 | 30 38 09 44 60 20 55 8f |.$Jx.Dg.|08.D` U.|
|00001290| 3f 2d fe 60 70 01 3f 00 | 22 2c 00 fe 74 0a d2 82 |?-.`p.?.|",..t...|
|000012a0| 2f 01 4e ad 02 1a 3e 1f | 4e ad 0b ba 30 07 4c ee |/.N...>.|N...0.L.|
|000012b0| 10 80 ff f8 4e 5e 4e 75 | 00 00 02 62 4e fa 00 1e |....N^Nu|...bN...|
|000012c0| 4e fa 00 44 4e fa 00 76 | 4e fa 00 a8 4e fa 00 dc |N..DN..v|N...N...|
|000012d0| 4e fa 01 10 4e fa 01 48 | 4e fa 01 7a 4e 56 00 00 |N...N..H|N..zNV..|
|000012e0| 48 e7 00 18 4e ba 01 9e | 28 40 20 0c 67 0c 26 4c |H...N...|(@ .g.&L|
|000012f0| 47 eb 00 18 2f 2e 00 08 | 4e 93 4c ee 18 00 ff f8 |G.../...|N.L.....|
|00001300| 00 00 01 68 00 00 00 00 | 00 00 00 28 00 1e 02 44 |...h....|...(...D|
|00001310| 02 1c 00 18 00 00 04 b0 | 00 00 04 b0 00 00 00 00 |........|........|
|00001320| 00 04 00 09 00 00 06 4d | 6f 6e 61 63 6f 00 00 00 |.......M|onaco...|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 04 00 | 00 05 00 00 00 48 00 48 |........|.....H.H|
|00001370| 00 00 00 00 03 92 02 d0 | ff e1 ff e9 03 bf 02 e6 |........|........|
|00001380| 1f 03 05 28 03 fc 00 01 | 00 00 01 2c 01 2c 00 00 |...(....|...,.,..|
|00001390| 00 00 0b e7 09 60 01 2c | 00 2d 05 a0 5e ec 00 26 |.....`.,|.-..^..&|
|000013a0| 04 01 01 01 00 18 00 01 | 27 0f 00 01 00 01 00 00 |........|'.......|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 50 00 00 |........|.....P..|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 01 01 00 02 41 00 00 00 |........|....A...|
|000013e0| 00 04 00 09 00 00 06 4d | 6f 6e 61 63 6f 08 00 00 |.......M|onaco...|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 04 | 01 00 00 01 00 00 00 00 |........|........|
|00001430| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 01 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00001470| 00 00 02 6c 00 00 01 6c | 00 00 00 32 00 af 70 88 |...l...l|...2..p.|
|00001480| 09 30 00 00 00 1c 00 32 | 00 00 42 42 53 52 00 00 |.0.....2|..BBSR..|
|00001490| 00 0a 02 50 ff ff 00 00 | 00 00 00 af 6e e8 00 00 |...P....|....n...|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+