home *** CD-ROM | disk | FTP | other *** search
- 1 A=USR(32),0:CM=0:GOTO17
- 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$="+"THENCM=1+(CM=1):GOTO11
- 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 GOSUB2:A=USR(117):IFA<>16THEN17
- 18 SYS36864:X1=X-12:Y1=Y-40:A=USR(34),X,Y,1:A=USR(32),1
- 19 A=USR(117):IFA<>0THEN19
- 20 GOSUB2:A=USR(117):IFA<>16THEN20
- 21 X2=X-12:Y2=Y-40:A=USR(34),X,Y,2:A=USR(32),2
- 22 A=USR(117):IFA<>0THEN22
- 23 GOSUB2:A=USR(117):IFA<>16THEN23
- 24 X3=X-12:Y3=Y-40:A=USR(34),X,Y,3:A=USR(32),3
- 25 A=USR(117):IFA<>0THEN25
- 26 A=USR(33),1:A=USR(33),2:A=USR(33),3:IFX1>X2THENX4=X1:X1=X2:X2=X4
- 27 IFX1=X2THEN37
- 28 RA=ABS(X2-X1)/2:XC=X1+((X2-X1)/2):YC=Y1:A=USR(33),0:X5=X2:Y5=Y1
- 29 FORPH=0TO21*(null)/10STEP(null)/20
- 30 X4=(COS(PH)*RA)+XC+.5:Y4=.5+YC-((SIN(PH)*RA)*(YC-Y3)/(XC-X1))
- 31 IFY4>199THENY4=199
- 32 IFY4<0THENY4=0
- 33 IFY4=Y5THEN35
- 34 A=USR(66),X5,Y5,X4,Y4
- 35 X5=X4:Y5=Y4
- 36 NEXT
- 37 A=USR(32),0:GOTO17
-