Home » Personal collection » Acorn hard disk » files » DomFord » !BallBot/!RunImage
!BallBot/!RunImage
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn hard disk » files » DomFord |
Filename: | !BallBot/!RunImage |
Read OK: | ✔ |
File size: | 08B3 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM Ballbot 20REM By Dominic Ford 30: 40PROCinit 50REPEAT 60PROCgetballs 70PROCstop 80CLS 90PRINT"Get tennis balls again"; 100PROCask 110UNTIL A$="N" 120END 130: 140DEFPROCinit 150ON ERROR MODE 0:REPORT:PRINT" at line ";ERL:END 160SPR$="Hawk V7.0" 170MODE 0 180REPEAT 190PROCgetnet 200IF err=TRUE THEN PRINT"I cannot see the net. Press SPACE." 210UNTIL err=FALSE 220ENDPROC 230: 240DEFPROCgetnet 250CLS 260PRINT"Please point the video camera at the tennis court, and then press SPACE."'"After pressing SPACE do not move the camera." 270PROCspace 280X=0 290Y=0 300REPEAT 310SYS "OS_SpriteOp",41,,SPR$,X-1,Y-1 TO ,,,,,C,T 320IF C=15 THEN PROCnetgot 330X=X+1 340IF X=xax THEN X=0:Y=Y+1 350UNTIL net=TRUE OR Y=yax 360IF Y=yax THEN err=TRUE 370ENDPROC 380: 390DEFPROCnetgot 400gi=TRUE 410FOR XS=X TO X+10 420SYS "OS_SpriteOp",41,,SPR$,X-1,Y-1 TO ,,,,,C,T 430IF C<>15 THEN gi=FALSE 440NEXT 450IF gi=FALSE THEN ENDPROC 460nx=X 470net=TRUE 480ENDPROC 490: 500DEFPROCgetballs 510CLS 520PRINT"Press SPACE to collect tennis balls" 530PROCspace 540PROCforward 550xo=0:yo=0 560REPEAT 570PROCfindthem 580IF tennis=FALSE THEN tbx=bbporx:tby=bbpory 590x=xo 600y=yo 610xb=bbx 620yb=bby 630bbangle=FNangle 640xo=bbx 650yo=bby 660x=bbx 670y=bby 680xb=tbx 690yb=tby 700bbta=FNangle 710bbcc=bbta-bbangle 720IF bbcc>180 THEN bbcc=bbcc-360 730IF ABS(bbcc)>5 THEN bbcc=0 740PROCcorrect 750IF ABS(bbx-bbporx)<5 THEN ENDPROC 760IF ABS(bby-bbpory)<5 THEN ENDPROC 770UNTIL 0 780ENDPROC 790: 800DEFPROCfindthem 810X=0 820Y=0 830ballbot=FALSE 840tennis=FALSE 850REPEAT 860SYS "OS_SpriteOp",41,,SPR$,X-1,Y-1 TO ,,,,,C,T 870IF C=9 AND tennis=FALSE THEN PROCballgot 880IF C=11 AND ballbot=FALSE THEN PROCbotgot 890X=X+1 900IF X=xax THEN X=0:Y=Y+1 910UNTIL (ballbot=TRUE AND tennis=TRUE) OR Y=yax 920IF Y=yax THEN err=TRUE 930ENDPROC 940: 950DEFPROCballgot 960gi=TRUE 970FOR XS=X TO X+3 980FOR YS=Y TO Y+3 990SYS "OS_SpriteOp",41,,SPR$,X-1,Y-1 TO ,,,,,C,T 1000IF C<>9 THEN gi=FALSE 1010NEXT, 1020IF gi=FALSE THEN ENDPROC 1030tbx=X 1040tby=Y 1050tennis=TRUE 1060ENDPROC 1070: 1080DEFPROCbotgot 1090gi=TRUE 1100FOR XS=X TO X+3 1110FOR YS=Y TO Y+3 1120SYS "OS_SpriteOp",41,,SPR$,X-1,Y-1 TO ,,,,,C,T 1130IF C<>11 THEN gi=FALSE 1140NEXT, 1150IF gi=FALSE THEN ENDPROC 1160bbx=X 1170bby=Y 1180ballbot=TRUE 1190ENDPROC 1200: 1210DEFPROCspace 1220REPEAT 1230A$=GET$ 1240UNTIL A$=" " 1250ENDPROC 1260: 1270DEFPROCask 1280PRINT;" (Y/N) "; 1290REPEAT 1300A$=GET$ 1310UNTIL INSTR("YyNn",A$)<>0 1320IF A$="Y" OR A$="y"THEN PRINT"Yes":A$="Y" ELSE PRINT"No":A$="N" 1330ENDPROC 1340: 1350DEFPROCcorrect 1360IF SGN(bbcc)=1 THEN PROCright 1370IF SGN(bbcc)=-1 THEN PROCleft 1380IF SGN(bbcc)=0 THEN PROCstraight 1390ENDPROC 1400: 1410DEFPROCleft 1420ENDPROC 1430: 1440DEFPROCright 1450ENDPROC 1460: 1470DEFPROCstraight 1480ENDPROC 1490: 1500DEFPROCforward 1510ENDPROC 1520: 1530DEFPROCstop 1540ENDPROC 1550: 1560DEFFNangle=ATN((yb-y)/(xb-x))/PI*180
� Ballbot � By Dominic Ford : ( �init 2� < �getballs F �stop P� Z�"Get tennis balls again"; d�ask n� A$="N" x� �: � ��init �� � � 0:�:�" at line ";�:� �SPR$="Hawk V7.0" �� 0 �� ��getnet �3� err=� � �"I cannot see the net. Press SPACE." �� err=� �� �: ���getnet �� ~�"Please point the video camera at the tennis court, and then press SPACE."'"After pressing SPACE do not move the camera." �space X=0 "Y=0 ,� 60ș "OS_SpriteOp",41,,SPR$,X-1,Y-1 � ,,,,,C,T @� C=15 � �netgot J X=X+1 T� X=xax � X=0:Y=Y+1 ^� net=� � Y=yax h� Y=yax � err=� r� |: ���netgot �gi=� �� XS=X � X+10 �0ș "OS_SpriteOp",41,,SPR$,X-1,Y-1 � ,,,,,C,T �� C<>15 � gi=� �� �� gi=� � � �nx=X � net=� �� �: ���getballs �� *�"Press SPACE to collect tennis balls" �space �forward & xo=0:yo=0 0� : �findthem D&� tennis=� � tbx=bbporx:tby=bbpory Nx=xo Xy=yo b xb=bbx l yb=bby vbbangle=�angle � xo=bbx � yo=bby � x=bbx � y=bby � xb=tbx � yb=tby �bbta=�angle �bbcc=bbta-bbangle �� bbcc>180 � bbcc=bbcc-360 �� �(bbcc)>5 � bbcc=0 ��correct �� �(bbx-bbporx)<5 � � �� �(bby-bbpory)<5 � � � 0 � : ��findthem *X=0 4Y=0 > ballbot=� Htennis=� R� \0ș "OS_SpriteOp",41,,SPR$,X-1,Y-1 � ,,,,,C,T f� C=9 � tennis=� � �ballgot p � C=11 � ballbot=� � �botgot z X=X+1 �� X=xax � X=0:Y=Y+1 �$� (ballbot=� � tennis=�) � Y=yax �� Y=yax � err=� �� �: � ��ballgot �gi=� �� XS=X � X+3 �� YS=Y � Y+3 �0ș "OS_SpriteOp",41,,SPR$,X-1,Y-1 � ,,,,,C,T �� C<>9 � gi=� ��, �� gi=� � � tbx=X tby=Y tennis=� $� .: 8��botgot Bgi=� L� XS=X � X+3 V� YS=Y � Y+3 `0ș "OS_SpriteOp",41,,SPR$,X-1,Y-1 � ,,,,,C,T j� C<>11 � gi=� t�, ~� gi=� � � � bbx=X � bby=Y � ballbot=� �� �: ���space �� �A$=� �� A$=" " �� �: � ��ask �;" (Y/N) "; � A$=� � �"YyNn",A$)<>0 (3� A$="Y" � A$="y"� �"Yes":A$="Y" � �"No":A$="N" 2� <: F ��correct P� �(bbcc)=1 � �right Z� �(bbcc)=-1 � �left d� �(bbcc)=0 � �straight n� x: � ��left �� �: ���right �� �: ���straight �� �: � ��forward �� �: � ��stop � : "ݤangle=�((yb-y)/(xb-x))/�*180 �
00000000 0d 00 0a 0d f4 20 42 61 6c 6c 62 6f 74 0d 00 14 |..... Ballbot...| 00000010 15 f4 20 42 79 20 44 6f 6d 69 6e 69 63 20 46 6f |.. By Dominic Fo| 00000020 72 64 0d 00 1e 05 3a 0d 00 28 09 f2 69 6e 69 74 |rd....:..(..init| 00000030 0d 00 32 05 f5 0d 00 3c 0d f2 67 65 74 62 61 6c |..2....<..getbal| 00000040 6c 73 0d 00 46 09 f2 73 74 6f 70 0d 00 50 05 db |ls..F..stop..P..| 00000050 0d 00 5a 1e f1 22 47 65 74 20 74 65 6e 6e 69 73 |..Z.."Get tennis| 00000060 20 62 61 6c 6c 73 20 61 67 61 69 6e 22 3b 0d 00 | balls again";..| 00000070 64 08 f2 61 73 6b 0d 00 6e 0c fd 20 41 24 3d 22 |d..ask..n.. A$="| 00000080 4e 22 0d 00 78 05 e0 0d 00 82 05 3a 0d 00 8c 0a |N"..x......:....| 00000090 dd f2 69 6e 69 74 0d 00 96 1e ee 20 85 20 eb 20 |..init..... . . | 000000a0 30 3a f6 3a f1 22 20 61 74 20 6c 69 6e 65 20 22 |0:.:." at line "| 000000b0 3b 9e 3a e0 0d 00 a0 14 53 50 52 24 3d 22 48 61 |;.:.....SPR$="Ha| 000000c0 77 6b 20 56 37 2e 30 22 0d 00 aa 07 eb 20 30 0d |wk V7.0"..... 0.| 000000d0 00 b4 05 f5 0d 00 be 0b f2 67 65 74 6e 65 74 0d |.........getnet.| 000000e0 00 c8 33 e7 20 65 72 72 3d b9 20 8c 20 f1 22 49 |..3. err=. . ."I| 000000f0 20 63 61 6e 6e 6f 74 20 73 65 65 20 74 68 65 20 | cannot see the | 00000100 6e 65 74 2e 20 50 72 65 73 73 20 53 50 41 43 45 |net. Press SPACE| 00000110 2e 22 0d 00 d2 0b fd 20 65 72 72 3d a3 0d 00 dc |."..... err=....| 00000120 05 e1 0d 00 e6 05 3a 0d 00 f0 0c dd f2 67 65 74 |......:......get| 00000130 6e 65 74 0d 00 fa 05 db 0d 01 04 7e f1 22 50 6c |net........~."Pl| 00000140 65 61 73 65 20 70 6f 69 6e 74 20 74 68 65 20 76 |ease point the v| 00000150 69 64 65 6f 20 63 61 6d 65 72 61 20 61 74 20 74 |ideo camera at t| 00000160 68 65 20 74 65 6e 6e 69 73 20 63 6f 75 72 74 2c |he tennis court,| 00000170 20 61 6e 64 20 74 68 65 6e 20 70 72 65 73 73 20 | and then press | 00000180 53 50 41 43 45 2e 22 27 22 41 66 74 65 72 20 70 |SPACE."'"After p| 00000190 72 65 73 73 69 6e 67 20 53 50 41 43 45 20 64 6f |ressing SPACE do| 000001a0 20 6e 6f 74 20 6d 6f 76 65 20 74 68 65 20 63 61 | not move the ca| 000001b0 6d 65 72 61 2e 22 0d 01 0e 0a f2 73 70 61 63 65 |mera.".....space| 000001c0 0d 01 18 07 58 3d 30 0d 01 22 07 59 3d 30 0d 01 |....X=0..".Y=0..| 000001d0 2c 05 f5 0d 01 36 30 c8 99 20 22 4f 53 5f 53 70 |,....60.. "OS_Sp| 000001e0 72 69 74 65 4f 70 22 2c 34 31 2c 2c 53 50 52 24 |riteOp",41,,SPR$| 000001f0 2c 58 2d 31 2c 59 2d 31 20 b8 20 2c 2c 2c 2c 2c |,X-1,Y-1 . ,,,,,| 00000200 43 2c 54 0d 01 40 14 e7 20 43 3d 31 35 20 8c 20 |C,T..@.. C=15 . | 00000210 f2 6e 65 74 67 6f 74 0d 01 4a 09 58 3d 58 2b 31 |.netgot..J.X=X+1| 00000220 0d 01 54 17 e7 20 58 3d 78 61 78 20 8c 20 58 3d |..T.. X=xax . X=| 00000230 30 3a 59 3d 59 2b 31 0d 01 5e 13 fd 20 6e 65 74 |0:Y=Y+1..^.. net| 00000240 3d b9 20 84 20 59 3d 79 61 78 0d 01 68 13 e7 20 |=. . Y=yax..h.. | 00000250 59 3d 79 61 78 20 8c 20 65 72 72 3d b9 0d 01 72 |Y=yax . err=...r| 00000260 05 e1 0d 01 7c 05 3a 0d 01 86 0c dd f2 6e 65 74 |....|.:......net| 00000270 67 6f 74 0d 01 90 08 67 69 3d b9 0d 01 9a 11 e3 |got....gi=......| 00000280 20 58 53 3d 58 20 b8 20 58 2b 31 30 0d 01 a4 30 | XS=X . X+10...0| 00000290 c8 99 20 22 4f 53 5f 53 70 72 69 74 65 4f 70 22 |.. "OS_SpriteOp"| 000002a0 2c 34 31 2c 2c 53 50 52 24 2c 58 2d 31 2c 59 2d |,41,,SPR$,X-1,Y-| 000002b0 31 20 b8 20 2c 2c 2c 2c 2c 43 2c 54 0d 01 ae 12 |1 . ,,,,,C,T....| 000002c0 e7 20 43 3c 3e 31 35 20 8c 20 67 69 3d a3 0d 01 |. C<>15 . gi=...| 000002d0 b8 05 ed 0d 01 c2 0e e7 20 67 69 3d a3 20 8c 20 |........ gi=. . | 000002e0 e1 0d 01 cc 08 6e 78 3d 58 0d 01 d6 09 6e 65 74 |.....nx=X....net| 000002f0 3d b9 0d 01 e0 05 e1 0d 01 ea 05 3a 0d 01 f4 0e |=..........:....| 00000300 dd f2 67 65 74 62 61 6c 6c 73 0d 01 fe 05 db 0d |..getballs......| 00000310 02 08 2a f1 22 50 72 65 73 73 20 53 50 41 43 45 |..*."Press SPACE| 00000320 20 74 6f 20 63 6f 6c 6c 65 63 74 20 74 65 6e 6e | to collect tenn| 00000330 69 73 20 62 61 6c 6c 73 22 0d 02 12 0a f2 73 70 |is balls".....sp| 00000340 61 63 65 0d 02 1c 0c f2 66 6f 72 77 61 72 64 0d |ace.....forward.| 00000350 02 26 0d 78 6f 3d 30 3a 79 6f 3d 30 0d 02 30 05 |.&.xo=0:yo=0..0.| 00000360 f5 0d 02 3a 0d f2 66 69 6e 64 74 68 65 6d 0d 02 |...:..findthem..| 00000370 44 26 e7 20 74 65 6e 6e 69 73 3d a3 20 8c 20 74 |D&. tennis=. . t| 00000380 62 78 3d 62 62 70 6f 72 78 3a 74 62 79 3d 62 62 |bx=bbporx:tby=bb| 00000390 70 6f 72 79 0d 02 4e 08 78 3d 78 6f 0d 02 58 08 |pory..N.x=xo..X.| 000003a0 79 3d 79 6f 0d 02 62 0a 78 62 3d 62 62 78 0d 02 |y=yo..b.xb=bbx..| 000003b0 6c 0a 79 62 3d 62 62 79 0d 02 76 12 62 62 61 6e |l.yb=bby..v.bban| 000003c0 67 6c 65 3d a4 61 6e 67 6c 65 0d 02 80 0a 78 6f |gle=.angle....xo| 000003d0 3d 62 62 78 0d 02 8a 0a 79 6f 3d 62 62 79 0d 02 |=bbx....yo=bby..| 000003e0 94 09 78 3d 62 62 78 0d 02 9e 09 79 3d 62 62 79 |..x=bbx....y=bby| 000003f0 0d 02 a8 0a 78 62 3d 74 62 78 0d 02 b2 0a 79 62 |....xb=tbx....yb| 00000400 3d 74 62 79 0d 02 bc 0f 62 62 74 61 3d a4 61 6e |=tby....bbta=.an| 00000410 67 6c 65 0d 02 c6 15 62 62 63 63 3d 62 62 74 61 |gle....bbcc=bbta| 00000420 2d 62 62 61 6e 67 6c 65 0d 02 d0 1e e7 20 62 62 |-bbangle..... bb| 00000430 63 63 3e 31 38 30 20 8c 20 62 62 63 63 3d 62 62 |cc>180 . bbcc=bb| 00000440 63 63 2d 33 36 30 0d 02 da 18 e7 20 94 28 62 62 |cc-360..... .(bb| 00000450 63 63 29 3e 35 20 8c 20 62 62 63 63 3d 30 0d 02 |cc)>5 . bbcc=0..| 00000460 e4 0c f2 63 6f 72 72 65 63 74 0d 02 ee 19 e7 20 |...correct..... | 00000470 94 28 62 62 78 2d 62 62 70 6f 72 78 29 3c 35 20 |.(bbx-bbporx)<5 | 00000480 8c 20 e1 0d 02 f8 19 e7 20 94 28 62 62 79 2d 62 |. ...... .(bby-b| 00000490 62 70 6f 72 79 29 3c 35 20 8c 20 e1 0d 03 02 07 |bpory)<5 . .....| 000004a0 fd 20 30 0d 03 0c 05 e1 0d 03 16 05 3a 0d 03 20 |. 0.........:.. | 000004b0 0e dd f2 66 69 6e 64 74 68 65 6d 0d 03 2a 07 58 |...findthem..*.X| 000004c0 3d 30 0d 03 34 07 59 3d 30 0d 03 3e 0d 62 61 6c |=0..4.Y=0..>.bal| 000004d0 6c 62 6f 74 3d a3 0d 03 48 0c 74 65 6e 6e 69 73 |lbot=...H.tennis| 000004e0 3d a3 0d 03 52 05 f5 0d 03 5c 30 c8 99 20 22 4f |=...R....\0.. "O| 000004f0 53 5f 53 70 72 69 74 65 4f 70 22 2c 34 31 2c 2c |S_SpriteOp",41,,| 00000500 53 50 52 24 2c 58 2d 31 2c 59 2d 31 20 b8 20 2c |SPR$,X-1,Y-1 . ,| 00000510 2c 2c 2c 2c 43 2c 54 0d 03 66 1f e7 20 43 3d 39 |,,,,C,T..f.. C=9| 00000520 20 80 20 74 65 6e 6e 69 73 3d a3 20 8c 20 f2 62 | . tennis=. . .b| 00000530 61 6c 6c 67 6f 74 0d 03 70 20 e7 20 43 3d 31 31 |allgot..p . C=11| 00000540 20 80 20 62 61 6c 6c 62 6f 74 3d a3 20 8c 20 f2 | . ballbot=. . .| 00000550 62 6f 74 67 6f 74 0d 03 7a 09 58 3d 58 2b 31 0d |botgot..z.X=X+1.| 00000560 03 84 17 e7 20 58 3d 78 61 78 20 8c 20 58 3d 30 |.... X=xax . X=0| 00000570 3a 59 3d 59 2b 31 0d 03 8e 24 fd 20 28 62 61 6c |:Y=Y+1...$. (bal| 00000580 6c 62 6f 74 3d b9 20 80 20 74 65 6e 6e 69 73 3d |lbot=. . tennis=| 00000590 b9 29 20 84 20 59 3d 79 61 78 0d 03 98 13 e7 20 |.) . Y=yax..... | 000005a0 59 3d 79 61 78 20 8c 20 65 72 72 3d b9 0d 03 a2 |Y=yax . err=....| 000005b0 05 e1 0d 03 ac 05 3a 0d 03 b6 0d dd f2 62 61 6c |......:......bal| 000005c0 6c 67 6f 74 0d 03 c0 08 67 69 3d b9 0d 03 ca 10 |lgot....gi=.....| 000005d0 e3 20 58 53 3d 58 20 b8 20 58 2b 33 0d 03 d4 10 |. XS=X . X+3....| 000005e0 e3 20 59 53 3d 59 20 b8 20 59 2b 33 0d 03 de 30 |. YS=Y . Y+3...0| 000005f0 c8 99 20 22 4f 53 5f 53 70 72 69 74 65 4f 70 22 |.. "OS_SpriteOp"| 00000600 2c 34 31 2c 2c 53 50 52 24 2c 58 2d 31 2c 59 2d |,41,,SPR$,X-1,Y-| 00000610 31 20 b8 20 2c 2c 2c 2c 2c 43 2c 54 0d 03 e8 11 |1 . ,,,,,C,T....| 00000620 e7 20 43 3c 3e 39 20 8c 20 67 69 3d a3 0d 03 f2 |. C<>9 . gi=....| 00000630 06 ed 2c 0d 03 fc 0e e7 20 67 69 3d a3 20 8c 20 |..,..... gi=. . | 00000640 e1 0d 04 06 09 74 62 78 3d 58 0d 04 10 09 74 62 |.....tbx=X....tb| 00000650 79 3d 59 0d 04 1a 0c 74 65 6e 6e 69 73 3d b9 0d |y=Y....tennis=..| 00000660 04 24 05 e1 0d 04 2e 05 3a 0d 04 38 0c dd f2 62 |.$......:..8...b| 00000670 6f 74 67 6f 74 0d 04 42 08 67 69 3d b9 0d 04 4c |otgot..B.gi=...L| 00000680 10 e3 20 58 53 3d 58 20 b8 20 58 2b 33 0d 04 56 |.. XS=X . X+3..V| 00000690 10 e3 20 59 53 3d 59 20 b8 20 59 2b 33 0d 04 60 |.. YS=Y . Y+3..`| 000006a0 30 c8 99 20 22 4f 53 5f 53 70 72 69 74 65 4f 70 |0.. "OS_SpriteOp| 000006b0 22 2c 34 31 2c 2c 53 50 52 24 2c 58 2d 31 2c 59 |",41,,SPR$,X-1,Y| 000006c0 2d 31 20 b8 20 2c 2c 2c 2c 2c 43 2c 54 0d 04 6a |-1 . ,,,,,C,T..j| 000006d0 12 e7 20 43 3c 3e 31 31 20 8c 20 67 69 3d a3 0d |.. C<>11 . gi=..| 000006e0 04 74 06 ed 2c 0d 04 7e 0e e7 20 67 69 3d a3 20 |.t..,..~.. gi=. | 000006f0 8c 20 e1 0d 04 88 09 62 62 78 3d 58 0d 04 92 09 |. .....bbx=X....| 00000700 62 62 79 3d 59 0d 04 9c 0d 62 61 6c 6c 62 6f 74 |bby=Y....ballbot| 00000710 3d b9 0d 04 a6 05 e1 0d 04 b0 05 3a 0d 04 ba 0b |=..........:....| 00000720 dd f2 73 70 61 63 65 0d 04 c4 05 f5 0d 04 ce 08 |..space.........| 00000730 41 24 3d be 0d 04 d8 0c fd 20 41 24 3d 22 20 22 |A$=...... A$=" "| 00000740 0d 04 e2 05 e1 0d 04 ec 05 3a 0d 04 f6 09 dd f2 |.........:......| 00000750 61 73 6b 0d 05 00 10 f1 3b 22 20 28 59 2f 4e 29 |ask.....;" (Y/N)| 00000760 20 22 3b 0d 05 0a 05 f5 0d 05 14 08 41 24 3d be | ";.........A$=.| 00000770 0d 05 1e 14 fd 20 a7 22 59 79 4e 6e 22 2c 41 24 |..... ."YyNn",A$| 00000780 29 3c 3e 30 0d 05 28 33 e7 20 41 24 3d 22 59 22 |)<>0..(3. A$="Y"| 00000790 20 84 20 41 24 3d 22 79 22 8c 20 f1 22 59 65 73 | . A$="y". ."Yes| 000007a0 22 3a 41 24 3d 22 59 22 20 8b 20 f1 22 4e 6f 22 |":A$="Y" . ."No"| 000007b0 3a 41 24 3d 22 4e 22 0d 05 32 05 e1 0d 05 3c 05 |:A$="N"..2....<.| 000007c0 3a 0d 05 46 0d dd f2 63 6f 72 72 65 63 74 0d 05 |:..F...correct..| 000007d0 50 18 e7 20 b4 28 62 62 63 63 29 3d 31 20 8c 20 |P.. .(bbcc)=1 . | 000007e0 f2 72 69 67 68 74 0d 05 5a 18 e7 20 b4 28 62 62 |.right..Z.. .(bb| 000007f0 63 63 29 3d 2d 31 20 8c 20 f2 6c 65 66 74 0d 05 |cc)=-1 . .left..| 00000800 64 1b e7 20 b4 28 62 62 63 63 29 3d 30 20 8c 20 |d.. .(bbcc)=0 . | 00000810 f2 73 74 72 61 69 67 68 74 0d 05 6e 05 e1 0d 05 |.straight..n....| 00000820 78 05 3a 0d 05 82 0a dd f2 6c 65 66 74 0d 05 8c |x.:......left...| 00000830 05 e1 0d 05 96 05 3a 0d 05 a0 0b dd f2 72 69 67 |......:......rig| 00000840 68 74 0d 05 aa 05 e1 0d 05 b4 05 3a 0d 05 be 0e |ht.........:....| 00000850 dd f2 73 74 72 61 69 67 68 74 0d 05 c8 05 e1 0d |..straight......| 00000860 05 d2 05 3a 0d 05 dc 0d dd f2 66 6f 72 77 61 72 |...:......forwar| 00000870 64 0d 05 e6 05 e1 0d 05 f0 05 3a 0d 05 fa 0a dd |d.........:.....| 00000880 f2 73 74 6f 70 0d 06 04 05 e1 0d 06 0e 05 3a 0d |.stop.........:.| 00000890 06 18 22 dd a4 61 6e 67 6c 65 3d 99 28 28 79 62 |.."..angle=.((yb| 000008a0 2d 79 29 2f 28 78 62 2d 78 29 29 2f af 2a 31 38 |-y)/(xb-x))/.*18| 000008b0 30 0d ff |0..| 000008b3