Home » CEEFAX disks » telesoftware16.adl » 23-07-89/Draw3
23-07-89/Draw3
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 » CEEFAX disks » telesoftware16.adl |
Filename: | 23-07-89/Draw3 |
Read OK: | ✔ |
File size: | 0BE1 bytes |
Load address: | FFFF1900 |
Exec address: | FFFF8023 |
File contents
10REM EASYDRAW V. 4.01 20REM JOYSTICK ROUTINE BY L. CLARK. 30VDU29,0;0; 40G1=1:Y%=Y%+100 50ON ERROR GOTO780 60PROCICON 70VDU5:DIMX%(5),Y%(5),A%(20,2) 80N=1:A=3:Q=3:S=3:M=1:L=X%:G=Y%:VDU23;8202;0;0;0; 90PROCG 100PROCB(0) 110IFY%<100 M=1+(X% DIV157.5)ELSEGOTO130 120ON M GOTO170,400,270,220,250,340,290,300 130E=X%:D=Y% 140IFFF=1PROCA:MOVEL,G:GCOL0,P%:DRAWE,D:PROCA 150IFFF=2 PROCA:PLOT69,X%,Y%:PROCA 160L=E:G=D:GOTO100 170PROCB(2):PROCA:GCOL0,P%:MOVEX%(1),Y%(1):DRAWX%(2),Y%(1):DRAWX%(2),Y%(2):DRAWX%(1),Y%(2):DRAWX%(1),Y%(1):PROCA 180N=0:PROCCL:GOTO100 190PROCN:GOTO80 200DEFPROCCMENU:PROCA:PROCCB:T=A:IFM%=1 ORM%=5 CL=4 ELSE IFM%=4 CL=2 ELSE IFM%=2 CL=8 210FORI=16 TO(CL*150)-16 STEP150:GCOL0,(I-16)/150:MOVEI,40:MOVEI,90:PLOT85,I+100,40:PLOT85,I+100,90:GCOL0,0:MOVEI,40:DRAWI,90:DRAWI+100,90:DRAWI+100,40:DRAWI,40:NEXT:PROCA:ENDPROC 220PROCCMENU 230PROCFP:IFZ=0 GOTO230 240M=X% DIV150:P%=M:IF M>CL GOTO230 ELSE PROCA:PROCCB:PROCG:PROCA:GOTO100 250PROCA:PROCCL:MOVE0,32:GCOL0,0:PRINT;"FILL WHERE?":PROCA 260PROCB(0):R%=10:PROCA:GCOL0,0:PLOT69,X%,Y%:CHAIN"DRAW2" 270PROCB(2):PROCA 280PROCH(X%(1),Y%(1),X%(2),Y%(2)):PROCA:GOTO100 290VDU4:COLOUR128:CLS:VDU5:PROCG:PROCA:GOTO100 300PROCCMENU:MOVE0,32:GCOL0,0:MOVE0,32:PRINT;"BACKGROUND COLOUR?"; 310PROCFP:IFZ=0 GOTO310 320M=X% DIV157:IF M>CL GOTO310 ELSE VDU4:COLOURM+128:CLS:VDU5:PROCG:PROCA:GOTO100 330DEFPROCH(E,D,L,G):X=(E+L)/2:Y=(D+G)/2:R=SQR((E-X)*(E-X)+(D-Y)^2):MOVEX+R,Y:D=Y:E=X+R:FORk=0TO6.4STEP.15:DRAWX+R*COSk,Y+R*SINk:NEXT:ENDPROC 340PROCA:PROCCB:GCOL0,0:MOVE200,40:DRAW600,40:DRAW600,90:DRAW200,90:DRAW200,40:MOVE700,40:DRAW1100,40:DRAW1100,90:DRAW700,90:DRAW700,40:MOVE200,80:PRINT;" LOAD":MOVE700,80:PRINT;" SAVE":PROCA 350PROCFP:IFZ=0 GOTO350 ELSE IFX%<600 ANDX%>200 M=1 ELSE IFX%>700 AND X%<1100 M=2 ELSE M=0 360GCOL0,135:PROCA:IFM=1PROCS ELSEIFM=2PROCR 370PROCG:PROCA:GOTO100 380DEFPROCS:PROCCB:MOVE0,90:PRINT;"LOADING...":MOVE0,50:INPUT;"INPUT NAME ";F$:IFF$=""ENDPROC ELSE OSCLI("LOAD "+F$+" 3000"):ENDPROC 390DEFPROCR:PROCCB:MOVE0,90:PRINT;"SAVING...":MOVE0,50:INPUT;"INPUT NAME ";F$:IFF$=""ENDPROC ELSE GCOL0,0:MOVE0,0:MOVE0,100:PLOT85,1280,0:PLOT85,1280,100:OSCLI("SAVE "+F$+" 3000 8000"):ENDPROC 400PROCB(3) 410GCOL0,P%:MOVEX%(1),Y%(1):DRAWX%(2),Y%(2):DRAWX%(3),Y%(3):DRAWX%(1),Y%(1):GOTO100 420DEFPROCFP:g=ADVAL1DIV256:h=ADVAL2DIV256:FF=ADVAL0AND3:IFY%<100 AND FF=1 ORY%<100 AND FF=2 SOUND3,-15,120,1:Z=1:ENDPROC ELSE Z=0:X=X%:Y=Y% 430IFg<70 X=X+50 440IFg>170 X=X-50 450IFh>170 Y=Y+50 460IFh<70 Y=Y-50 470IFX<0 OR X>1280 OR Y<50 OR Y>1024 ENDPROC 480 490IFX<>X%ORY<>Y% PROCA:X%=X:Y%=Y:PROCA 500ENDPROC 510DEFPROCG 520GCOL0,7:MOVE0,0:MOVE1280,0:PLOT85,0,100:PLOT85,1280,100 530FORI=32 TO 1240 STEP157.5 540GCOL0,0:MOVEI,40:DRAWI,90:DRAWI+100,90:DRAWI+100,40:DRAWI,40:IFI<>504.5 MOVEI+25,80:VDU(I-8)/157.5+128 550NEXT:MOVE530,80:GCOL0,1:VDU131:MOVE530,80:IFM%=2GCOL0,3:VDU136 ELSE IFM%=1 OR M%=5 GCOL0,2:VDU136 ELSE MOVE530,80:GCOL0,0:VDU131 560ENDPROC 570DEFPROCB(A):I=0 580IFA<>0 PROCA:PROCCL:MOVE0,34:GCOL0,0:PRINT"SELECT POINT ";I+1:PROCA 590PROCFP:IF Z=1 GOTO110 600IFFF=0 GOTO590 ELSE SOUND3,-15,120,1:PROCA:GCOL0,P%:PLOT69,X%,Y%:PROCA:GCOL0,7:MOVE0,0:MOVE0,36:PLOT85,1380,0:PLOT85,1280,36:X%(I+1)=X% 610Y%(I+1)=Y%:I=I+1:IF I=A OR A=0 ENDPROC ELSE 580 620DEFPROCICON 630VDU23,128,255,129,129,129,129,129,129,255 640VDU23,129,8,20,20,34,34,65,65,127 650VDU23,130,60,66,129,129,129,129,66,60 660VDU23,131,60,66,90,165,165,165,165,0 670VDU23,132,252,128,240,128,149,133,149,149 680VDU23,133,255,129,130,137,129,137,137,255 690VDU23,134,60,64,128,128,128,64,60,0 700VDU23,135,255,255,255,255,255,255,255,255 710VDU23,136,0,60,36,66,66,66,66,0 720ENDPROC 730DEFPROCCL 740GCOL0,7:MOVE0,0:MOVE0,36:PLOT85,1280,0:PLOT85,1280,36:ENDPROC 750DEFPROCCB:GCOL0,7:MOVE0,0:MOVE0,100:PLOT85,1280,0:PLOT85,1280,100:GCOL0,0:ENDPROC 760DEFPROCA:MOVEX%,Y%:VDU5:GCOL3,P%:VDU158:GCOL0,P%:IFG1=0 G1=1 ELSE G1=0 770ENDPROC 780IFG1=0 PROCA 790IFERR=17 PROCA:Y%=Y%-100:CHAIN"DRAW" 800PROCG 810MOVE0,64:GCOL0,0:REPORT 820PROCA:GOTO100
� EASYDRAW V. 4.01 #� JOYSTICK ROUTINE BY L. CLARK. �29,0;0; (G1=1:Y%=Y%+100 2 � � �TLC < �ICON F�5:�X%(5),Y%(5),A%(20,2) P1N=1:A=3:Q=3:S=3:M=1:L=X%:G=Y%:�23;8202;0;0;0; Z�G d �B(0) n!�Y%<100 M=1+(X% �157.5)��tB@ x0� M �tj@,�tPA,�TNA,�d\@,�dz@,�DTA,�TbA,�TlA �E=X%:D=Y% ��FF=1�A:�L,G:�0,P%:�E,D:�A ��FF=2 �A:�69,X%,Y%:�A �L=E:G=D:�Dd@ �V�B(2):�A:�0,P%:�X%(1),Y%(1):�X%(2),Y%(1):�X%(2),Y%(2):�X%(1),Y%(2):�X%(1),Y%(1):�A �N=0:�CL:�Dd@ ��N:�DP@ �A��CMENU:�A:�CB:T=A:�M%=1 �M%=5 CL=4 � �M%=4 CL=2 � �M%=2 CL=8 ҁ�I=16 �(CL*150)-16 �150:�0,(I-16)/150:�I,40:�I,90:�85,I+100,40:�85,I+100,90:�0,0:�I,40:�I,90:�I+100,90:�I+100,40:�I,40:�:�A:� � �CMENU ��FP:�Z=0 �df@ �4M=X% �150:P%=M:� M>CL �df@ � �A:�CB:�G:�A:�Dd@ �(�A:�CL:�0,32:�0,0:�;"FILL WHERE?":�A *�B(0):R%=10:�A:�0,0:�69,X%,Y%:�"DRAW2" �B(2):�A (�H(X%(1),Y%(1),X%(2),Y%(2)):�A:�Dd@ "�4:�128:�:�5:�G:�A:�Dd@ ,3�CMENU:�0,32:�0,0:�0,32:�;"BACKGROUND COLOUR?"; 6�FP:�Z=0 �TvA @7M=X% �157:� M>CL �TvA � �4:�M+128:�:�5:�G:�A:�Dd@ Jn��H(E,D,L,G):X=(E+L)/2:Y=(D+G)/2:R=�((E-X)*(E-X)+(D-Y)^2):�X+R,Y:D=Y:E=X+R:�k=0�6.4�.15:�X+R*�k,Y+R*�k:�:� T��A:�CB:�0,0:�200,40:�600,40:�600,90:�200,90:�200,40:�700,40:�1100,40:�1100,90:�700,90:�700,40:�200,80:�;" LOAD":�700,80:�;" SAVE":�A ^F�FP:�Z=0 �D^A � �X%<600 �X%>200 M=1 � �X%>700 � X%<1100 M=2 � M=0 h�0,135:�A:�M=1�S ��M=2�R r�G:�A:�Dd@ |[��S:�CB:�0,90:�;"LOADING...":�0,50:�;"INPUT NAME ";F$:�F$=""� � �("LOAD "+F$+" 3000"):� ����R:�CB:�0,90:�;"SAVING...":�0,50:�;"INPUT NAME ";F$:�F$=""� � �0,0:�0,0:�0,100:�85,1280,0:�85,1280,100:�("SAVE "+F$+" 3000 8000"):� � �B(3) �C�0,P%:�X%(1),Y%(1):�X%(2),Y%(2):�X%(3),Y%(3):�X%(1),Y%(1):�Dd@ �c��FP:g=�1�256:h=�2�256:FF=�0�3:�Y%<100 � FF=1 �Y%<100 � FF=2 �3,-15,120,1:Z=1:� � Z=0:X=X%:Y=Y% ��g<70 X=X+50 ��g>170 X=X-50 ��h>170 Y=Y+50 ��h<70 Y=Y-50 �#�X<0 � X>1280 � Y<50 � Y>1024 � � � �X<>X%�Y<>Y% �A:X%=X:Y%=Y:�A �� ���G ,�0,7:�0,0:�1280,0:�85,0,100:�85,1280,100 �I=32 � 1240 �157.5 R�0,0:�I,40:�I,90:�I+100,90:�I+100,40:�I,40:�I<>504.5 �I+25,80:�(I-8)/157.5+128 &[�:�530,80:�0,1:�131:�530,80:�M%=2�0,3:�136 � �M%=1 � M%=5 �0,2:�136 � �530,80:�0,0:�131 0� :��B(A):I=0 D3�A<>0 �A:�CL:�0,34:�0,0:�"SELECT POINT ";I+1:�A N�FP:� Z=1 �Dn@ Xf�FF=0 �DNB � �3,-15,120,1:�A:�0,P%:�69,X%,Y%:�A:�0,7:�0,0:�0,36:�85,1380,0:�85,1280,36:X%(I+1)=X% b)Y%(I+1)=Y%:I=I+1:� I=A � A=0 � � �DDB l ��ICON v+�23,128,255,129,129,129,129,129,129,255 �#�23,129,8,20,20,34,34,65,65,127 �+�23,130,60,66,129,129,129,129,66,60 �&�23,131,60,66,90,165,165,165,165,0 �+�23,132,252,128,240,128,149,133,149,149 �+�23,133,255,129,130,137,129,137,137,255 �%�23,134,60,64,128,128,128,64,60,0 �+�23,135,255,255,255,255,255,255,255,255 �!�23,136,0,60,36,66,66,66,66,0 �� ���CL �,�0,7:�0,0:�0,36:�85,1280,0:�85,1280,36:� �8��CB:�0,7:�0,0:�0,100:�85,1280,0:�85,1280,100:�0,0:� �4��A:�X%,Y%:�5:�3,P%:�158:�0,P%:�G1=0 G1=1 � G1=0 � �G1=0 �A �=17 �A:Y%=Y%-100:�"DRAW" �G *�0,64:�0,0:� 4�A:�Dd@ �
00000000 0d 00 0a 16 f4 20 45 41 53 59 44 52 41 57 20 56 |..... EASYDRAW V| 00000010 2e 20 34 2e 30 31 0d 00 14 23 f4 20 4a 4f 59 53 |. 4.01...#. JOYS| 00000020 54 49 43 4b 20 52 4f 55 54 49 4e 45 20 42 59 20 |TICK ROUTINE BY | 00000030 4c 2e 20 43 4c 41 52 4b 2e 0d 00 1e 0c ef 32 39 |L. CLARK......29| 00000040 2c 30 3b 30 3b 0d 00 28 12 47 31 3d 31 3a 59 25 |,0;0;..(.G1=1:Y%| 00000050 3d 59 25 2b 31 30 30 0d 00 32 0d ee 20 85 20 e5 |=Y%+100..2.. . .| 00000060 8d 54 4c 43 0d 00 3c 09 f2 49 43 4f 4e 0d 00 46 |.TLC..<..ICON..F| 00000070 1c ef 35 3a de 58 25 28 35 29 2c 59 25 28 35 29 |..5:.X%(5),Y%(5)| 00000080 2c 41 25 28 32 30 2c 32 29 0d 00 50 31 4e 3d 31 |,A%(20,2)..P1N=1| 00000090 3a 41 3d 33 3a 51 3d 33 3a 53 3d 33 3a 4d 3d 31 |:A=3:Q=3:S=3:M=1| 000000a0 3a 4c 3d 58 25 3a 47 3d 59 25 3a ef 32 33 3b 38 |:L=X%:G=Y%:.23;8| 000000b0 32 30 32 3b 30 3b 30 3b 30 3b 0d 00 5a 06 f2 47 |202;0;0;0;..Z..G| 000000c0 0d 00 64 09 f2 42 28 30 29 0d 00 6e 21 e7 59 25 |..d..B(0)..n!.Y%| 000000d0 3c 31 30 30 20 4d 3d 31 2b 28 58 25 20 81 31 35 |<100 M=1+(X% .15| 000000e0 37 2e 35 29 8b e5 8d 74 42 40 0d 00 78 30 ee 20 |7.5)...tB@..x0. | 000000f0 4d 20 e5 8d 74 6a 40 2c 8d 74 50 41 2c 8d 54 4e |M ..tj@,.tPA,.TN| 00000100 41 2c 8d 64 5c 40 2c 8d 64 7a 40 2c 8d 44 54 41 |A,.d\@,.dz@,.DTA| 00000110 2c 8d 54 62 41 2c 8d 54 6c 41 0d 00 82 0e 45 3d |,.TbA,.TlA....E=| 00000120 58 25 3a 44 3d 59 25 20 0d 00 8c 1e e7 46 46 3d |X%:D=Y% .....FF=| 00000130 31 f2 41 3a ec 4c 2c 47 3a e6 30 2c 50 25 3a df |1.A:.L,G:.0,P%:.| 00000140 45 2c 44 3a f2 41 0d 00 96 19 e7 46 46 3d 32 20 |E,D:.A.....FF=2 | 00000150 f2 41 3a f0 36 39 2c 58 25 2c 59 25 3a f2 41 0d |.A:.69,X%,Y%:.A.| 00000160 00 a0 11 4c 3d 45 3a 47 3d 44 3a e5 8d 44 64 40 |...L=E:G=D:..Dd@| 00000170 0d 00 aa 56 f2 42 28 32 29 3a f2 41 3a e6 30 2c |...V.B(2):.A:.0,| 00000180 50 25 3a ec 58 25 28 31 29 2c 59 25 28 31 29 3a |P%:.X%(1),Y%(1):| 00000190 df 58 25 28 32 29 2c 59 25 28 31 29 3a df 58 25 |.X%(2),Y%(1):.X%| 000001a0 28 32 29 2c 59 25 28 32 29 3a df 58 25 28 31 29 |(2),Y%(2):.X%(1)| 000001b0 2c 59 25 28 32 29 3a df 58 25 28 31 29 2c 59 25 |,Y%(2):.X%(1),Y%| 000001c0 28 31 29 3a f2 41 0d 00 b4 11 4e 3d 30 3a f2 43 |(1):.A....N=0:.C| 000001d0 4c 3a e5 8d 44 64 40 0d 00 be 0c f2 4e 3a e5 8d |L:..Dd@.....N:..| 000001e0 44 50 40 0d 00 c8 41 dd f2 43 4d 45 4e 55 3a f2 |DP@...A..CMENU:.| 000001f0 41 3a f2 43 42 3a 54 3d 41 3a e7 4d 25 3d 31 20 |A:.CB:T=A:.M%=1 | 00000200 84 4d 25 3d 35 20 43 4c 3d 34 20 8b 20 e7 4d 25 |.M%=5 CL=4 . .M%| 00000210 3d 34 20 43 4c 3d 32 20 8b 20 e7 4d 25 3d 32 20 |=4 CL=2 . .M%=2 | 00000220 43 4c 3d 38 0d 00 d2 81 e3 49 3d 31 36 20 b8 28 |CL=8.....I=16 .(| 00000230 43 4c 2a 31 35 30 29 2d 31 36 20 88 31 35 30 3a |CL*150)-16 .150:| 00000240 e6 30 2c 28 49 2d 31 36 29 2f 31 35 30 3a ec 49 |.0,(I-16)/150:.I| 00000250 2c 34 30 3a ec 49 2c 39 30 3a f0 38 35 2c 49 2b |,40:.I,90:.85,I+| 00000260 31 30 30 2c 34 30 3a f0 38 35 2c 49 2b 31 30 30 |100,40:.85,I+100| 00000270 2c 39 30 3a e6 30 2c 30 3a ec 49 2c 34 30 3a df |,90:.0,0:.I,40:.| 00000280 49 2c 39 30 3a df 49 2b 31 30 30 2c 39 30 3a df |I,90:.I+100,90:.| 00000290 49 2b 31 30 30 2c 34 30 3a df 49 2c 34 30 3a ed |I+100,40:.I,40:.| 000002a0 3a f2 41 3a e1 0d 00 dc 0a f2 43 4d 45 4e 55 0d |:.A:......CMENU.| 000002b0 00 e6 12 f2 46 50 3a e7 5a 3d 30 20 e5 8d 64 66 |....FP:.Z=0 ..df| 000002c0 40 0d 00 f0 34 4d 3d 58 25 20 81 31 35 30 3a 50 |@...4M=X% .150:P| 000002d0 25 3d 4d 3a e7 20 4d 3e 43 4c 20 e5 8d 64 66 40 |%=M:. M>CL ..df@| 000002e0 20 8b 20 f2 41 3a f2 43 42 3a f2 47 3a f2 41 3a | . .A:.CB:.G:.A:| 000002f0 e5 8d 44 64 40 0d 00 fa 28 f2 41 3a f2 43 4c 3a |..Dd@...(.A:.CL:| 00000300 ec 30 2c 33 32 3a e6 30 2c 30 3a f1 3b 22 46 49 |.0,32:.0,0:.;"FI| 00000310 4c 4c 20 57 48 45 52 45 3f 22 3a f2 41 0d 01 04 |LL WHERE?":.A...| 00000320 2a f2 42 28 30 29 3a 52 25 3d 31 30 3a f2 41 3a |*.B(0):R%=10:.A:| 00000330 e6 30 2c 30 3a f0 36 39 2c 58 25 2c 59 25 3a d7 |.0,0:.69,X%,Y%:.| 00000340 22 44 52 41 57 32 22 0d 01 0e 0c f2 42 28 32 29 |"DRAW2".....B(2)| 00000350 3a f2 41 0d 01 18 28 f2 48 28 58 25 28 31 29 2c |:.A...(.H(X%(1),| 00000360 59 25 28 31 29 2c 58 25 28 32 29 2c 59 25 28 32 |Y%(1),X%(2),Y%(2| 00000370 29 29 3a f2 41 3a e5 8d 44 64 40 0d 01 22 1c ef |)):.A:..Dd@.."..| 00000380 34 3a fb 31 32 38 3a db 3a ef 35 3a f2 47 3a f2 |4:.128:.:.5:.G:.| 00000390 41 3a e5 8d 44 64 40 0d 01 2c 33 f2 43 4d 45 4e |A:..Dd@..,3.CMEN| 000003a0 55 3a ec 30 2c 33 32 3a e6 30 2c 30 3a ec 30 2c |U:.0,32:.0,0:.0,| 000003b0 33 32 3a f1 3b 22 42 41 43 4b 47 52 4f 55 4e 44 |32:.;"BACKGROUND| 000003c0 20 43 4f 4c 4f 55 52 3f 22 3b 0d 01 36 12 f2 46 | COLOUR?";..6..F| 000003d0 50 3a e7 5a 3d 30 20 e5 8d 54 76 41 0d 01 40 37 |P:.Z=0 ..TvA..@7| 000003e0 4d 3d 58 25 20 81 31 35 37 3a e7 20 4d 3e 43 4c |M=X% .157:. M>CL| 000003f0 20 e5 8d 54 76 41 20 8b 20 ef 34 3a fb 4d 2b 31 | ..TvA . .4:.M+1| 00000400 32 38 3a db 3a ef 35 3a f2 47 3a f2 41 3a e5 8d |28:.:.5:.G:.A:..| 00000410 44 64 40 0d 01 4a 6e dd f2 48 28 45 2c 44 2c 4c |Dd@..Jn..H(E,D,L| 00000420 2c 47 29 3a 58 3d 28 45 2b 4c 29 2f 32 3a 59 3d |,G):X=(E+L)/2:Y=| 00000430 28 44 2b 47 29 2f 32 3a 52 3d b6 28 28 45 2d 58 |(D+G)/2:R=.((E-X| 00000440 29 2a 28 45 2d 58 29 2b 28 44 2d 59 29 5e 32 29 |)*(E-X)+(D-Y)^2)| 00000450 3a ec 58 2b 52 2c 59 3a 44 3d 59 3a 45 3d 58 2b |:.X+R,Y:D=Y:E=X+| 00000460 52 3a e3 6b 3d 30 b8 36 2e 34 88 2e 31 35 3a df |R:.k=0.6.4..15:.| 00000470 58 2b 52 2a 9b 6b 2c 59 2b 52 2a b5 6b 3a ed 3a |X+R*.k,Y+R*.k:.:| 00000480 e1 0d 01 54 88 f2 41 3a f2 43 42 3a e6 30 2c 30 |...T..A:.CB:.0,0| 00000490 3a ec 32 30 30 2c 34 30 3a df 36 30 30 2c 34 30 |:.200,40:.600,40| 000004a0 3a df 36 30 30 2c 39 30 3a df 32 30 30 2c 39 30 |:.600,90:.200,90| 000004b0 3a df 32 30 30 2c 34 30 3a ec 37 30 30 2c 34 30 |:.200,40:.700,40| 000004c0 3a df 31 31 30 30 2c 34 30 3a df 31 31 30 30 2c |:.1100,40:.1100,| 000004d0 39 30 3a df 37 30 30 2c 39 30 3a df 37 30 30 2c |90:.700,90:.700,| 000004e0 34 30 3a ec 32 30 30 2c 38 30 3a f1 3b 22 20 4c |40:.200,80:.;" L| 000004f0 4f 41 44 22 3a ec 37 30 30 2c 38 30 3a f1 3b 22 |OAD":.700,80:.;"| 00000500 20 53 41 56 45 22 3a f2 41 0d 01 5e 46 f2 46 50 | SAVE":.A..^F.FP| 00000510 3a e7 5a 3d 30 20 e5 8d 44 5e 41 20 8b 20 e7 58 |:.Z=0 ..D^A . .X| 00000520 25 3c 36 30 30 20 80 58 25 3e 32 30 30 20 4d 3d |%<600 .X%>200 M=| 00000530 31 20 8b 20 e7 58 25 3e 37 30 30 20 80 20 58 25 |1 . .X%>700 . X%| 00000540 3c 31 31 30 30 20 4d 3d 32 20 8b 20 4d 3d 30 0d |<1100 M=2 . M=0.| 00000550 01 68 1c e6 30 2c 31 33 35 3a f2 41 3a e7 4d 3d |.h..0,135:.A:.M=| 00000560 31 f2 53 20 8b e7 4d 3d 32 f2 52 0d 01 72 0f f2 |1.S ..M=2.R..r..| 00000570 47 3a f2 41 3a e5 8d 44 64 40 0d 01 7c 5b dd f2 |G:.A:..Dd@..|[..| 00000580 53 3a f2 43 42 3a ec 30 2c 39 30 3a f1 3b 22 4c |S:.CB:.0,90:.;"L| 00000590 4f 41 44 49 4e 47 2e 2e 2e 22 3a ec 30 2c 35 30 |OADING...":.0,50| 000005a0 3a e8 3b 22 49 4e 50 55 54 20 4e 41 4d 45 20 22 |:.;"INPUT NAME "| 000005b0 3b 46 24 3a e7 46 24 3d 22 22 e1 20 8b 20 ff 28 |;F$:.F$="". . .(| 000005c0 22 4c 4f 41 44 20 22 2b 46 24 2b 22 20 33 30 30 |"LOAD "+F$+" 300| 000005d0 30 22 29 3a e1 0d 01 86 88 dd f2 52 3a f2 43 42 |0"):.......R:.CB| 000005e0 3a ec 30 2c 39 30 3a f1 3b 22 53 41 56 49 4e 47 |:.0,90:.;"SAVING| 000005f0 2e 2e 2e 22 3a ec 30 2c 35 30 3a e8 3b 22 49 4e |...":.0,50:.;"IN| 00000600 50 55 54 20 4e 41 4d 45 20 22 3b 46 24 3a e7 46 |PUT NAME ";F$:.F| 00000610 24 3d 22 22 e1 20 8b 20 e6 30 2c 30 3a ec 30 2c |$="". . .0,0:.0,| 00000620 30 3a ec 30 2c 31 30 30 3a f0 38 35 2c 31 32 38 |0:.0,100:.85,128| 00000630 30 2c 30 3a f0 38 35 2c 31 32 38 30 2c 31 30 30 |0,0:.85,1280,100| 00000640 3a ff 28 22 53 41 56 45 20 22 2b 46 24 2b 22 20 |:.("SAVE "+F$+" | 00000650 33 30 30 30 20 38 30 30 30 22 29 3a e1 0d 01 90 |3000 8000"):....| 00000660 09 f2 42 28 33 29 0d 01 9a 43 e6 30 2c 50 25 3a |..B(3)...C.0,P%:| 00000670 ec 58 25 28 31 29 2c 59 25 28 31 29 3a df 58 25 |.X%(1),Y%(1):.X%| 00000680 28 32 29 2c 59 25 28 32 29 3a df 58 25 28 33 29 |(2),Y%(2):.X%(3)| 00000690 2c 59 25 28 33 29 3a df 58 25 28 31 29 2c 59 25 |,Y%(3):.X%(1),Y%| 000006a0 28 31 29 3a e5 8d 44 64 40 0d 01 a4 63 dd f2 46 |(1):..Dd@...c..F| 000006b0 50 3a 67 3d 96 31 81 32 35 36 3a 68 3d 96 32 81 |P:g=.1.256:h=.2.| 000006c0 32 35 36 3a 46 46 3d 96 30 80 33 3a e7 59 25 3c |256:FF=.0.3:.Y%<| 000006d0 31 30 30 20 80 20 46 46 3d 31 20 84 59 25 3c 31 |100 . FF=1 .Y%<1| 000006e0 30 30 20 80 20 46 46 3d 32 20 d4 33 2c 2d 31 35 |00 . FF=2 .3,-15| 000006f0 2c 31 32 30 2c 31 3a 5a 3d 31 3a e1 20 8b 20 5a |,120,1:Z=1:. . Z| 00000700 3d 30 3a 58 3d 58 25 3a 59 3d 59 25 0d 01 ae 10 |=0:X=X%:Y=Y%....| 00000710 e7 67 3c 37 30 20 58 3d 58 2b 35 30 0d 01 b8 11 |.g<70 X=X+50....| 00000720 e7 67 3e 31 37 30 20 58 3d 58 2d 35 30 0d 01 c2 |.g>170 X=X-50...| 00000730 11 e7 68 3e 31 37 30 20 59 3d 59 2b 35 30 0d 01 |..h>170 Y=Y+50..| 00000740 cc 10 e7 68 3c 37 30 20 59 3d 59 2d 35 30 0d 01 |...h<70 Y=Y-50..| 00000750 d6 23 e7 58 3c 30 20 84 20 58 3e 31 32 38 30 20 |.#.X<0 . X>1280 | 00000760 84 20 59 3c 35 30 20 84 20 59 3e 31 30 32 34 20 |. Y<50 . Y>1024 | 00000770 e1 0d 01 e0 04 0d 01 ea 20 e7 58 3c 3e 58 25 84 |........ .X<>X%.| 00000780 59 3c 3e 59 25 20 f2 41 3a 58 25 3d 58 3a 59 25 |Y<>Y% .A:X%=X:Y%| 00000790 3d 59 3a f2 41 0d 01 f4 05 e1 0d 01 fe 07 dd f2 |=Y:.A...........| 000007a0 47 0d 02 08 2c e6 30 2c 37 3a ec 30 2c 30 3a ec |G...,.0,7:.0,0:.| 000007b0 31 32 38 30 2c 30 3a f0 38 35 2c 30 2c 31 30 30 |1280,0:.85,0,100| 000007c0 3a f0 38 35 2c 31 32 38 30 2c 31 30 30 0d 02 12 |:.85,1280,100...| 000007d0 17 e3 49 3d 33 32 20 b8 20 31 32 34 30 20 88 31 |..I=32 . 1240 .1| 000007e0 35 37 2e 35 0d 02 1c 52 e6 30 2c 30 3a ec 49 2c |57.5...R.0,0:.I,| 000007f0 34 30 3a df 49 2c 39 30 3a df 49 2b 31 30 30 2c |40:.I,90:.I+100,| 00000800 39 30 3a df 49 2b 31 30 30 2c 34 30 3a df 49 2c |90:.I+100,40:.I,| 00000810 34 30 3a e7 49 3c 3e 35 30 34 2e 35 20 ec 49 2b |40:.I<>504.5 .I+| 00000820 32 35 2c 38 30 3a ef 28 49 2d 38 29 2f 31 35 37 |25,80:.(I-8)/157| 00000830 2e 35 2b 31 32 38 0d 02 26 5b ed 3a ec 35 33 30 |.5+128..&[.:.530| 00000840 2c 38 30 3a e6 30 2c 31 3a ef 31 33 31 3a ec 35 |,80:.0,1:.131:.5| 00000850 33 30 2c 38 30 3a e7 4d 25 3d 32 e6 30 2c 33 3a |30,80:.M%=2.0,3:| 00000860 ef 31 33 36 20 8b 20 e7 4d 25 3d 31 20 84 20 4d |.136 . .M%=1 . M| 00000870 25 3d 35 20 e6 30 2c 32 3a ef 31 33 36 20 8b 20 |%=5 .0,2:.136 . | 00000880 ec 35 33 30 2c 38 30 3a e6 30 2c 30 3a ef 31 33 |.530,80:.0,0:.13| 00000890 31 0d 02 30 05 e1 0d 02 3a 0e dd f2 42 28 41 29 |1..0....:...B(A)| 000008a0 3a 49 3d 30 0d 02 44 33 e7 41 3c 3e 30 20 f2 41 |:I=0..D3.A<>0 .A| 000008b0 3a f2 43 4c 3a ec 30 2c 33 34 3a e6 30 2c 30 3a |:.CL:.0,34:.0,0:| 000008c0 f1 22 53 45 4c 45 43 54 20 50 4f 49 4e 54 20 22 |."SELECT POINT "| 000008d0 3b 49 2b 31 3a f2 41 0d 02 4e 13 f2 46 50 3a e7 |;I+1:.A..N..FP:.| 000008e0 20 5a 3d 31 20 e5 8d 44 6e 40 0d 02 58 66 e7 46 | Z=1 ..Dn@..Xf.F| 000008f0 46 3d 30 20 e5 8d 44 4e 42 20 8b 20 d4 33 2c 2d |F=0 ..DNB . .3,-| 00000900 31 35 2c 31 32 30 2c 31 3a f2 41 3a e6 30 2c 50 |15,120,1:.A:.0,P| 00000910 25 3a f0 36 39 2c 58 25 2c 59 25 3a f2 41 3a e6 |%:.69,X%,Y%:.A:.| 00000920 30 2c 37 3a ec 30 2c 30 3a ec 30 2c 33 36 3a f0 |0,7:.0,0:.0,36:.| 00000930 38 35 2c 31 33 38 30 2c 30 3a f0 38 35 2c 31 32 |85,1380,0:.85,12| 00000940 38 30 2c 33 36 3a 58 25 28 49 2b 31 29 3d 58 25 |80,36:X%(I+1)=X%| 00000950 0d 02 62 29 59 25 28 49 2b 31 29 3d 59 25 3a 49 |..b)Y%(I+1)=Y%:I| 00000960 3d 49 2b 31 3a e7 20 49 3d 41 20 84 20 41 3d 30 |=I+1:. I=A . A=0| 00000970 20 e1 20 8b 20 8d 44 44 42 0d 02 6c 0a dd f2 49 | . . .DDB..l...I| 00000980 43 4f 4e 0d 02 76 2b ef 32 33 2c 31 32 38 2c 32 |CON..v+.23,128,2| 00000990 35 35 2c 31 32 39 2c 31 32 39 2c 31 32 39 2c 31 |55,129,129,129,1| 000009a0 32 39 2c 31 32 39 2c 31 32 39 2c 32 35 35 0d 02 |29,129,129,255..| 000009b0 80 23 ef 32 33 2c 31 32 39 2c 38 2c 32 30 2c 32 |.#.23,129,8,20,2| 000009c0 30 2c 33 34 2c 33 34 2c 36 35 2c 36 35 2c 31 32 |0,34,34,65,65,12| 000009d0 37 0d 02 8a 2b ef 32 33 2c 31 33 30 2c 36 30 2c |7...+.23,130,60,| 000009e0 36 36 2c 31 32 39 2c 31 32 39 2c 31 32 39 2c 31 |66,129,129,129,1| 000009f0 32 39 2c 36 36 2c 36 30 20 20 20 20 0d 02 94 26 |29,66,60 ...&| 00000a00 ef 32 33 2c 31 33 31 2c 36 30 2c 36 36 2c 39 30 |.23,131,60,66,90| 00000a10 2c 31 36 35 2c 31 36 35 2c 31 36 35 2c 31 36 35 |,165,165,165,165| 00000a20 2c 30 0d 02 9e 2b ef 32 33 2c 31 33 32 2c 32 35 |,0...+.23,132,25| 00000a30 32 2c 31 32 38 2c 32 34 30 2c 31 32 38 2c 31 34 |2,128,240,128,14| 00000a40 39 2c 31 33 33 2c 31 34 39 2c 31 34 39 0d 02 a8 |9,133,149,149...| 00000a50 2b ef 32 33 2c 31 33 33 2c 32 35 35 2c 31 32 39 |+.23,133,255,129| 00000a60 2c 31 33 30 2c 31 33 37 2c 31 32 39 2c 31 33 37 |,130,137,129,137| 00000a70 2c 31 33 37 2c 32 35 35 0d 02 b2 25 ef 32 33 2c |,137,255...%.23,| 00000a80 31 33 34 2c 36 30 2c 36 34 2c 31 32 38 2c 31 32 |134,60,64,128,12| 00000a90 38 2c 31 32 38 2c 36 34 2c 36 30 2c 30 0d 02 bc |8,128,64,60,0...| 00000aa0 2b ef 32 33 2c 31 33 35 2c 32 35 35 2c 32 35 35 |+.23,135,255,255| 00000ab0 2c 32 35 35 2c 32 35 35 2c 32 35 35 2c 32 35 35 |,255,255,255,255| 00000ac0 2c 32 35 35 2c 32 35 35 0d 02 c6 21 ef 32 33 2c |,255,255...!.23,| 00000ad0 31 33 36 2c 30 2c 36 30 2c 33 36 2c 36 36 2c 36 |136,0,60,36,66,6| 00000ae0 36 2c 36 36 2c 36 36 2c 30 0d 02 d0 05 e1 0d 02 |6,66,66,0.......| 00000af0 da 08 dd f2 43 4c 0d 02 e4 2c e6 30 2c 37 3a ec |....CL...,.0,7:.| 00000b00 30 2c 30 3a ec 30 2c 33 36 3a f0 38 35 2c 31 32 |0,0:.0,36:.85,12| 00000b10 38 30 2c 30 3a f0 38 35 2c 31 32 38 30 2c 33 36 |80,0:.85,1280,36| 00000b20 3a e1 0d 02 ee 38 dd f2 43 42 3a e6 30 2c 37 3a |:....8..CB:.0,7:| 00000b30 ec 30 2c 30 3a ec 30 2c 31 30 30 3a f0 38 35 2c |.0,0:.0,100:.85,| 00000b40 31 32 38 30 2c 30 3a f0 38 35 2c 31 32 38 30 2c |1280,0:.85,1280,| 00000b50 31 30 30 3a e6 30 2c 30 3a e1 0d 02 f8 34 dd f2 |100:.0,0:....4..| 00000b60 41 3a ec 58 25 2c 59 25 3a ef 35 3a e6 33 2c 50 |A:.X%,Y%:.5:.3,P| 00000b70 25 3a ef 31 35 38 3a e6 30 2c 50 25 3a e7 47 31 |%:.158:.0,P%:.G1| 00000b80 3d 30 20 47 31 3d 31 20 8b 20 47 31 3d 30 0d 03 |=0 G1=1 . G1=0..| 00000b90 02 05 e1 0d 03 0c 0c e7 47 31 3d 30 20 f2 41 0d |........G1=0 .A.| 00000ba0 03 16 1e e7 9f 3d 31 37 20 f2 41 3a 59 25 3d 59 |.....=17 .A:Y%=Y| 00000bb0 25 2d 31 30 30 3a d7 22 44 52 41 57 22 0d 03 20 |%-100:."DRAW".. | 00000bc0 06 f2 47 0d 03 2a 10 ec 30 2c 36 34 3a e6 30 2c |..G..*..0,64:.0,| 00000bd0 30 3a f6 0d 03 34 0c f2 41 3a e5 8d 44 64 40 0d |0:...4..A:..Dd@.| 00000be0 ff |.| 00000be1