Home » CEEFAX disks » telesoftware5.adl » 22-01-88/L\TANK

22-01-88/L\TANK

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 » telesoftware5.adl
Filename: 22-01-88/L\TANK
Read OK:
File size: 12EB bytes
Load address: FFFF1900
Exec address: FFFF8023
File contents
  100REM *****************************
  110REM *        LOGO-TANK          *
  120REM *     by Gary Colcombe      *
  130REM *    (c) The Micro User     *
  140REM *****************************
  150MODE7:PROCreloc(&E00)
  160PROCtitle:REPEAT PROCinst
  170UNTIL FNyn(CHR$131+"Instructions again")="N"
  180REPEAT MODE2:PROCcoff
  190sc=0:lv=0:REPEAT CLS
  200PROCinit:PROCgame:UNTIL dead
  210MODE 7:PROCcoff:PROCnew:PROCres
  220UNTIL FNyn("Another game")="N"
  230MODE7:END
  240DEF PROCcoff:VDU23;8202;0;0;0;:ENDPROC
  250DEF PROCnew:IF sc<h%(8) ENDPROC
  260PROChd:PROCt(131)
  270PRINTTAB(5,5)"You're on the High Score Table"
  280INPUTTAB(10,10)"What is your name"'TAB(15,12)N$
  290N$=LEFT$(N$+STRING$(10," "),10)
  300I%=8:REPEAT I%=I%-1
  310h%(I%+1)=h%(I%)
  320h$(I%+1)=h$(I%)
  330UNTIL sc<=h%(I%):P%=I%+1
  340h%(I%+1)=sc:h$(I%+1)=N$
  350ENDPROC
  360DEF PROCres:PROChd:PROCt(132)
  370PRINT''TAB(13)"High Scores"'
  380FOR K%=1 TO 8:C%=131
  390IF K%=P% D%=136 ELSE D%=32
  400PRINTTAB(5)';K%") "h$(K%)" _ ";h%(K%)
  410NEXT:ENDPROC
  420DEF PROCtitle
  430DIM h$(8),h%(8):*FX4,2
  440VDU&F717;&1800;&7E3C;&5A7E;&7E5A;
  450VDU&F817;&30FE;&7F78;&787F;&0030;
  460VDU&F917;&3900;&FC12;&12FC;&0039;
  470VDU&FA17;&9918;&BD99;&FFFF;&81BD;
  480VDU&FB17;&30FE;&7F78;&787F;&FE30;
  490VDU&FC17;&BD81;&FFFF;&99BD;&1899;
  500VDU&FD17;&0C7F;&FE1E;&1EFE;&7F0C;
  510VDU&FE17;&1C1C;&7F7F;&0868;&1C08;
  520VDU&FF17;&04A1;&5810;&281A;&8940;
  530ENVELOPE1,1,-10,-10,-10,255,255,255,127,0,0,0,67,0
  540ENVELOPE2,0,-230,230,-230,5,5,5,127,-1,0,0,67,0
  550ENVELOPE3,3,0,0,0,0,0,0,126,-2,-1,-1,126,100
  560ENVELOPE4,128,11,-1,-2,0,50,50,70,70,-3,-2,110,110
  570logo$=STRING$(40," "):a$=logo$
  580logo$="":a$="":lg$="FLRS"
  590del$=CHR$127:cr$=CHR$13
  600FORI%=1TO8:h$(I%)="Old Score "
  610h%(I%)=50*(8-I%)+50:NEXT:ENDPROC
  620DEF FNyn(t$):PRINT''t$"?";
  630REPEAT A$=CHR$(GETAND&DF)
  640UNTIL A$="Y" OR A$="N":=A$
  650DEF PROCinit:lv=lv+1
  660TX%=10:TY%=26:TD%=0:dead=FALSE
  670grid=FALSE:Z%=RND(-TIME)
  680PROCpl(2,254,lv*15)
  690PROCpl(7,247,lv*4)
  700PROCpl(5,248,lv*2)
  710PROCpl(1,249,lv*3)
  720tgts=lv*9:PROCtk:ENDPROC
  730DEF PROCpl(K%,C%,N%)
  740COLOUR K%:FOR L%=1 TO N%
  750REPEAT X%=RND(20)-1:Y%=RND(26)-1
  760UNTIL FNrdch(X%,Y%)=" "
  770VDU31X%Y%C%:NEXT:ENDPROC
  780DEF PROCgame:K%=0
  790REPEAT K%=K%+1:PROClogo:PROCact
  800UNTIL K%=5 OR dead OR tgts=0
  810IF tgts=0 sc=sc+lv*50
  820COLOUR4:VDU31,1,31:IF dead PRINT"Oops, you crashed!"; ELSE PRINT"Screen ";lv" cleared!";
  830PROCwait(200):ENDPROC
  840DEF PROClogo:*FX15
  850IF grid PROCgrid
  860PRINTTAB(0,28)SPC41;
  870COLOUR6:PRINTTAB(0,28)"?";
  880COLOUR1:logo$="":REPEAT a$=lg$
  890IF logo$>"" a$=a$+cr$+del$
  900IF LENlogo$=40 a$=cr$+del$
  910REPEAT REPEAT I%=GET
  920IF I%=127 i$=CHR$I% ELSE i$=CHR$(I%AND&DF)
  930IF i$="G" grid=NOTgrid:PROCgrid
  940UNTILi$<>"G":UNTILINSTR(a$,i$)
  950IF i$=del$ VDU127:logo$=LEFT$(logo$,LENlogo$-1):i$=""
  960IF i$<>cr$ PRINTi$;:logo$=logo$+i$
  970UNTIL i$=cr$:IF grid PROCgrid
  980ENDPROC
  990DEF PROCgrid:LOCAL X%,Y%:GCOL 3,1
 1000FOR X%=0 TO 1279 STEP 64
 1010MOVE X%,160:PLOT 29,X%,1023:NEXT
 1020FOR Y%=160 TO 1023 STEP 32
 1030MOVE 0,Y%:PLOT 29,1279,Y%:NEXT
 1040sc=sc-1:ENDPROC
 1050DEF PROCact
 1060FOR I%=1 TO LENlogo$:SOUND0,1,1,1
 1070i$=MID$(logo$,I%,1):COLOUR6
 1080PRINTTAB(I%MOD20,28+I%DIV20)i$;
 1090IF i$="F" PROCforward
 1100IF i$="L" PROCleft
 1110IF i$="R" PROCright
 1120IF i$="S" PROCshoot
 1130IF dead I%=40
 1140PROCwait(15):NEXT:ENDPROC
 1150DEF PROCforward:VDU31TX%TY%32
 1160IF TD%=0 IF TY%>0  TY%=TY%-1
 1170IF TD%=1 IF TX%<19 TX%=TX%+1
 1180IF TD%=2 IF TY%<25 TY%=TY%+1
 1190IF TD%=3 IF TX%>0  TX%=TX%-1
 1200G$=FNrdch(TX%,TY%)
 1210IF G$=" " PROCtk ELSE PROCcrash
 1220ENDPROC
 1230DEF PROCleft
 1240TD%=TD%-1:IF TD%<0 TD%=3
 1250PROCtk:ENDPROC
 1260DEF PROCtk:COLOUR 6
 1270VDU31TX%TY%250+TD%:ENDPROC
 1280DEF PROCright
 1290TD%=TD%+1:IF TD%>3 TD%=0
 1300PROCtk:ENDPROC
 1310DEF PROCinst:PROChd:PROCt(134)
 1320PRINT'"Your mission -- should you choose to"
 1330PRINT"accept it -- is to destroy the enemy"
 1340PRINT" emplacements.  You must program the"
 1350PRINT"Logo-tank to move around the screen"
 1360PRINT"shooting copters, guns and buildings"
 1370PRINT"and avoid crashing into anything."
 1380PRINT'"You have five attempts to enter up to"
 1390PRINT"40 commands which the Logo-tank will"
 1400PRINT"obey and clear the screen."
 1410PRINT''"Press Space to continue";
 1420REPEATUNTILGET=32
 1430PROChd:PROCt(131):PRINT''
 1440PRINTSPC5"F"SPC6"- Forward a step"
 1450PRINTSPC5"L"SPC6"- Turn to Left"
 1460PRINTSPC5"R"SPC6"- Turn to Right"
 1470PRINTSPC5"S"SPC6"- Fire a shell"
 1480PRINTSPC5"Delete - Delete last command"
 1490PRINTSPC5"Return - Proceed with commands"
 1500PRINTSPC5"G"SPC6"- Switch grid on and off"
 1510ENDPROC
 1520DEF PROCt(C%):LOCAL L%
 1530FOR L%=2 TO 24:VDU31,0,L%,C%
 1540NEXT:VDU28,1,24,38,2,30:ENDPROC
 1550DEF PROChd:VDU26,12
 1560FOR I%=0 TO 1:VDU131,157,132,141
 1570PRINTTAB(16,I%)"LOGO-TANK"
 1580NEXT:PRINT'':ENDPROC
 1590DEF FNrdch(X%,Y%)
 1600LOCALA%,x%,y%,C%
 1610x%=POS:y%=VPOS
 1620VDU31X%Y%:A%=135
 1630C%=(USR(&FFF4)AND&FFFF)DIV256
 1640VDU31x%y%:IF C%<>32 C%=C%+96
 1650=CHR$C%
 1660DEF PROCcrash:dead=TRUE
 1670SOUND17,4,200,10
 1680SOUND16,3,7,10
 1690PROCexpl(TX%,TY%)
 1700COLOUR 1:ENDPROC
 1710DEF PROCwait(t%)
 1720LOCAL T%:T%=TIME+t%
 1730REPEATUNTILTIME>T%:ENDPROC
 1740DEF PROCshoot:*FX15,1
 1750LOCAL C%,I%,U%,V%,X%,Y%
 1760X%=TX%*64:Y%=(32-TY%)*32
 1770IF TD%=0 V%=4:X%=X%+32
 1780IF TD%=1 U%=4:X%=X%+64:Y%=Y%-16
 1790IF TD%=2 V%=-4:X%=X%+32:Y%=Y%-32
 1800IF TD%=3 U%=-4:Y%=Y%-16
 1810REPEAT I%=I%+1:MOVE X%,Y%
 1820x%=X%+U%*I%:y%=Y%+V%*I%
 1830P%=POINT(x%,y%)
 1840GCOL 3,RND(16):DRAW x%,y%
 1850PROCwait(2):MOVE X%,Y%
 1860DRAW x%,y%:UNTIL I%>38 OR P%<>0
 1870IF P%<1 ENDPROC
 1880X%=x%DIV64:Y%=31-(y%DIV32)
 1890C%=ASCFNrdch(X%,Y%)
 1900PROCexpl(X%,Y%)
 1910IF C%=247 sc=sc+5
 1920IF C%=248 sc=sc+15
 1930IF C%=249 sc=sc+35
 1940tgts=tgts+(C%<>254):ENDPROC
 1950DEF PROCexpl(X%,Y%)
 1960LOCAL T%:SOUND0,3,4,4
 1970T%=TIME+200:REPEAT COLOUR RND(8)-1
 1980VDU31X%Y%255:UNTIL TIME>T%
 1990VDU31X%Y%32:ENDPROC
 2000DEF FNchk(R%,S%)=FNrdch(R%,S%)=" "
 2010DEF PROCreloc(Q%)
 2020P%=PAGE:IF P%<=Q% ENDPROC
 2030L%=TOP-PAGE:*TAPE
 2040VDU129,136:PRINT"Relocating...";
 2050FOR I%=0 TO L% STEP 4
 2060SOUND&11,-7,I%*256/L%,1
 2070Q%!I%=P%!I%:NEXT:PAGE=Q%
 2080?&13=?&13-P%+Q%:RUN
