Home » Personal collection » Acorn tapes » Commercial_Releases » micropower_tape04a_acorn_the_mine.wav » MINE

MINE

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 » Personal collection » Acorn tapes » Commercial_Releases » micropower_tape04a_acorn_the_mine.wav
Filename: MINE
Read OK:
File size: 0B17 bytes
Load address: 0E00
Exec address: 8023
File contents
  900DATA4,7
 1100DATA " T H E  M I N E"
 1300DATA " "
 1400DATA "  Z    Left"
 1500DATA "  X    Right"
 1510DATA "  :    Up"
 1520DATA "  /    Down"
 1600DATA "RETURN Stun/Pump"
 1700DATA "  Q    Sound Off"
 1800DATA "  S    Sound On"
 1900DATA ""
 2000DATA "Escape Restart"
 2100DATA " "
 2200DATA ""
 2300MODE5:HIMEM=&3800
 2305DIM BIT(4):AC=0
 2400VDU23,1,0;0;0;0;
 2500READ T%,U%:VDU19,3,T%;0;19,2,U%;0;
 2600COLOUR131:CLS
 2700L%=96:R%=1184
 2800GCOL0,0
 2900FOR X%=0 TO 1280 STEP 24
 3000MOVE X%,0:DRAW X%,1025
 3100MOVE 0,X%*.8333:DRAW 1280,X%*.8333
 3200NEXT
 3300PROCb(L%,64,R%,256)
 3400PROCb(L%,320,R%,752)
 3500COLOUR0:COLOUR130
 3600PROCs(6,2,"MICRO",FALSE)
 3700PROCs(6,5,"POWER",FALSE)
 3800READA$:PROCs(2,9,A$,TRUE)
 3900COLOUR1
 4000FOR C%=0 TO 9
 4100READA$:PRINTTAB(2,C%+11)A$;
 4200NEXT
 4400COLOUR0
 4500VDU 28,2,28,17,24,23,1,1;0;0;0;0;
 4700PRINT" Do you want to"''" use joysticks?";:A$=GET$:PRINTA$:IF A$="Y"ORA$="y"THEN PROCjoy ELSE !&140=0
 4705CLS
 4800PAGE=&4000:CHAIN"MINE2"
 5000REM MAIN PROG CALLS
 5300DEFPROCa(A%,B%,C%,D%,E%)
 5400VDU24,A%-8;B%-4;C%+8;D%+4;18,0,128,16,24,A%;B%;C%;D%;18;E%+128,16
 5500ENDPROC
 5700DEFPROCb(A%,B%,C%,D%)
 5800PROCa(A%,B%,C%,D%,1)
 5900PROCa(A%+16,B%+16,C%+16,D%+16,2)
 6000ENDPROC
 6200DEFPROCd(X%,Y%,C%)
 6300LOCAL A%,B%
 6400A%=&5800+320*Y%+X%*16
 6500VDU 31,X%,Y%,C%
 6600FORB%=0TO7
 6700?(A%+320+B%)=?(A%+B%DIV2+4)
 6800?(A%+328+B%)=?(A%+B%DIV2+12)
 6900NEXT
 7000FOR B%=7 TO 0 STEP -1
 7100?(A%+B%)=?(A%+B%DIV2)
 7200?(A%+B%+8)=?(A%+8+B%DIV2)
 7300NEXT
 7400ENDPROC
 7500DEFPROCs(X%,Y%,A$,F%)
 7600LOCAL A%
 7700FOR A%=1 TO LEN A$
 7800IF F% THEN PROCd(X%+A%-1,Y%,ASCMID$(A$,A%)) ELSE PROCl(X%+A%*2-2,Y%,ASCMID$(A$,A%))
 7900NEXT
 8000ENDPROC
 8200DEFPROCl(x%,y%,L%)
 8300LOCAL A%,B%:A%=x%*64:B%=32*(31-y%)
 8400PROCb(A%-32,B%-32,A%+64,B%+32)
 8500VDU 31,x%,y%,L%
 8600ENDPROC
 9000DEFPROCjoy
 9100VDU7:A=INKEY(100):CLS:PRINT"  Please enter"''"joystick address ";
 9200ADD=0:T=4
 9250REPEAT
 9300REPEAT A$=GET$:X=INSTR("0123456789ABCDEFabcdefOo"+CHR$127+CHR$13,A$):UNTIL X<>0
 9310IF X=25 AND T<4THEN VDU8,32,8:ADD=ADD-(ADD AND ((16^T)*15)):T=T+1:GOTO9300
 9320IF X=23 OR X=24THEN X=1
 9350IF X>16 AND X<25THEN X=X-6
 9400IF T>0 AND X<17  PRINTA$;:ADD=ADD+(X-1)*16^(T-1):T=T-1
 9500UNTILT=0 AND X=26
 9600VDU7:CLS:PRINT"   Enter code"''" 0 if not known "';
 9605A$="":T=1:REPEAT
 9610REPEAT B$=GET$:X=INSTR("0123456789OI"+CHR$13+"oi"+CHR$127,B$):UNTILX<>0:IFX=11ORX=14THENX=1
 9612IFX=12ORX=15THENX=2
 9620IFX=16ANDT>1THENT=T-1:VDU8,32,8:A$=LEFT$(A$,T):GOTO9610
 9630IFT<4 ANDX<11THENPRINTB$;:A$=A$+STR$(X-1):T=T+1
 9640UNTIL X=13 ANDT>1
 9650VDU7:A=EVALA$:IF A$="0"THENPROCrcode:GOTO9760
 9700IFA<1 OR (A>120 AND A<129) OR A>248 THEN PRINT''"  Please check !":A=INKEY(200):GOTO9600
 9710A$="43210":AC=255*((A-1) DIV128):A=(A-1)MOD128
 9720R=A DIV24:A=A MOD24:IFR>0FORT=1TOR:A$=RIGHT$(A$,1)+LEFT$(A$,4):NEXT
 9730R=A DIV6:A=A MOD6:IFR>0FORT=1TOR:A$=MID$(A$,4,1)+LEFT$(A$,3)+RIGHT$(A$,1):NEXT
 9740R=A DIV2:A=A MOD2:IFR>0FORT=1TOR:A$=MID$(A$,3,1)+LEFT$(A$,2)+RIGHT$(A$,2):NEXT
 9750 IFA=1THENA$=MID$(A$,2,1)+LEFT$(A$,1)+RIGHT$(A$,3)
 9760!&140=ADD:?&142=AC:!&143=EVAL("&FFF"+A$)
 9770ENDPROC
 9780DEFPROCrcode
 9790BF=0:PROCrbits("Centre stick",1):BF=1
 9800T=BIT(0)+BIT(1)+BIT(2)+BIT(3)+BIT(4):IFT<>0ANDT<>5THEN9790
 9802IFT=5THENAC=255ELSEAC=0
 9805FORX=0TO4:BIT(X)=0:NEXT
 9810PROCrbits("Move down",1)
 9820PROCrbits("Move right",3)
 9830PROCrbits("Move left",2)
 9840PROCrbits("Press fire",4)
 9850A$=STR$(BIT(4))+STR$(BIT(3))+STR$(BIT(2))+STR$(BIT(1))+STR$(BIT(0))
 9855AC=AC EOR255
 9860ENDPROC
 9870DEFPROCrbits(M$,B)
 9880CLS:PRINTM$
 9890A=?ADD:F=0:FORX=0TO4:T=B*(((A EOR AC) AND 2^X)/2^X):IFT<>0THENBIT(X)=T:F=1
 9895NEXT
 9897IFF=0ANDBF=1THEN9890ELSEVDU7
 9898CLS:PRINT"   Release":REPEAT UNTIL (?ADD AND 31)=0 OR(?ADD AND 31)=31
 9900ENDPROC
