home *** CD-ROM | disk | FTP | other *** search
- 1 GOTO24
- 2 GETA$:IFA$=""THEN11
- 3 IFA$>"/"ANDA$<":"THENSF=VAL(A$)-SS*(A$="0"):GOTO11
- 4 IFA$="[147]"THENSYS36888:GOTO11
- 5 IFA$="!"THENSYS36867:GOTO11
- 6 IFA$="="THENSYS36882:GOTO11
- 7 IFA$="&"THENSYS36879:GOTO11
- 8 IFA$=""THENSYS36885:GOTO11
- 9 IFA$="_"THENA=USR(33),1:A=USR(33),2:A=USR(33),3:GOTO24
- 10 A=USR(33),0:LOAD"CMND",D0
- 11 X=X+USR(121)*SF:Y=Y-USR(122)*SF
- 12 IFX>331THENX=12
- 13 IFX<12THENX=331
- 14 IFY>239THENY=40
- 15 IFY<40THENY=239
- 16 A=USR(34),X,Y,0:A=USR(34),16,Y,6:A=USR(34),X,231,7:RETURN
- 17 GETA$:IFA$<>""THEN3
- 18 X=X+USR(121)-USR(122)*1/M::Y=Y-USR(122)+USR(121)*M
- 19 IFX>331THENX=331
- 20 IFX<12THENX=12
- 21 IFY>239THENY=239
- 22 IFY<40THENY=40
- 23 A=USR(34),X,Y,0:A=USR(34),16,Y,6:A=USR(34),X,231,7:RETURN
- 24 A=USR(32),0
- 25 GOSUB2:A=USR(117):IFA<>16THEN25
- 26 X1=X-12:Y1=Y-40:A=USR(34),X,Y,1:A=USR(32),1
- 27 A=USR(117):IFA<>0THEN27
- 28 GOSUB2:A=USR(117):IFA<>16THEN28
- 29 X2=X-12:Y2=Y-40:A=USR(34),X,Y,2:A=USR(32),2
- 30 A=USR(117):IFA<>0THEN30
- 31 IF(Y1=Y2)OR(X1=X2)THENA=USR(33),1:A=USR(33),2:GOTO24
- 32 M=(Y2-Y1)/(X2-X1)
- 33 GOSUB2:A=USR(117):IFA<>16THEN33
- 34 X3=X-12:Y3=Y-40:A=USR(34),X,Y,3:A=USR(32),3
- 35 A=USR(117):IFA<>0THEN35
- 36 GOSUB17:A=USR(117):IFA<>16THEN36
- 37 X4=X-12:Y4=Y-40
- 38 IF(X3<>X4)AND(Y3<>Y4)THEN42
- 39 FORT=1TO4:A=USR(33),T:NEXT
- 40 A=USR(117):IFA<>0THEN40
- 41 GOTO24
- 42 SYS36864
- 43 A=USR(117):IFA<>0THEN43
- 44 A=USR(33),3:A=USR(66),X3,Y3,X4,Y4
- 45 GOTO33
-