d#� *****************************
n#� *        LOGO-TANK          *
x#� *     by Gary Colcombe      *
�#� *    (c) The Micro User     *
�#� *****************************
��7:�reloc(&E00)
��title:� �inst
�(� �yn(�131+"Instructions again")="N"
�� �2:�coff
�sc=0:lv=0:� �
��init:�game:� dead
�� 7:�coff:�new:�res
�� �yn("Another game")="N"
��7:�
�� �coff:�23;8202;0;0;0;:�
�� �new:� sc<h%(8) �
�hd:�t(131)
*�5,5)"You're on the High Score Table"
)�10,10)"What is your name"'�15,12)N$
"N$=�N$+�10," "),10)
,I%=8:� I%=I%-1
6h%(I%+1)=h%(I%)
@h$(I%+1)=h$(I%)
J� sc<=h%(I%):P%=I%+1
Th%(I%+1)=sc:h$(I%+1)=N$
^�
h� �res:�hd:�t(132)
r�''�13)"High Scores"'
|� K%=1 � 8:C%=131
�� K%=P% D%=136 � D%=32
�"�5)';K%") "h$(K%)" _ ";h%(K%)
��:�
�� �title
�� h$(8),h%(8):*FX4,2
�#�&F717;&1800;&7E3C;&5A7E;&7E5A;
�#�&F817;&30FE;&7F78;&787F;&0030;
�#�&F917;&3900;&FC12;&12FC;&0039;
�#�&FA17;&9918;&BD99;&FFFF;&81BD;
�#�&FB17;&30FE;&7F78;&787F;&FE30;
�#�&FC17;&BD81;&FFFF;&99BD;&1899;
�#�&FD17;&0C7F;&FE1E;&1EFE;&7F0C;
�#�&FE17;&1C1C;&7F7F;&0868;&1C08;
#�&FF17;&04A1;&5810;&281A;&8940;
/�1,1,-10,-10,-10,255,255,255,127,0,0,0,67,0
,�2,0,-230,230,-230,5,5,5,127,-1,0,0,67,0
&)�3,3,0,0,0,0,0,0,126,-2,-1,-1,126,100
0/�4,128,11,-1,-2,0,50,50,70,70,-3,-2,110,110
:logo$=�40," "):a$=logo$
Dlogo$="":a$="":lg$="FLRS"
Ndel$=�127:cr$=�13
X�I%=1�8:h$(I%)="Old Score "
bh%(I%)=50*(8-I%)+50:�:�
l� �yn(t$):�''t$"?";
v� A$=�(��&DF)
�� A$="Y" � A$="N":=A$
�� �init:lv=lv+1
�TX%=10:TY%=26:TD%=0:dead=�
�grid=�:Z%=�(-�)
��pl(2,254,lv*15)
��pl(7,247,lv*4)
��pl(5,248,lv*2)
��pl(1,249,lv*3)
�tgts=lv*9:�tk:�
�� �pl(K%,C%,N%)
�� K%:� L%=1 � N%
�� X%=�(20)-1:Y%=�(26)-1
�� �rdch(X%,Y%)=" "
�31X%Y%C%:�:�
� �game:K%=0
� K%=K%+1:�logo:�act
 � K%=5 � dead � tgts=0