��4,7
L� " T H E  M I N E"
	� " "
x� "  Z    Left"
�� "  X    Right"
�� "  :    Up"
�� "  /    Down"
@� "RETURN Stun/Pump"
�� "  Q    Sound Off"
� "  S    Sound On"
l� ""
�� "Escape Restart"
4	� " "
�� ""
��5:�=&3800
	� BIT(4):AC=0
	`�23,1,0;0;0;0;
	�!� T%,U%:�19,3,T%;0;19,2,U%;0;
(
�131:�
�L%=96:R%=1184
��0,0
T� X%=0 � 1280 � 24
�� X%,0:� X%,1025
 � 0,X%*.8333:� 1280,X%*.8333
��
��b(L%,64,R%,256)

H�b(L%,320,R%,752)

��0:�130
�s(6,2,"MICRO",�)
t�s(6,5,"POWER",�)
��A$:�s(2,9,A$,�)
<�1
�� C%=0 � 9
�A$:�2,C%+11)A$;
h�
0�0
�#� 28,2,28,17,24,23,1,1;0;0;0;0;
\S�" Do you want to"''" use joysticks?";:A$=�:�A$:� A$="Y"�A$="y"� �joy � !&140=0
a�
��=&4000:�"MINE2"
�� MAIN PROG CALLS
���a(A%,B%,C%,D%,E%)
C�24,A%-8;B%-4;C%+8;D%+4;18,0,128,16,24,A%;B%;C%;D%;18;E%+128,16
|�
D��b(A%,B%,C%,D%)
��a(A%,B%,C%,D%,1)
!�a(A%+16,B%+16,C%+16,D%+16,2)
p�
8��d(X%,Y%,C%)
�� A%,B%
A%=&5800+320*Y%+X%*16
d� 31,X%,Y%,C%
��B%=0�7
,?(A%+320+B%)=?(A%+B%�2+4)
�?(A%+328+B%)=?(A%+B%�2+12)
��
X� B%=7 � 0 � -1
�?(A%+B%)=?(A%+B%�2)
 ?(A%+B%+8)=?(A%+8+B%�2)
��
��
L��s(X%,Y%,A$,F%)
�� A%
� A%=1 � � A$
x>� F% � �d(X%+A%-1,Y%,��A$,A%)) � �l(X%+A%*2-2,Y%,��A$,A%))
��
@�
 ��l(x%,y%,L%)
 l"� A%,B%:A%=x%*64:B%=32*(31-y%)
 ��b(A%-32,B%-32,A%+64,B%+32)
!4� 31,x%,y%,L%
!��
#(	��joy
#�9�7:A=�(100):�:�"  Please enter"''"joystick address ";
#�
ADD=0:T=4
$"�
$T<� A$=�:X=�"0123456789ABCDEFabcdefOo"+�127+�13,A$):� X<>0
$^A� X=25 � T<4� �8,32,8:ADD=ADD-(ADD � ((16^T)*15)):T=T+1:�DTd
$h� X=23 � X=24� X=1
$�� X>16 � X<25� X=X-6
$�3� T>0 � X<17  �A$;:ADD=ADD+(X-1)*16^(T-1):T=T-1
%�T=0 � X=26
%�/�7:�:�"   Enter code"''" 0 if not known "';
%�A$="":T=1:�
%�C� B$=�:X=�"0123456789OI"+�13+"oi"+�127,B$):�X<>0:�X=11�X=14�X=1
%��X=12�X=15�X=2
%�+�X=16�T>1�T=T-1:�8,32,8:A$=�A$,T):�tJe
%�&�T<4 �X<11��B$;:A$=A$+�(X-1):T=T+1
%�� X=13 �T>1
%�"�7:A=�A$:� A$="0"��rcode:�T`f
%�I�A<1 � (A>120 � A<129) � A>248 � �''"  Please check !":A=�(200):�t@e
%�.A$="43210":AC=255*((A-1) �128):A=(A-1)�128
%�1R=A �24:A=A �24:�R>0�T=1�R:A$=�A$,1)+�A$,4):�
&8R=A �6:A=A �6:�R>0�T=1�R:A$=�A$,4,1)+�A$,3)+�A$,1):�
&8R=A �2:A=A �2:�R>0�T=1�R:A$=�A$,3,1)+�A$,2)+�A$,2):�
&# �A=1�A$=�A$,2,1)+�A$,1)+�A$,3)
& )!&140=ADD:?&142=AC:!&143=�("&FFF"+A$)
&*�
&4��rcode
&>&BF=0:�rbits("Centre stick",1):BF=1
&H8T=BIT(0)+BIT(1)+BIT(2)+BIT(3)+BIT(4):�T<>0�T<>5��T~f
&J�T=5�AC=255�AC=0
&M�X=0�4:BIT(X)=0:�
&R�rbits("Move down",1)
&\�rbits("Move right",3)
&f�rbits("Move left",2)
&p�rbits("Press fire",4)
&z8A$=�(BIT(4))+�(BIT(3))+�(BIT(2))+�(BIT(1))+�(BIT(0))
&AC=AC �255
&��
&���rbits(M$,B)
&�	�:�M$
&�CA=?ADD:F=0:�X=0�4:T=B*(((A � AC) � 2^X)/2^X):�T<>0�BIT(X)=T:F=1
&��
&��F=0�BF=1��tbf��7
&�5�:�"   Release":� � (?ADD � 31)=0 �(?ADD � 31)=31
&��
�
00000000  0d 03 84 08 dc 34 2c 37  0d 04 4c 17 dc 20 22 20  |.....4,7..L.. " |
00000010  54 20 48 20 45 20 20 4d  20 49 20 4e 20 45 22 0d  |T H E  M I N E".|
00000020  05 14 09 dc 20 22 20 22  0d 05 78 13 dc 20 22 20  |.... " "..x.. " |
00000030  20 5a 20 20 20 20 4c 65  66 74 22 0d 05 dc 14 dc  | Z    Left".....|
00000040  20 22 20 20 58 20 20 20  20 52 69 67 68 74 22 0d  | "  X    Right".|
00000050  05 e6 11 dc 20 22 20 20  3a 20 20 20 20 55 70 22  |.... "  :    Up"|
00000060  0d 05 f0 13 dc 20 22 20  20 2f 20 20 20 20 44 6f  |..... "  /    Do|
00000070  77 6e 22 0d 06 40 18 dc  20 22 52 45 54 55 52 4e  |wn"..@.. "RETURN|
00000080  20 53 74 75 6e 2f 50 75  6d 70 22 0d 06 a4 18 dc  | Stun/Pump".....|
00000090  20 22 20 20 51 20 20 20  20 53 6f 75 6e 64 20 4f  | "  Q    Sound O|
000000a0  66 66 22 0d 07 08 17 dc  20 22 20 20 53 20 20 20  |ff"..... "  S   |
000000b0  20 53 6f 75 6e 64 20 4f  6e 22 0d 07 6c 08 dc 20  | Sound On"..l.. |
000000c0  22 22 0d 07 d0 16 dc 20  22 45 73 63 61 70 65 20  |""..... "Escape |
000000d0  52 65 73 74 61 72 74 22  0d 08 34 09 dc 20 22 20  |Restart"..4.. " |
000000e0  22 0d 08 98 08 dc 20 22  22 0d 08 fc 0e eb 35 3a  |"..... "".....5:|
000000f0  d3 3d 26 33 38 30 30 0d  09 01 11 de 20 42 49 54  |.=&3800..... BIT|
00000100  28 34 29 3a 41 43 3d 30  0d 09 60 12 ef 32 33 2c  |(4):AC=0..`..23,|
00000110  31 2c 30 3b 30 3b 30 3b  30 3b 0d 09 c4 21 f3 20  |1,0;0;0;0;...!. |
00000120  54 25 2c 55 25 3a ef 31  39 2c 33 2c 54 25 3b 30  |T%,U%:.19,3,T%;0|
00000130  3b 31 39 2c 32 2c 55 25  3b 30 3b 0d 0a 28 0a fb  |;19,2,U%;0;..(..|
00000140  31 33 31 3a db 0d 0a 8c  11 4c 25 3d 39 36 3a 52  |131:.....L%=96:R|
00000150  25 3d 31 31 38 34 0d 0a  f0 08 e6 30 2c 30 0d 0b  |%=1184.....0,0..|
00000160  54 16 e3 20 58 25 3d 30  20 b8 20 31 32 38 30 20  |T.. X%=0 . 1280 |
00000170  88 20 32 34 0d 0b b8 14  ec 20 58 25 2c 30 3a df  |. 24..... X%,0:.|
00000180  20 58 25 2c 31 30 32 35  0d 0c 1c 20 ec 20 30 2c  | X%,1025... . 0,|
00000190  58 25 2a 2e 38 33 33 33  3a df 20 31 32 38 30 2c  |X%*.8333:. 1280,|
000001a0  58 25 2a 2e 38 33 33 33  0d 0c 80 05 ed 0d 0c e4  |X%*.8333........|
000001b0  14 f2 62 28 4c 25 2c 36  34 2c 52 25 2c 32 35 36  |..b(L%,64,R%,256|
000001c0  29 0d 0d 48 15 f2 62 28  4c 25 2c 33 32 30 2c 52  |)..H..b(L%,320,R|
000001d0  25 2c 37 35 32 29 0d 0d  ac 0b fb 30 3a fb 31 33  |%,752).....0:.13|
000001e0  30 0d 0e 10 15 f2 73 28  36 2c 32 2c 22 4d 49 43  |0.....s(6,2,"MIC|
000001f0  52 4f 22 2c a3 29 0d 0e  74 15 f2 73 28 36 2c 35  |RO",.)..t..s(6,5|
00000200  2c 22 50 4f 57 45 52 22  2c a3 29 0d 0e d8 14 f3  |,"POWER",.).....|
00000210  41 24 3a f2 73 28 32 2c  39 2c 41 24 2c b9 29 0d  |A$:.s(2,9,A$,.).|
00000220  0f 3c 06 fb 31 0d 0f a0  0e e3 20 43 25 3d 30 20  |.<..1..... C%=0 |
00000230  b8 20 39 0d 10 04 15 f3  41 24 3a f1 8a 32 2c 43  |. 9.....A$:..2,C|
00000240  25 2b 31 31 29 41 24 3b  0d 10 68 05 ed 0d 11 30  |%+11)A$;..h....0|
00000250  06 fb 30 0d 11 94 23 ef  20 32 38 2c 32 2c 32 38  |..0...#. 28,2,28|
00000260  2c 31 37 2c 32 34 2c 32  33 2c 31 2c 31 3b 30 3b  |,17,24,23,1,1;0;|
00000270  30 3b 30 3b 30 3b 0d 12  5c 53 f1 22 20 44 6f 20  |0;0;0;..\S." Do |
00000280  79 6f 75 20 77 61 6e 74  20 74 6f 22 27 27 22 20  |you want to"''" |
00000290  75 73 65 20 6a 6f 79 73  74 69 63 6b 73 3f 22 3b  |use joysticks?";|
000002a0  3a 41 24 3d be 3a f1 41  24 3a e7 20 41 24 3d 22  |:A$=.:.A$:. A$="|
000002b0  59 22 84 41 24 3d 22 79  22 8c 20 f2 6a 6f 79 20  |Y".A$="y". .joy |
000002c0  8b 20 21 26 31 34 30 3d  30 0d 12 61 05 db 0d 12  |. !&140=0..a....|
000002d0  c0 14 d0 3d 26 34 30 30  30 3a d7 22 4d 49 4e 45  |...=&4000:."MINE|
000002e0  32 22 0d 13 88 15 f4 20  4d 41 49 4e 20 50 52 4f  |2"..... MAIN PRO|
000002f0  47 20 43 41 4c 4c 53 0d  14 b4 17 dd f2 61 28 41  |G CALLS......a(A|
00000300  25 2c 42 25 2c 43 25 2c  44 25 2c 45 25 29 0d 15  |%,B%,C%,D%,E%)..|
00000310  18 43 ef 32 34 2c 41 25  2d 38 3b 42 25 2d 34 3b  |.C.24,A%-8;B%-4;|
00000320  43 25 2b 38 3b 44 25 2b  34 3b 31 38 2c 30 2c 31  |C%+8;D%+4;18,0,1|
00000330  32 38 2c 31 36 2c 32 34  2c 41 25 3b 42 25 3b 43  |28,16,24,A%;B%;C|
00000340  25 3b 44 25 3b 31 38 3b  45 25 2b 31 32 38 2c 31  |%;D%;18;E%+128,1|
00000350  36 0d 15 7c 05 e1 0d 16  44 14 dd f2 62 28 41 25  |6..|....D...b(A%|
00000360  2c 42 25 2c 43 25 2c 44  25 29 0d 16 a8 15 f2 61  |,B%,C%,D%).....a|
00000370  28 41 25 2c 42 25 2c 43  25 2c 44 25 2c 31 29 0d  |(A%,B%,C%,D%,1).|
00000380  17 0c 21 f2 61 28 41 25  2b 31 36 2c 42 25 2b 31  |..!.a(A%+16,B%+1|
00000390  36 2c 43 25 2b 31 36 2c  44 25 2b 31 36 2c 32 29  |6,C%+16,D%+16,2)|
000003a0  0d 17 70 05 e1 0d 18 38  11 dd f2 64 28 58 25 2c  |..p....8...d(X%,|
000003b0  59 25 2c 43 25 29 0d 18  9c 0b ea 20 41 25 2c 42  |Y%,C%)..... A%,B|
000003c0  25 0d 19 00 19 41 25 3d  26 35 38 30 30 2b 33 32  |%....A%=&5800+32|
000003d0  30 2a 59 25 2b 58 25 2a  31 36 0d 19 64 11 ef 20  |0*Y%+X%*16..d.. |
000003e0  33 31 2c 58 25 2c 59 25  2c 43 25 0d 19 c8 0b e3  |31,X%,Y%,C%.....|
000003f0  42 25 3d 30 b8 37 0d 1a  2c 1d 3f 28 41 25 2b 33  |B%=0.7..,.?(A%+3|
00000400  32 30 2b 42 25 29 3d 3f  28 41 25 2b 42 25 81 32  |20+B%)=?(A%+B%.2|
00000410  2b 34 29 0d 1a 90 1e 3f  28 41 25 2b 33 32 38 2b  |+4)....?(A%+328+|
00000420  42 25 29 3d 3f 28 41 25  2b 42 25 81 32 2b 31 32  |B%)=?(A%+B%.2+12|
00000430  29 0d 1a f4 05 ed 0d 1b  58 13 e3 20 42 25 3d 37  |).......X.. B%=7|
00000440  20 b8 20 30 20 88 20 2d  31 0d 1b bc 17 3f 28 41  | . 0 . -1....?(A|
00000450  25 2b 42 25 29 3d 3f 28  41 25 2b 42 25 81 32 29  |%+B%)=?(A%+B%.2)|
00000460  0d 1c 20 1b 3f 28 41 25  2b 42 25 2b 38 29 3d 3f  |.. .?(A%+B%+8)=?|
00000470  28 41 25 2b 38 2b 42 25  81 32 29 0d 1c 84 05 ed  |(A%+8+B%.2).....|
00000480  0d 1c e8 05 e1 0d 1d 4c  14 dd f2 73 28 58 25 2c  |.......L...s(X%,|
00000490  59 25 2c 41 24 2c 46 25  29 0d 1d b0 08 ea 20 41  |Y%,A$,F%)..... A|
000004a0  25 0d 1e 14 11 e3 20 41  25 3d 31 20 b8 20 a9 20  |%..... A%=1 . . |
000004b0  41 24 0d 1e 78 3e e7 20  46 25 20 8c 20 f2 64 28  |A$..x>. F% . .d(|
000004c0  58 25 2b 41 25 2d 31 2c  59 25 2c 97 c1 41 24 2c  |X%+A%-1,Y%,..A$,|
000004d0  41 25 29 29 20 8b 20 f2  6c 28 58 25 2b 41 25 2a  |A%)) . .l(X%+A%*|
000004e0  32 2d 32 2c 59 25 2c 97  c1 41 24 2c 41 25 29 29  |2-2,Y%,..A$,A%))|
000004f0  0d 1e dc 05 ed 0d 1f 40  05 e1 0d 20 08 11 dd f2  |.......@... ....|
00000500  6c 28 78 25 2c 79 25 2c  4c 25 29 0d 20 6c 22 ea  |l(x%,y%,L%). l".|
00000510  20 41 25 2c 42 25 3a 41  25 3d 78 25 2a 36 34 3a  | A%,B%:A%=x%*64:|
00000520  42 25 3d 33 32 2a 28 33  31 2d 79 25 29 0d 20 d0  |B%=32*(31-y%). .|
00000530  1f f2 62 28 41 25 2d 33  32 2c 42 25 2d 33 32 2c  |..b(A%-32,B%-32,|
00000540  41 25 2b 36 34 2c 42 25  2b 33 32 29 0d 21 34 11  |A%+64,B%+32).!4.|
00000550  ef 20 33 31 2c 78 25 2c  79 25 2c 4c 25 0d 21 98  |. 31,x%,y%,L%.!.|
00000560  05 e1 0d 23 28 09 dd f2  6a 6f 79 0d 23 8c 39 ef  |...#(...joy.#.9.|
00000570  37 3a 41 3d a6 28 31 30  30 29 3a db 3a f1 22 20  |7:A=.(100):.:." |
00000580  20 50 6c 65 61 73 65 20  65 6e 74 65 72 22 27 27  | Please enter"''|
00000590  22 6a 6f 79 73 74 69 63  6b 20 61 64 64 72 65 73  |"joystick addres|
000005a0  73 20 22 3b 0d 23 f0 0d  41 44 44 3d 30 3a 54 3d  |s ";.#..ADD=0:T=|
000005b0  34 0d 24 22 05 f5 0d 24  54 3c f5 20 41 24 3d be  |4.$"...$T<. A$=.|
000005c0  3a 58 3d a7 22 30 31 32  33 34 35 36 37 38 39 41  |:X=."0123456789A|
000005d0  42 43 44 45 46 61 62 63  64 65 66 4f 6f 22 2b bd  |BCDEFabcdefOo"+.|
000005e0  31 32 37 2b bd 31 33 2c  41 24 29 3a fd 20 58 3c  |127+.13,A$):. X<|
000005f0  3e 30 0d 24 5e 41 e7 20  58 3d 32 35 20 80 20 54  |>0.$^A. X=25 . T|
00000600  3c 34 8c 20 ef 38 2c 33  32 2c 38 3a 41 44 44 3d  |<4. .8,32,8:ADD=|
00000610  41 44 44 2d 28 41 44 44  20 80 20 28 28 31 36 5e  |ADD-(ADD . ((16^|
00000620  54 29 2a 31 35 29 29 3a  54 3d 54 2b 31 3a e5 8d  |T)*15)):T=T+1:..|
00000630  44 54 64 0d 24 68 16 e7  20 58 3d 32 33 20 84 20  |DTd.$h.. X=23 . |
00000640  58 3d 32 34 8c 20 58 3d  31 0d 24 86 18 e7 20 58  |X=24. X=1.$... X|
00000650  3e 31 36 20 80 20 58 3c  32 35 8c 20 58 3d 58 2d  |>16 . X<25. X=X-|
00000660  36 0d 24 b8 33 e7 20 54  3e 30 20 80 20 58 3c 31  |6.$.3. T>0 . X<1|
00000670  37 20 20 f1 41 24 3b 3a  41 44 44 3d 41 44 44 2b  |7  .A$;:ADD=ADD+|
00000680  28 58 2d 31 29 2a 31 36  5e 28 54 2d 31 29 3a 54  |(X-1)*16^(T-1):T|
00000690  3d 54 2d 31 0d 25 1c 0f  fd 54 3d 30 20 80 20 58  |=T-1.%...T=0 . X|
000006a0  3d 32 36 0d 25 80 2f ef  37 3a db 3a f1 22 20 20  |=26.%./.7:.:."  |
000006b0  20 45 6e 74 65 72 20 63  6f 64 65 22 27 27 22 20  | Enter code"''" |
000006c0  30 20 69 66 20 6e 6f 74  20 6b 6e 6f 77 6e 20 22  |0 if not known "|
000006d0  27 3b 0d 25 85 0f 41 24  3d 22 22 3a 54 3d 31 3a  |';.%..A$="":T=1:|
000006e0  f5 0d 25 8a 43 f5 20 42  24 3d be 3a 58 3d a7 22  |..%.C. B$=.:X=."|
000006f0  30 31 32 33 34 35 36 37  38 39 4f 49 22 2b bd 31  |0123456789OI"+.1|
00000700  33 2b 22 6f 69 22 2b bd  31 32 37 2c 42 24 29 3a  |3+"oi"+.127,B$):|
00000710  fd 58 3c 3e 30 3a e7 58  3d 31 31 84 58 3d 31 34  |.X<>0:.X=11.X=14|
00000720  8c 58 3d 31 0d 25 8c 12  e7 58 3d 31 32 84 58 3d  |.X=1.%...X=12.X=|
00000730  31 35 8c 58 3d 32 0d 25  94 2b e7 58 3d 31 36 80  |15.X=2.%.+.X=16.|
00000740  54 3e 31 8c 54 3d 54 2d  31 3a ef 38 2c 33 32 2c  |T>1.T=T-1:.8,32,|
00000750  38 3a 41 24 3d c0 41 24  2c 54 29 3a e5 8d 74 4a  |8:A$=.A$,T):..tJ|
00000760  65 0d 25 9e 26 e7 54 3c  34 20 80 58 3c 31 31 8c  |e.%.&.T<4 .X<11.|
00000770  f1 42 24 3b 3a 41 24 3d  41 24 2b c3 28 58 2d 31  |.B$;:A$=A$+.(X-1|
00000780  29 3a 54 3d 54 2b 31 0d  25 a8 0f fd 20 58 3d 31  |):T=T+1.%... X=1|
00000790  33 20 80 54 3e 31 0d 25  b2 22 ef 37 3a 41 3d a0  |3 .T>1.%.".7:A=.|
000007a0  41 24 3a e7 20 41 24 3d  22 30 22 8c f2 72 63 6f  |A$:. A$="0"..rco|
000007b0  64 65 3a e5 8d 54 60 66  0d 25 e4 49 e7 41 3c 31  |de:..T`f.%.I.A<1|
000007c0  20 84 20 28 41 3e 31 32  30 20 80 20 41 3c 31 32  | . (A>120 . A<12|
000007d0  39 29 20 84 20 41 3e 32  34 38 20 8c 20 f1 27 27  |9) . A>248 . .''|
000007e0  22 20 20 50 6c 65 61 73  65 20 63 68 65 63 6b 20  |"  Please check |
000007f0  21 22 3a 41 3d a6 28 32  30 30 29 3a e5 8d 74 40  |!":A=.(200):..t@|
00000800  65 0d 25 ee 2e 41 24 3d  22 34 33 32 31 30 22 3a  |e.%..A$="43210":|
00000810  41 43 3d 32 35 35 2a 28  28 41 2d 31 29 20 81 31  |AC=255*((A-1) .1|
00000820  32 38 29 3a 41 3d 28 41  2d 31 29 83 31 32 38 0d  |28):A=(A-1).128.|
00000830  25 f8 31 52 3d 41 20 81  32 34 3a 41 3d 41 20 83  |%.1R=A .24:A=A .|
00000840  32 34 3a e7 52 3e 30 e3  54 3d 31 b8 52 3a 41 24  |24:.R>0.T=1.R:A$|
00000850  3d c2 41 24 2c 31 29 2b  c0 41 24 2c 34 29 3a ed  |=.A$,1)+.A$,4):.|
00000860  0d 26 02 38 52 3d 41 20  81 36 3a 41 3d 41 20 83  |.&.8R=A .6:A=A .|
00000870  36 3a e7 52 3e 30 e3 54  3d 31 b8 52 3a 41 24 3d  |6:.R>0.T=1.R:A$=|
00000880  c1 41 24 2c 34 2c 31 29  2b c0 41 24 2c 33 29 2b  |.A$,4,1)+.A$,3)+|
00000890  c2 41 24 2c 31 29 3a ed  0d 26 0c 38 52 3d 41 20  |.A$,1):..&.8R=A |
000008a0  81 32 3a 41 3d 41 20 83  32 3a e7 52 3e 30 e3 54  |.2:A=A .2:.R>0.T|
000008b0  3d 31 b8 52 3a 41 24 3d  c1 41 24 2c 33 2c 31 29  |=1.R:A$=.A$,3,1)|
000008c0  2b c0 41 24 2c 32 29 2b  c2 41 24 2c 32 29 3a ed  |+.A$,2)+.A$,2):.|
000008d0  0d 26 16 23 20 e7 41 3d  31 8c 41 24 3d c1 41 24  |.&.# .A=1.A$=.A$|
000008e0  2c 32 2c 31 29 2b c0 41  24 2c 31 29 2b c2 41 24  |,2,1)+.A$,1)+.A$|
000008f0  2c 33 29 0d 26 20 29 21  26 31 34 30 3d 41 44 44  |,3).& )!&140=ADD|
00000900  3a 3f 26 31 34 32 3d 41  43 3a 21 26 31 34 33 3d  |:?&142=AC:!&143=|
00000910  a0 28 22 26 46 46 46 22  2b 41 24 29 0d 26 2a 05  |.("&FFF"+A$).&*.|
00000920  e1 0d 26 34 0b dd f2 72  63 6f 64 65 0d 26 3e 26  |..&4...rcode.&>&|
00000930  42 46 3d 30 3a f2 72 62  69 74 73 28 22 43 65 6e  |BF=0:.rbits("Cen|
00000940  74 72 65 20 73 74 69 63  6b 22 2c 31 29 3a 42 46  |tre stick",1):BF|
00000950  3d 31 0d 26 48 38 54 3d  42 49 54 28 30 29 2b 42  |=1.&H8T=BIT(0)+B|
00000960  49 54 28 31 29 2b 42 49  54 28 32 29 2b 42 49 54  |IT(1)+BIT(2)+BIT|
00000970  28 33 29 2b 42 49 54 28  34 29 3a e7 54 3c 3e 30  |(3)+BIT(4):.T<>0|
00000980  80 54 3c 3e 35 8c 8d 54  7e 66 0d 26 4a 14 e7 54  |.T<>5..T~f.&J..T|
00000990  3d 35 8c 41 43 3d 32 35  35 8b 41 43 3d 30 0d 26  |=5.AC=255.AC=0.&|
000009a0  4d 15 e3 58 3d 30 b8 34  3a 42 49 54 28 58 29 3d  |M..X=0.4:BIT(X)=|
000009b0  30 3a ed 0d 26 52 19 f2  72 62 69 74 73 28 22 4d  |0:..&R..rbits("M|
000009c0  6f 76 65 20 64 6f 77 6e  22 2c 31 29 0d 26 5c 1a  |ove down",1).&\.|
000009d0  f2 72 62 69 74 73 28 22  4d 6f 76 65 20 72 69 67  |.rbits("Move rig|
000009e0  68 74 22 2c 33 29 0d 26  66 19 f2 72 62 69 74 73  |ht",3).&f..rbits|
000009f0  28 22 4d 6f 76 65 20 6c  65 66 74 22 2c 32 29 0d  |("Move left",2).|
00000a00  26 70 1a f2 72 62 69 74  73 28 22 50 72 65 73 73  |&p..rbits("Press|
00000a10  20 66 69 72 65 22 2c 34  29 0d 26 7a 38 41 24 3d  | fire",4).&z8A$=|
00000a20  c3 28 42 49 54 28 34 29  29 2b c3 28 42 49 54 28  |.(BIT(4))+.(BIT(|
00000a30  33 29 29 2b c3 28 42 49  54 28 32 29 29 2b c3 28  |3))+.(BIT(2))+.(|
00000a40  42 49 54 28 31 29 29 2b  c3 28 42 49 54 28 30 29  |BIT(1))+.(BIT(0)|
00000a50  29 0d 26 7f 0e 41 43 3d  41 43 20 82 32 35 35 0d  |).&..AC=AC .255.|
00000a60  26 84 05 e1 0d 26 8e 11  dd f2 72 62 69 74 73 28  |&....&....rbits(|
00000a70  4d 24 2c 42 29 0d 26 98  09 db 3a f1 4d 24 0d 26  |M$,B).&...:.M$.&|
00000a80  a2 43 41 3d 3f 41 44 44  3a 46 3d 30 3a e3 58 3d  |.CA=?ADD:F=0:.X=|
00000a90  30 b8 34 3a 54 3d 42 2a  28 28 28 41 20 82 20 41  |0.4:T=B*(((A . A|
00000aa0  43 29 20 80 20 32 5e 58  29 2f 32 5e 58 29 3a e7  |C) . 2^X)/2^X):.|
00000ab0  54 3c 3e 30 8c 42 49 54  28 58 29 3d 54 3a 46 3d  |T<>0.BIT(X)=T:F=|
00000ac0  31 0d 26 a7 05 ed 0d 26  a9 15 e7 46 3d 30 80 42  |1.&....&...F=0.B|
00000ad0  46 3d 31 8c 8d 74 62 66  8b ef 37 0d 26 aa 35 db  |F=1..tbf..7.&.5.|
00000ae0  3a f1 22 20 20 20 52 65  6c 65 61 73 65 22 3a f5  |:."   Release":.|
00000af0  20 fd 20 28 3f 41 44 44  20 80 20 33 31 29 3d 30  | . (?ADD . 31)=0|
00000b00  20 84 28 3f 41 44 44 20  80 20 33 31 29 3d 33 31  | .(?ADD . 31)=31|
00000b10  0d 26 ac 05 e1 0d ff                              |.&.....|
00000b17
MINE.m0
MINE.m1
MINE.m2
MINE.m4
MINE.m5