Home » Personal collection » Acorn ADFS disks » Electron » Micropower.ADF » Mine/MINE

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 ADFS disks » Electron » Micropower.ADF
Filename: Mine/MINE
Read OK:
File size: 0B28 bytes
Load address: FFFF1D00
Exec address: FFFF8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10 *FX163,128,1
  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

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