*� tgts=0 sc=sc+lv*50
4I�4:�31,1,31:� dead �"Oops, you crashed!"; � �"Screen ";lv" cleared!";
>�wait(200):�
H� �logo:*FX15
R� grid �grid
\�0,28)�41;
f�6:�0,28)"?";
p�1:logo$="":� a$=lg$
z� logo$>"" a$=a$+cr$+del$
�� �logo$=40 a$=cr$+del$
�� � I%=�
�"� I%=127 i$=�I% � i$=�(I%�&DF)
�� i$="G" grid=�grid:�grid
��i$<>"G":��a$,i$)
�/� i$=del$ �127:logo$=�logo$,�logo$-1):i$=""
�!� i$<>cr$ �i$;:logo$=logo$+i$
�� i$=cr$:� grid �grid
��
�� �grid:� X%,Y%:� 3,1
�� X%=0 � 1279 � 64
�� X%,160:� 29,X%,1023:�
�� Y%=160 � 1023 � 32
� 0,Y%:� 29,1279,Y%:�

sc=sc-1:�

� �act
$� I%=1 � �logo$:�0,1,1,1
.i$=�logo$,I%,1):�6
8�I%�20,28+I%�20)i$;
B� i$="F" �forward
L� i$="L" �left
V� i$="R" �right
`� i$="S" �shoot
j� dead I%=40
t�wait(15):�:�
~� �forward:�31TX%TY%32
�� TD%=0 � TY%>0  TY%=TY%-1
�� TD%=1 � TX%<19 TX%=TX%+1
�� TD%=2 � TY%<25 TY%=TY%+1
�� TD%=3 � TX%>0  TX%=TX%-1
�G$=�rdch(TX%,TY%)
�� G$=" " �tk � �crash
��
�� �left
�TD%=TD%-1:� TD%<0 TD%=3
�	�tk:�
�
� �tk:� 6
��31TX%TY%250+TD%:�
� �right

TD%=TD%+1:� TD%>3 TD%=0
	�tk:�
� �inst:�hd:�t(134)
(,�'"Your mission -- should you choose to"
2+�"accept it -- is to destroy the enemy"
<+�" emplacements.  You must program the"
F*�"Logo-tank to move around the screen"
P+�"shooting copters, guns and buildings"
Z(�"and avoid crashing into anything."
d-�'"You have five attempts to enter up to"
n+�"40 commands which the Logo-tank will"
x!�"obey and clear the screen."
�!�''"Press Space to continue";
�
���=32
��hd:�t(131):�''
��5"F"�6"- Forward a step"
��5"L"�6"- Turn to Left"
��5"R"�6"- Turn to Right"
��5"S"�6"- Fire a shell"
�%�5"Delete - Delete last command"
�'�5"Return - Proceed with commands"
�&�5"G"�6"- Switch grid on and off"
��
�� �t(C%):� L%
�� L%=2 � 24:�31,0,L%,C%
�:�28,1,24,38,2,30:�
� �hd:�26,12
� I%=0 � 1:�131,157,132,141
"�16,I%)"LOGO-TANK"
,�:�'':�
6� �rdch(X%,Y%)
@�A%,x%,y%,C%
J
x%=�:y%=�
T�31X%Y%:A%=135
^C%=(�(&FFF4)�&FFFF)�256
h�31x%y%:� C%<>32 C%=C%+96
r=�C%
|� �crash:dead=�
��17,4,200,10
��16,3,7,10
��expl(TX%,TY%)
�	� 1:�
�� �wait(t%)
�� T%:T%=�+t%
����>T%:�
�� �shoot:*FX15,1
�� C%,I%,U%,V%,X%,Y%
�X%=TX%*64:Y%=(32-TY%)*32
�� TD%=0 V%=4:X%=X%+32
�"� TD%=1 U%=4:X%=X%+64:Y%=Y%-16
�#� TD%=2 V%=-4:X%=X%+32:Y%=Y%-32
� TD%=3 U%=-4:Y%=Y%-16
� I%=I%+1:� X%,Y%
x%=X%+U%*I%:y%=Y%+V%*I%
&P%=�x%,y%)
0� 3,�(16):� x%,y%
:�wait(2):� X%,Y%
D� x%,y%:� I%>38 � P%<>0
N� P%<1 �
XX%=x%�64:Y%=31-(y%�32)
bC%=��rdch(X%,Y%)
l�expl(X%,Y%)
v� C%=247 sc=sc+5
�� C%=248 sc=sc+15
�� C%=249 sc=sc+35
�tgts=tgts+(C%<>254):�
�� �expl(X%,Y%)
�� T%:�0,3,4,4
�T%=�+200:� � �(8)-1
��31X%Y%255:� �>T%
��31X%Y%32:�
�"� �chk(R%,S%)=�rdch(R%,S%)=" "
�� �reloc(Q%)
�P%=�:� P%<=Q% �
�L%=�P-�:*TAPE
��129,136:�"Relocating...";
� I%=0 � L% � 4
�&11,-7,I%*256/L%,1
Q%!I%=P%!I%:�:�=Q%
 ?&13=?&13-P%+Q%:�
�
00000000  0d 00 64 23 f4 20 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |..d#. **********|
00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
00000020  2a 2a 2a 0d 00 6e 23 f4  20 2a 20 20 20 20 20 20  |***..n#. *      |
00000030  20 20 4c 4f 47 4f 2d 54  41 4e 4b 20 20 20 20 20  |  LOGO-TANK     |
00000040  20 20 20 20 20 2a 0d 00  78 23 f4 20 2a 20 20 20  |     *..x#. *   |
00000050  20 20 62 79 20 47 61 72  79 20 43 6f 6c 63 6f 6d  |  by Gary Colcom|
00000060  62 65 20 20 20 20 20 20  2a 0d 00 82 23 f4 20 2a  |be      *...#. *|
00000070  20 20 20 20 28 63 29 20  54 68 65 20 4d 69 63 72  |    (c) The Micr|
00000080  6f 20 55 73 65 72 20 20  20 20 20 2a 0d 00 8c 23  |o User     *...#|
00000090  f4 20 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |. **************|
000000a0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 0d  |***************.|
000000b0  00 96 13 eb 37 3a f2 72  65 6c 6f 63 28 26 45 30  |....7:.reloc(&E0|
000000c0  30 29 0d 00 a0 12 f2 74  69 74 6c 65 3a f5 20 f2  |0).....title:. .|
000000d0  69 6e 73 74 0d 00 aa 28  fd 20 a4 79 6e 28 bd 31  |inst...(. .yn(.1|
000000e0  33 31 2b 22 49 6e 73 74  72 75 63 74 69 6f 6e 73  |31+"Instructions|
000000f0  20 61 67 61 69 6e 22 29  3d 22 4e 22 0d 00 b4 0e  | again")="N"....|
00000100  f5 20 eb 32 3a f2 63 6f  66 66 0d 00 be 11 73 63  |. .2:.coff....sc|
00000110  3d 30 3a 6c 76 3d 30 3a  f5 20 db 0d 00 c8 16 f2  |=0:lv=0:. ......|
00000120  69 6e 69 74 3a f2 67 61  6d 65 3a fd 20 64 65 61  |init:.game:. dea|
00000130  64 0d 00 d2 17 eb 20 37  3a f2 63 6f 66 66 3a f2  |d..... 7:.coff:.|
00000140  6e 65 77 3a f2 72 65 73  0d 00 dc 1d fd 20 a4 79  |new:.res..... .y|
00000150  6e 28 22 41 6e 6f 74 68  65 72 20 67 61 6d 65 22  |n("Another game"|
00000160  29 3d 22 4e 22 0d 00 e6  08 eb 37 3a e0 0d 00 f0  |)="N".....7:....|
00000170  1d dd 20 f2 63 6f 66 66  3a ef 32 33 3b 38 32 30  |.. .coff:.23;820|
00000180  32 3b 30 3b 30 3b 30 3b  3a e1 0d 00 fa 17 dd 20  |2;0;0;0;:...... |
00000190  f2 6e 65 77 3a e7 20 73  63 3c 68 25 28 38 29 20  |.new:. sc<h%(8) |
000001a0  e1 0d 01 04 0f f2 68 64  3a f2 74 28 31 33 31 29  |......hd:.t(131)|
000001b0  0d 01 0e 2a f1 8a 35 2c  35 29 22 59 6f 75 27 72  |...*..5,5)"You'r|
000001c0  65 20 6f 6e 20 74 68 65  20 48 69 67 68 20 53 63  |e on the High Sc|
000001d0  6f 72 65 20 54 61 62 6c  65 22 0d 01 18 29 e8 8a  |ore Table"...)..|
000001e0  31 30 2c 31 30 29 22 57  68 61 74 20 69 73 20 79  |10,10)"What is y|
000001f0  6f 75 72 20 6e 61 6d 65  22 27 8a 31 35 2c 31 32  |our name"'.15,12|
00000200  29 4e 24 0d 01 22 17 4e  24 3d c0 4e 24 2b c4 31  |)N$..".N$=.N$+.1|
00000210  30 2c 22 20 22 29 2c 31  30 29 0d 01 2c 12 49 25  |0," "),10)..,.I%|
00000220  3d 38 3a f5 20 49 25 3d  49 25 2d 31 0d 01 36 13  |=8:. I%=I%-1..6.|
00000230  68 25 28 49 25 2b 31 29  3d 68 25 28 49 25 29 0d  |h%(I%+1)=h%(I%).|
00000240  01 40 13 68 24 28 49 25  2b 31 29 3d 68 24 28 49  |.@.h$(I%+1)=h$(I|
00000250  25 29 0d 01 4a 18 fd 20  73 63 3c 3d 68 25 28 49  |%)..J.. sc<=h%(I|
00000260  25 29 3a 50 25 3d 49 25  2b 31 0d 01 54 1b 68 25  |%):P%=I%+1..T.h%|
00000270  28 49 25 2b 31 29 3d 73  63 3a 68 24 28 49 25 2b  |(I%+1)=sc:h$(I%+|
00000280  31 29 3d 4e 24 0d 01 5e  05 e1 0d 01 68 16 dd 20  |1)=N$..^....h.. |
00000290  f2 72 65 73 3a f2 68 64  3a f2 74 28 31 33 32 29  |.res:.hd:.t(132)|
000002a0  0d 01 72 19 f1 27 27 8a  31 33 29 22 48 69 67 68  |..r..''.13)"High|
000002b0  20 53 63 6f 72 65 73 22  27 0d 01 7c 15 e3 20 4b  | Scores"'..|.. K|
000002c0  25 3d 31 20 b8 20 38 3a  43 25 3d 31 33 31 0d 01  |%=1 . 8:C%=131..|
000002d0  86 1a e7 20 4b 25 3d 50  25 20 44 25 3d 31 33 36  |... K%=P% D%=136|
000002e0  20 8b 20 44 25 3d 33 32  0d 01 90 22 f1 8a 35 29  | . D%=32..."..5)|
000002f0  27 3b 4b 25 22 29 20 22  68 24 28 4b 25 29 22 20  |';K%") "h$(K%)" |
00000300  5f 20 22 3b 68 25 28 4b  25 29 0d 01 9a 07 ed 3a  |_ ";h%(K%).....:|
00000310  e1 0d 01 a4 0c dd 20 f2  74 69 74 6c 65 0d 01 ae  |...... .title...|
00000320  18 de 20 68 24 28 38 29  2c 68 25 28 38 29 3a 2a  |.. h$(8),h%(8):*|
00000330  46 58 34 2c 32 0d 01 b8  23 ef 26 46 37 31 37 3b  |FX4,2...#.&F717;|
00000340  26 31 38 30 30 3b 26 37  45 33 43 3b 26 35 41 37  |&1800;&7E3C;&5A7|
00000350  45 3b 26 37 45 35 41 3b  0d 01 c2 23 ef 26 46 38  |E;&7E5A;...#.&F8|
00000360  31 37 3b 26 33 30 46 45  3b 26 37 46 37 38 3b 26  |17;&30FE;&7F78;&|
00000370  37 38 37 46 3b 26 30 30  33 30 3b 0d 01 cc 23 ef  |787F;&0030;...#.|
00000380  26 46 39 31 37 3b 26 33  39 30 30 3b 26 46 43 31  |&F917;&3900;&FC1|
00000390  32 3b 26 31 32 46 43 3b  26 30 30 33 39 3b 0d 01  |2;&12FC;&0039;..|
000003a0  d6 23 ef 26 46 41 31 37  3b 26 39 39 31 38 3b 26  |.#.&FA17;&9918;&|
000003b0  42 44 39 39 3b 26 46 46  46 46 3b 26 38 31 42 44  |BD99;&FFFF;&81BD|
000003c0  3b 0d 01 e0 23 ef 26 46  42 31 37 3b 26 33 30 46  |;...#.&FB17;&30F|
000003d0  45 3b 26 37 46 37 38 3b  26 37 38 37 46 3b 26 46  |E;&7F78;&787F;&F|
000003e0  45 33 30 3b 0d 01 ea 23  ef 26 46 43 31 37 3b 26  |E30;...#.&FC17;&|
000003f0  42 44 38 31 3b 26 46 46  46 46 3b 26 39 39 42 44  |BD81;&FFFF;&99BD|
00000400  3b 26 31 38 39 39 3b 0d  01 f4 23 ef 26 46 44 31  |;&1899;...#.&FD1|
00000410  37 3b 26 30 43 37 46 3b  26 46 45 31 45 3b 26 31  |7;&0C7F;&FE1E;&1|
00000420  45 46 45 3b 26 37 46 30  43 3b 0d 01 fe 23 ef 26  |EFE;&7F0C;...#.&|
00000430  46 45 31 37 3b 26 31 43  31 43 3b 26 37 46 37 46  |FE17;&1C1C;&7F7F|
00000440  3b 26 30 38 36 38 3b 26  31 43 30 38 3b 0d 02 08  |;&0868;&1C08;...|
00000450  23 ef 26 46 46 31 37 3b  26 30 34 41 31 3b 26 35  |#.&FF17;&04A1;&5|
00000460  38 31 30 3b 26 32 38 31  41 3b 26 38 39 34 30 3b  |810;&281A;&8940;|
00000470  0d 02 12 2f e2 31 2c 31  2c 2d 31 30 2c 2d 31 30  |.../.1,1,-10,-10|
00000480  2c 2d 31 30 2c 32 35 35  2c 32 35 35 2c 32 35 35  |,-10,255,255,255|
00000490  2c 31 32 37 2c 30 2c 30  2c 30 2c 36 37 2c 30 0d  |,127,0,0,0,67,0.|
000004a0  02 1c 2c e2 32 2c 30 2c  2d 32 33 30 2c 32 33 30  |..,.2,0,-230,230|
000004b0  2c 2d 32 33 30 2c 35 2c  35 2c 35 2c 31 32 37 2c  |,-230,5,5,5,127,|
000004c0  2d 31 2c 30 2c 30 2c 36  37 2c 30 0d 02 26 29 e2  |-1,0,0,67,0..&).|
000004d0  33 2c 33 2c 30 2c 30 2c  30 2c 30 2c 30 2c 30 2c  |3,3,0,0,0,0,0,0,|
000004e0  31 32 36 2c 2d 32 2c 2d  31 2c 2d 31 2c 31 32 36  |126,-2,-1,-1,126|
000004f0  2c 31 30 30 0d 02 30 2f  e2 34 2c 31 32 38 2c 31  |,100..0/.4,128,1|
00000500  31 2c 2d 31 2c 2d 32 2c  30 2c 35 30 2c 35 30 2c  |1,-1,-2,0,50,50,|
00000510  37 30 2c 37 30 2c 2d 33  2c 2d 32 2c 31 31 30 2c  |70,70,-3,-2,110,|
00000520  31 31 30 0d 02 3a 1b 6c  6f 67 6f 24 3d c4 34 30  |110..:.logo$=.40|
00000530  2c 22 20 22 29 3a 61 24  3d 6c 6f 67 6f 24 0d 02  |," "):a$=logo$..|
00000540  44 1d 6c 6f 67 6f 24 3d  22 22 3a 61 24 3d 22 22  |D.logo$="":a$=""|
00000550  3a 6c 67 24 3d 22 46 4c  52 53 22 0d 02 4e 15 64  |:lg$="FLRS"..N.d|
00000560  65 6c 24 3d bd 31 32 37  3a 63 72 24 3d bd 31 33  |el$=.127:cr$=.13|
00000570  0d 02 58 1f e3 49 25 3d  31 b8 38 3a 68 24 28 49  |..X..I%=1.8:h$(I|
00000580  25 29 3d 22 4f 6c 64 20  53 63 6f 72 65 20 22 0d  |%)="Old Score ".|
00000590  02 62 1b 68 25 28 49 25  29 3d 35 30 2a 28 38 2d  |.b.h%(I%)=50*(8-|
000005a0  49 25 29 2b 35 30 3a ed  3a e1 0d 02 6c 17 dd 20  |I%)+50:.:...l.. |
000005b0  a4 79 6e 28 74 24 29 3a  f1 27 27 74 24 22 3f 22  |.yn(t$):.''t$"?"|
000005c0  3b 0d 02 76 11 f5 20 41  24 3d bd 28 a5 80 26 44  |;..v.. A$=.(..&D|
000005d0  46 29 0d 02 80 19 fd 20  41 24 3d 22 59 22 20 84  |F)..... A$="Y" .|
000005e0  20 41 24 3d 22 4e 22 3a  3d 41 24 0d 02 8a 13 dd  | A$="N":=A$.....|
000005f0  20 f2 69 6e 69 74 3a 6c  76 3d 6c 76 2b 31 0d 02  | .init:lv=lv+1..|
00000600  94 1e 54 58 25 3d 31 30  3a 54 59 25 3d 32 36 3a  |..TX%=10:TY%=26:|
00000610  54 44 25 3d 30 3a 64 65  61 64 3d a3 0d 02 9e 13  |TD%=0:dead=.....|
00000620  67 72 69 64 3d a3 3a 5a  25 3d b3 28 2d 91 29 0d  |grid=.:Z%=.(-.).|
00000630  02 a8 14 f2 70 6c 28 32  2c 32 35 34 2c 6c 76 2a  |....pl(2,254,lv*|
00000640  31 35 29 0d 02 b2 13 f2  70 6c 28 37 2c 32 34 37  |15).....pl(7,247|
00000650  2c 6c 76 2a 34 29 0d 02  bc 13 f2 70 6c 28 35 2c  |,lv*4).....pl(5,|
00000660  32 34 38 2c 6c 76 2a 32  29 0d 02 c6 13 f2 70 6c  |248,lv*2).....pl|
00000670  28 31 2c 32 34 39 2c 6c  76 2a 33 29 0d 02 d0 13  |(1,249,lv*3)....|
00000680  74 67 74 73 3d 6c 76 2a  39 3a f2 74 6b 3a e1 0d  |tgts=lv*9:.tk:..|
00000690  02 da 13 dd 20 f2 70 6c  28 4b 25 2c 43 25 2c 4e  |.... .pl(K%,C%,N|
000006a0  25 29 0d 02 e4 14 fb 20  4b 25 3a e3 20 4c 25 3d  |%)..... K%:. L%=|
000006b0  31 20 b8 20 4e 25 0d 02  ee 1b f5 20 58 25 3d b3  |1 . N%..... X%=.|
000006c0  28 32 30 29 2d 31 3a 59  25 3d b3 28 32 36 29 2d  |(20)-1:Y%=.(26)-|
000006d0  31 0d 02 f8 16 fd 20 a4  72 64 63 68 28 58 25 2c  |1..... .rdch(X%,|
000006e0  59 25 29 3d 22 20 22 0d  03 02 11 ef 33 31 58 25  |Y%)=" ".....31X%|
000006f0  59 25 43 25 3a ed 3a e1  0d 03 0c 10 dd 20 f2 67  |Y%C%:.:...... .g|
00000700  61 6d 65 3a 4b 25 3d 30  0d 03 16 18 f5 20 4b 25  |ame:K%=0..... K%|
00000710  3d 4b 25 2b 31 3a f2 6c  6f 67 6f 3a f2 61 63 74  |=K%+1:.logo:.act|
00000720  0d 03 20 1a fd 20 4b 25  3d 35 20 84 20 64 65 61  |.. .. K%=5 . dea|
00000730  64 20 84 20 74 67 74 73  3d 30 0d 03 2a 18 e7 20  |d . tgts=0..*.. |
00000740  74 67 74 73 3d 30 20 73  63 3d 73 63 2b 6c 76 2a  |tgts=0 sc=sc+lv*|
00000750  35 30 0d 03 34 49 fb 34  3a ef 33 31 2c 31 2c 33  |50..4I.4:.31,1,3|
00000760  31 3a e7 20 64 65 61 64  20 f1 22 4f 6f 70 73 2c  |1:. dead ."Oops,|
00000770  20 79 6f 75 20 63 72 61  73 68 65 64 21 22 3b 20  | you crashed!"; |
00000780  8b 20 f1 22 53 63 72 65  65 6e 20 22 3b 6c 76 22  |. ."Screen ";lv"|
00000790  20 63 6c 65 61 72 65 64  21 22 3b 0d 03 3e 10 f2  | cleared!";..>..|
000007a0  77 61 69 74 28 32 30 30  29 3a e1 0d 03 48 11 dd  |wait(200):...H..|
000007b0  20 f2 6c 6f 67 6f 3a 2a  46 58 31 35 0d 03 52 10  | .logo:*FX15..R.|
000007c0  e7 20 67 72 69 64 20 f2  67 72 69 64 0d 03 5c 0f  |. grid .grid..\.|
000007d0  f1 8a 30 2c 32 38 29 89  34 31 3b 0d 03 66 12 fb  |..0,28).41;..f..|
000007e0  36 3a f1 8a 30 2c 32 38  29 22 3f 22 3b 0d 03 70  |6:..0,28)"?";..p|
000007f0  18 fb 31 3a 6c 6f 67 6f  24 3d 22 22 3a f5 20 61  |..1:logo$="":. a|
00000800  24 3d 6c 67 24 0d 03 7a  1d e7 20 6c 6f 67 6f 24  |$=lg$..z.. logo$|
00000810  3e 22 22 20 61 24 3d 61  24 2b 63 72 24 2b 64 65  |>"" a$=a$+cr$+de|
00000820  6c 24 0d 03 84 1b e7 20  a9 6c 6f 67 6f 24 3d 34  |l$..... .logo$=4|
00000830  30 20 61 24 3d 63 72 24  2b 64 65 6c 24 0d 03 8e  |0 a$=cr$+del$...|
00000840  0c f5 20 f5 20 49 25 3d  a5 0d 03 98 22 e7 20 49  |.. . I%=....". I|
00000850  25 3d 31 32 37 20 69 24  3d bd 49 25 20 8b 20 69  |%=127 i$=.I% . i|
00000860  24 3d bd 28 49 25 80 26  44 46 29 0d 03 a2 1d e7  |$=.(I%.&DF).....|
00000870  20 69 24 3d 22 47 22 20  67 72 69 64 3d ac 67 72  | i$="G" grid=.gr|
00000880  69 64 3a f2 67 72 69 64  0d 03 ac 15 fd 69 24 3c  |id:.grid.....i$<|
00000890  3e 22 47 22 3a fd a7 61  24 2c 69 24 29 0d 03 b6  |>"G":..a$,i$)...|
000008a0  2f e7 20 69 24 3d 64 65  6c 24 20 ef 31 32 37 3a  |/. i$=del$ .127:|
000008b0  6c 6f 67 6f 24 3d c0 6c  6f 67 6f 24 2c a9 6c 6f  |logo$=.logo$,.lo|
000008c0  67 6f 24 2d 31 29 3a 69  24 3d 22 22 0d 03 c0 21  |go$-1):i$=""...!|
000008d0  e7 20 69 24 3c 3e 63 72  24 20 f1 69 24 3b 3a 6c  |. i$<>cr$ .i$;:l|
000008e0  6f 67 6f 24 3d 6c 6f 67  6f 24 2b 69 24 0d 03 ca  |ogo$=logo$+i$...|
000008f0  19 fd 20 69 24 3d 63 72  24 3a e7 20 67 72 69 64  |.. i$=cr$:. grid|
00000900  20 f2 67 72 69 64 0d 03  d4 05 e1 0d 03 de 19 dd  | .grid..........|
00000910  20 f2 67 72 69 64 3a ea  20 58 25 2c 59 25 3a e6  | .grid:. X%,Y%:.|
00000920  20 33 2c 31 0d 03 e8 16  e3 20 58 25 3d 30 20 b8  | 3,1..... X%=0 .|
00000930  20 31 32 37 39 20 88 20  36 34 0d 03 f2 1b ec 20  | 1279 . 64..... |
00000940  58 25 2c 31 36 30 3a f0  20 32 39 2c 58 25 2c 31  |X%,160:. 29,X%,1|
00000950  30 32 33 3a ed 0d 03 fc  18 e3 20 59 25 3d 31 36  |023:...... Y%=16|
00000960  30 20 b8 20 31 30 32 33  20 88 20 33 32 0d 04 06  |0 . 1023 . 32...|
00000970  19 ec 20 30 2c 59 25 3a  f0 20 32 39 2c 31 32 37  |.. 0,Y%:. 29,127|
00000980  39 2c 59 25 3a ed 0d 04  10 0d 73 63 3d 73 63 2d  |9,Y%:.....sc=sc-|
00000990  31 3a e1 0d 04 1a 0a dd  20 f2 61 63 74 0d 04 24  |1:...... .act..$|
000009a0  1c e3 20 49 25 3d 31 20  b8 20 a9 6c 6f 67 6f 24  |.. I%=1 . .logo$|
000009b0  3a d4 30 2c 31 2c 31 2c  31 0d 04 2e 16 69 24 3d  |:.0,1,1,1....i$=|
000009c0  c1 6c 6f 67 6f 24 2c 49  25 2c 31 29 3a fb 36 0d  |.logo$,I%,1):.6.|
000009d0  04 38 18 f1 8a 49 25 83  32 30 2c 32 38 2b 49 25  |.8...I%.20,28+I%|
000009e0  81 32 30 29 69 24 3b 0d  04 42 15 e7 20 69 24 3d  |.20)i$;..B.. i$=|
000009f0  22 46 22 20 f2 66 6f 72  77 61 72 64 0d 04 4c 12  |"F" .forward..L.|
00000a00  e7 20 69 24 3d 22 4c 22  20 f2 6c 65 66 74 0d 04  |. i$="L" .left..|
00000a10  56 13 e7 20 69 24 3d 22  52 22 20 f2 72 69 67 68  |V.. i$="R" .righ|
00000a20  74 0d 04 60 13 e7 20 69  24 3d 22 53 22 20 f2 73  |t..`.. i$="S" .s|
00000a30  68 6f 6f 74 0d 04 6a 10  e7 20 64 65 61 64 20 49  |hoot..j.. dead I|
00000a40  25 3d 34 30 0d 04 74 11  f2 77 61 69 74 28 31 35  |%=40..t..wait(15|
00000a50  29 3a ed 3a e1 0d 04 7e  1a dd 20 f2 66 6f 72 77  |):.:...~.. .forw|
00000a60  61 72 64 3a ef 33 31 54  58 25 54 59 25 33 32 0d  |ard:.31TX%TY%32.|
00000a70  04 88 1e e7 20 54 44 25  3d 30 20 e7 20 54 59 25  |.... TD%=0 . TY%|
00000a80  3e 30 20 20 54 59 25 3d  54 59 25 2d 31 0d 04 92  |>0  TY%=TY%-1...|
00000a90  1e e7 20 54 44 25 3d 31  20 e7 20 54 58 25 3c 31  |.. TD%=1 . TX%<1|
00000aa0  39 20 54 58 25 3d 54 58  25 2b 31 0d 04 9c 1e e7  |9 TX%=TX%+1.....|
00000ab0  20 54 44 25 3d 32 20 e7  20 54 59 25 3c 32 35 20  | TD%=2 . TY%<25 |
00000ac0  54 59 25 3d 54 59 25 2b  31 0d 04 a6 1e e7 20 54  |TY%=TY%+1..... T|
00000ad0  44 25 3d 33 20 e7 20 54  58 25 3e 30 20 20 54 58  |D%=3 . TX%>0  TX|
00000ae0  25 3d 54 58 25 2d 31 0d  04 b0 15 47 24 3d a4 72  |%=TX%-1....G$=.r|
00000af0  64 63 68 28 54 58 25 2c  54 59 25 29 0d 04 ba 19  |dch(TX%,TY%)....|
00000b00  e7 20 47 24 3d 22 20 22  20 f2 74 6b 20 8b 20 f2  |. G$=" " .tk . .|
00000b10  63 72 61 73 68 0d 04 c4  05 e1 0d 04 ce 0b dd 20  |crash.......... |
00000b20  f2 6c 65 66 74 0d 04 d8  1b 54 44 25 3d 54 44 25  |.left....TD%=TD%|
00000b30  2d 31 3a e7 20 54 44 25  3c 30 20 54 44 25 3d 33  |-1:. TD%<0 TD%=3|
00000b40  0d 04 e2 09 f2 74 6b 3a  e1 0d 04 ec 0d dd 20 f2  |.....tk:...... .|
00000b50  74 6b 3a fb 20 36 0d 04  f6 16 ef 33 31 54 58 25  |tk:. 6.....31TX%|
00000b60  54 59 25 32 35 30 2b 54  44 25 3a e1 0d 05 00 0c  |TY%250+TD%:.....|
00000b70  dd 20 f2 72 69 67 68 74  0d 05 0a 1b 54 44 25 3d  |. .right....TD%=|
00000b80  54 44 25 2b 31 3a e7 20  54 44 25 3e 33 20 54 44  |TD%+1:. TD%>3 TD|
00000b90  25 3d 30 0d 05 14 09 f2  74 6b 3a e1 0d 05 1e 17  |%=0.....tk:.....|
00000ba0  dd 20 f2 69 6e 73 74 3a  f2 68 64 3a f2 74 28 31  |. .inst:.hd:.t(1|
00000bb0  33 34 29 0d 05 28 2c f1  27 22 59 6f 75 72 20 6d  |34)..(,.'"Your m|
00000bc0  69 73 73 69 6f 6e 20 2d  2d 20 73 68 6f 75 6c 64  |ission -- should|
00000bd0  20 79 6f 75 20 63 68 6f  6f 73 65 20 74 6f 22 0d  | you choose to".|
00000be0  05 32 2b f1 22 61 63 63  65 70 74 20 69 74 20 2d  |.2+."accept it -|
00000bf0  2d 20 69 73 20 74 6f 20  64 65 73 74 72 6f 79 20  |- is to destroy |
00000c00  74 68 65 20 65 6e 65 6d  79 22 0d 05 3c 2b f1 22  |the enemy"..<+."|
00000c10  20 65 6d 70 6c 61 63 65  6d 65 6e 74 73 2e 20 20  | emplacements.  |
00000c20  59 6f 75 20 6d 75 73 74  20 70 72 6f 67 72 61 6d  |You must program|
00000c30  20 74 68 65 22 0d 05 46  2a f1 22 4c 6f 67 6f 2d  | the"..F*."Logo-|
00000c40  74 61 6e 6b 20 74 6f 20  6d 6f 76 65 20 61 72 6f  |tank to move aro|
00000c50  75 6e 64 20 74 68 65 20  73 63 72 65 65 6e 22 0d  |und the screen".|
00000c60  05 50 2b f1 22 73 68 6f  6f 74 69 6e 67 20 63 6f  |.P+."shooting co|
00000c70  70 74 65 72 73 2c 20 67  75 6e 73 20 61 6e 64 20  |pters, guns and |
00000c80  62 75 69 6c 64 69 6e 67  73 22 0d 05 5a 28 f1 22  |buildings"..Z(."|
00000c90  61 6e 64 20 61 76 6f 69  64 20 63 72 61 73 68 69  |and avoid crashi|
00000ca0  6e 67 20 69 6e 74 6f 20  61 6e 79 74 68 69 6e 67  |ng into anything|
00000cb0  2e 22 0d 05 64 2d f1 27  22 59 6f 75 20 68 61 76  |."..d-.'"You hav|
00000cc0  65 20 66 69 76 65 20 61  74 74 65 6d 70 74 73 20  |e five attempts |
00000cd0  74 6f 20 65 6e 74 65 72  20 75 70 20 74 6f 22 0d  |to enter up to".|
00000ce0  05 6e 2b f1 22 34 30 20  63 6f 6d 6d 61 6e 64 73  |.n+."40 commands|
00000cf0  20 77 68 69 63 68 20 74  68 65 20 4c 6f 67 6f 2d  | which the Logo-|
00000d00  74 61 6e 6b 20 77 69 6c  6c 22 0d 05 78 21 f1 22  |tank will"..x!."|
00000d10  6f 62 65 79 20 61 6e 64  20 63 6c 65 61 72 20 74  |obey and clear t|
00000d20  68 65 20 73 63 72 65 65  6e 2e 22 0d 05 82 21 f1  |he screen."...!.|
00000d30  27 27 22 50 72 65 73 73  20 53 70 61 63 65 20 74  |''"Press Space t|
00000d40  6f 20 63 6f 6e 74 69 6e  75 65 22 3b 0d 05 8c 0a  |o continue";....|
00000d50  f5 fd a5 3d 33 32 0d 05  96 13 f2 68 64 3a f2 74  |...=32.....hd:.t|
00000d60  28 31 33 31 29 3a f1 27  27 0d 05 a0 1e f1 89 35  |(131):.''......5|
00000d70  22 46 22 89 36 22 2d 20  46 6f 72 77 61 72 64 20  |"F".6"- Forward |
00000d80  61 20 73 74 65 70 22 0d  05 aa 1c f1 89 35 22 4c  |a step"......5"L|
00000d90  22 89 36 22 2d 20 54 75  72 6e 20 74 6f 20 4c 65  |".6"- Turn to Le|
00000da0  66 74 22 0d 05 b4 1d f1  89 35 22 52 22 89 36 22  |ft"......5"R".6"|
00000db0  2d 20 54 75 72 6e 20 74  6f 20 52 69 67 68 74 22  |- Turn to Right"|
00000dc0  0d 05 be 1c f1 89 35 22  53 22 89 36 22 2d 20 46  |......5"S".6"- F|
00000dd0  69 72 65 20 61 20 73 68  65 6c 6c 22 0d 05 c8 25  |ire a shell"...%|
00000de0  f1 89 35 22 44 65 6c 65  74 65 20 2d 20 44 65 6c  |..5"Delete - Del|
00000df0  65 74 65 20 6c 61 73 74  20 63 6f 6d 6d 61 6e 64  |ete last command|
00000e00  22 0d 05 d2 27 f1 89 35  22 52 65 74 75 72 6e 20  |"...'..5"Return |
00000e10  2d 20 50 72 6f 63 65 65  64 20 77 69 74 68 20 63  |- Proceed with c|
00000e20  6f 6d 6d 61 6e 64 73 22  0d 05 dc 26 f1 89 35 22  |ommands"...&..5"|
00000e30  47 22 89 36 22 2d 20 53  77 69 74 63 68 20 67 72  |G".6"- Switch gr|
00000e40  69 64 20 6f 6e 20 61 6e  64 20 6f 66 66 22 0d 05  |id on and off"..|
00000e50  e6 05 e1 0d 05 f0 11 dd  20 f2 74 28 43 25 29 3a  |........ .t(C%):|
00000e60  ea 20 4c 25 0d 05 fa 1b  e3 20 4c 25 3d 32 20 b8  |. L%..... L%=2 .|
00000e70  20 32 34 3a ef 33 31 2c  30 2c 4c 25 2c 43 25 0d  | 24:.31,0,L%,C%.|
00000e80  06 04 18 ed 3a ef 32 38  2c 31 2c 32 34 2c 33 38  |....:.28,1,24,38|
00000e90  2c 32 2c 33 30 3a e1 0d  06 0e 10 dd 20 f2 68 64  |,2,30:...... .hd|
00000ea0  3a ef 32 36 2c 31 32 0d  06 18 1f e3 20 49 25 3d  |:.26,12..... I%=|
00000eb0  30 20 b8 20 31 3a ef 31  33 31 2c 31 35 37 2c 31  |0 . 1:.131,157,1|
00000ec0  33 32 2c 31 34 31 0d 06  22 17 f1 8a 31 36 2c 49  |32,141.."...16,I|
00000ed0  25 29 22 4c 4f 47 4f 2d  54 41 4e 4b 22 0d 06 2c  |%)"LOGO-TANK"..,|
00000ee0  0b ed 3a f1 27 27 3a e1  0d 06 36 12 dd 20 a4 72  |..:.'':...6.. .r|
00000ef0  64 63 68 28 58 25 2c 59  25 29 0d 06 40 10 ea 41  |dch(X%,Y%)..@..A|
00000f00  25 2c 78 25 2c 79 25 2c  43 25 0d 06 4a 0d 78 25  |%,x%,y%,C%..J.x%|
00000f10  3d b1 3a 79 25 3d bc 0d  06 54 12 ef 33 31 58 25  |=.:y%=...T..31X%|
00000f20  59 25 3a 41 25 3d 31 33  35 0d 06 5e 1b 43 25 3d  |Y%:A%=135..^.C%=|
00000f30  28 ba 28 26 46 46 46 34  29 80 26 46 46 46 46 29  |(.(&FFF4).&FFFF)|
00000f40  81 32 35 36 0d 06 68 1d  ef 33 31 78 25 79 25 3a  |.256..h..31x%y%:|
00000f50  e7 20 43 25 3c 3e 33 32  20 43 25 3d 43 25 2b 39  |. C%<>32 C%=C%+9|
00000f60  36 0d 06 72 08 3d bd 43  25 0d 06 7c 13 dd 20 f2  |6..r.=.C%..|.. .|
00000f70  63 72 61 73 68 3a 64 65  61 64 3d b9 0d 06 86 10  |crash:dead=.....|
00000f80  d4 31 37 2c 34 2c 32 30  30 2c 31 30 0d 06 90 0e  |.17,4,200,10....|
00000f90  d4 31 36 2c 33 2c 37 2c  31 30 0d 06 9a 12 f2 65  |.16,3,7,10.....e|
00000fa0  78 70 6c 28 54 58 25 2c  54 59 25 29 0d 06 a4 09  |xpl(TX%,TY%)....|
00000fb0  fb 20 31 3a e1 0d 06 ae  0f dd 20 f2 77 61 69 74  |. 1:...... .wait|
00000fc0  28 74 25 29 0d 06 b8 10  ea 20 54 25 3a 54 25 3d  |(t%)..... T%:T%=|
00000fd0  91 2b 74 25 0d 06 c2 0c  f5 fd 91 3e 54 25 3a e1  |.+t%.......>T%:.|
00000fe0  0d 06 cc 14 dd 20 f2 73  68 6f 6f 74 3a 2a 46 58  |..... .shoot:*FX|
00000ff0  31 35 2c 31 0d 06 d6 17  ea 20 43 25 2c 49 25 2c  |15,1..... C%,I%,|
00001000  55 25 2c 56 25 2c 58 25  2c 59 25 0d 06 e0 1c 58  |U%,V%,X%,Y%....X|
00001010  25 3d 54 58 25 2a 36 34  3a 59 25 3d 28 33 32 2d  |%=TX%*64:Y%=(32-|
00001020  54 59 25 29 2a 33 32 0d  06 ea 19 e7 20 54 44 25  |TY%)*32..... TD%|
00001030  3d 30 20 56 25 3d 34 3a  58 25 3d 58 25 2b 33 32  |=0 V%=4:X%=X%+32|
00001040  0d 06 f4 22 e7 20 54 44  25 3d 31 20 55 25 3d 34  |...". TD%=1 U%=4|
00001050  3a 58 25 3d 58 25 2b 36  34 3a 59 25 3d 59 25 2d  |:X%=X%+64:Y%=Y%-|
00001060  31 36 0d 06 fe 23 e7 20  54 44 25 3d 32 20 56 25  |16...#. TD%=2 V%|
00001070  3d 2d 34 3a 58 25 3d 58  25 2b 33 32 3a 59 25 3d  |=-4:X%=X%+32:Y%=|
00001080  59 25 2d 33 32 0d 07 08  1a e7 20 54 44 25 3d 33  |Y%-32..... TD%=3|
00001090  20 55 25 3d 2d 34 3a 59  25 3d 59 25 2d 31 36 0d  | U%=-4:Y%=Y%-16.|
000010a0  07 12 15 f5 20 49 25 3d  49 25 2b 31 3a ec 20 58  |.... I%=I%+1:. X|
000010b0  25 2c 59 25 0d 07 1c 1b  78 25 3d 58 25 2b 55 25  |%,Y%....x%=X%+U%|
000010c0  2a 49 25 3a 79 25 3d 59  25 2b 56 25 2a 49 25 0d  |*I%:y%=Y%+V%*I%.|
000010d0  07 26 0e 50 25 3d b0 78  25 2c 79 25 29 0d 07 30  |.&.P%=.x%,y%)..0|
000010e0  15 e6 20 33 2c b3 28 31  36 29 3a df 20 78 25 2c  |.. 3,.(16):. x%,|
000010f0  79 25 0d 07 3a 14 f2 77  61 69 74 28 32 29 3a ec  |y%..:..wait(2):.|
00001100  20 58 25 2c 59 25 0d 07  44 1b df 20 78 25 2c 79  | X%,Y%..D.. x%,y|
00001110  25 3a fd 20 49 25 3e 33  38 20 84 20 50 25 3c 3e  |%:. I%>38 . P%<>|
00001120  30 0d 07 4e 0c e7 20 50  25 3c 31 20 e1 0d 07 58  |0..N.. P%<1 ...X|
00001130  1a 58 25 3d 78 25 81 36  34 3a 59 25 3d 33 31 2d  |.X%=x%.64:Y%=31-|
00001140  28 79 25 81 33 32 29 0d  07 62 14 43 25 3d 97 a4  |(y%.32)..b.C%=..|
00001150  72 64 63 68 28 58 25 2c  59 25 29 0d 07 6c 10 f2  |rdch(X%,Y%)..l..|
00001160  65 78 70 6c 28 58 25 2c  59 25 29 0d 07 76 14 e7  |expl(X%,Y%)..v..|
00001170  20 43 25 3d 32 34 37 20  73 63 3d 73 63 2b 35 0d  | C%=247 sc=sc+5.|
00001180  07 80 15 e7 20 43 25 3d  32 34 38 20 73 63 3d 73  |.... C%=248 sc=s|
00001190  63 2b 31 35 0d 07 8a 15  e7 20 43 25 3d 32 34 39  |c+15..... C%=249|
000011a0  20 73 63 3d 73 63 2b 33  35 0d 07 94 19 74 67 74  | sc=sc+35....tgt|
000011b0  73 3d 74 67 74 73 2b 28  43 25 3c 3e 32 35 34 29  |s=tgts+(C%<>254)|
000011c0  3a e1 0d 07 9e 12 dd 20  f2 65 78 70 6c 28 58 25  |:...... .expl(X%|
000011d0  2c 59 25 29 0d 07 a8 11  ea 20 54 25 3a d4 30 2c  |,Y%)..... T%:.0,|
000011e0  33 2c 34 2c 34 0d 07 b2  17 54 25 3d 91 2b 32 30  |3,4,4....T%=.+20|
000011f0  30 3a f5 20 fb 20 b3 28  38 29 2d 31 0d 07 bc 15  |0:. . .(8)-1....|
00001200  ef 33 31 58 25 59 25 32  35 35 3a fd 20 91 3e 54  |.31X%Y%255:. .>T|
00001210  25 0d 07 c6 0f ef 33 31  58 25 59 25 33 32 3a e1  |%.....31X%Y%32:.|
00001220  0d 07 d0 22 dd 20 a4 63  68 6b 28 52 25 2c 53 25  |...". .chk(R%,S%|
00001230  29 3d a4 72 64 63 68 28  52 25 2c 53 25 29 3d 22  |)=.rdch(R%,S%)="|
00001240  20 22 0d 07 da 10 dd 20  f2 72 65 6c 6f 63 28 51  | "..... .reloc(Q|
00001250  25 29 0d 07 e4 13 50 25  3d 90 3a e7 20 50 25 3c  |%)....P%=.:. P%<|
00001260  3d 51 25 20 e1 0d 07 ee  11 4c 25 3d b8 50 2d 90  |=Q% .....L%=.P-.|
00001270  3a 2a 54 41 50 45 0d 07  f8 1e ef 31 32 39 2c 31  |:*TAPE.....129,1|
00001280  33 36 3a f1 22 52 65 6c  6f 63 61 74 69 6e 67 2e  |36:."Relocating.|
00001290  2e 2e 22 3b 0d 08 02 13  e3 20 49 25 3d 30 20 b8  |..";..... I%=0 .|
000012a0  20 4c 25 20 88 20 34 0d  08 0c 17 d4 26 31 31 2c  | L% . 4.....&11,|
000012b0  2d 37 2c 49 25 2a 32 35  36 2f 4c 25 2c 31 0d 08  |-7,I%*256/L%,1..|
000012c0  16 16 51 25 21 49 25 3d  50 25 21 49 25 3a ed 3a  |..Q%!I%=P%!I%:.:|
000012d0  d0 3d 51 25 0d 08 20 15  3f 26 31 33 3d 3f 26 31  |.=Q%.. .?&13=?&1|
000012e0  33 2d 50 25 2b 51 25 3a  f9 0d ff                 |3-P%+Q%:...|
000012eb
22-01-88/L\TANK.m0
22-01-88/L\TANK.m1
22-01-88/L\TANK.m2
22-01-88/L\TANK.m4
22-01-88/L\TANK.m5