home *** CD-ROM | disk | FTP | other *** search
- 1 GOTO16
- 2 GETA$:IFA$=""THEN10
- 3 IFA$>"/"ANDA$<":"THENSF=VAL(A$)-SS*(A$="0"):GOTO10
- 4 IFA$="[147]"THENSYS36888:GOTO10
- 5 IFA$="!"THENSYS36867:GOTO10
- 6 IFA$="="THENSYS36882:GOTO10
- 7 IFA$="&"THENSYS36879:GOTO10
- 8 IFA$=""THENSYS36885:GOTO10
- 9 A=USR(33),0:LOAD"CMND",D0
- 10 X=X+USR(121)*SF:Y=Y-USR(122)*SF
- 11 IFX>331THENX=12
- 12 IFX<12THENX=331
- 13 IFY>239THENY=40
- 14 IFY<40THENY=239
- 15 A=USR(34),X,Y,0:A=USR(34),16,Y,6:A=USR(34),X,231,7:RETURN
- 16 A=USR(32),0
- 17 GOSUB2:A=USR(117):IFA<>16THEN17
- 18 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 A=USR(33),1:A=USR(33),2
- 24 A=USR(33),0:A=USR(34),0,Y,6:A=USR(34),X,255,7:A=USR(0),0,1,4
- 25 A=USR(21):A=USR(17):A=USR(19):A=USR(1):GOSUB41
- 26 PRINTCHR$(14);"[147][216]1= ";X1;:PRINTTAB(5);" [217]1= ";Y1
- 27 PRINT"[216]2= ";X2;:PRINTTAB(5);" [217]2= ";Y2:IF(X1=X2)AND(Y1=Y2)THEN30
- 28 T=SQR((X2-X1)^2+(Y2-Y1)^2)
- 29 PRINT"[196]ISTANCE FROM X1,Y1 TO X2,Y2 IS ":PRINTT
- 30 PRINT"[194]ORDER COLOR IS ";BO
- 31 PRINT"[194]ACKGROUND COLOR IS ";BC
- 32 PRINT"[195]URSOR COLOR IS ";CU
- 33 PRINT"[208]LOT COLOR IS ";FC
- 34 PRINT"[208]ROGRAM DRIVE IS ";D0
- 35 PRINT"[198]ILE DRIVE IS ";D1
- 36 PRINT"";FRE(0);" BYTES FREE"
- 37 PRINT"[208]RESS ANY KEY TO CONTINUE."
- 38 GETA$:IFA$=""THEN38
- 39 PRINT"[147]":A=USR(0),1,7,14:A=USR(1):A=USR(16):GOSUB41:A=USR(32),0
- 40 LOAD"CMND",D0
- 41 OPEN15,D0,15,"I0":CLOSE15:RETURN
-