Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_52.ADF » G/BOMBHUN

G/BOMBHUN

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_User_Group » EUG_52.ADF
Filename: G/BOMBHUN
Read OK:
File size: 0726 bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
   10REM Bomb Hunt
   20REM By C.R.Dewhurst
   30REM Program subject to Copyright
   40MODE1:VDU23;8202;0;0;0;:@%=0
   50OSCLI"FX9,1":OSCLI"FX10,1"
   60RESTORE:E%=&900:FORI%=1TO64:READa$:!E%=EVAL("&"+a$):E%=E%+4:NEXT:PROCass
   70H%=9:V%=9:DIMG%(21,15):S%=0:D%=FALSE
   80VDU23,128,56,68,154,162,162,154,68,56,19,2,6;0;23;8202;0;0;0;
   90VDU31,0,30,17,129,32,17,0,48,17,3:PRINTSPC4"Bombhunt";:VDU17,2:PRINT" Use ZX:/ ";:VDU17,3:PRINTSPC3CHR$128"1994 S&H"SPC3;:VDU17,128,31,0,10:PRINTTAB(0,0)" "
  100PROCloc
  110PROCship
  120REPEAT
  130A%=INSTR("ZX/:",GET$)
  140PROCship
  150SOUND0,-7,4,1:Z%=0
  160IFA%=1 H%=H%+(H%>0)
  170IFA%=2 H%=H%-(H%<19)
  180IFA%=3 V%=V%-(V%<14)
  190IFA%=4 V%=V%+(V%>0)
  200IFG%(H%,V%)=1 PROCmine
  210IFG%(H%,V%)=2 PROCdead
  220OSCLI("FX 21"):PROCship
  230FORA=0TO100:NEXT
  240UNTIL D%
  250RUN
  260 
  270DEF PROCship
  280PROCp(H%,V%,&940)
  290ENDPROC
  300DEF PROCdead
  310SOUND0,-15,6,5:PROCp(H%,V%,&9C0)
  320VDU19,2,15;0;:FORI%=1TO3000:NEXT:VDU19,2,6;0;
  330COLOUR2:PRINTTAB(5,10)"Congratulations - you're dead!"
  340OSCLI"FX15":REPEATUNTILGET:D%=TRUE
  350ENDPROC
  360DEFPROCloc
  370REPEAT X%=RND(19):Y%=RND(13)
  380UNTIL G%(X%,Y%)=0
  390G%(X%,Y%)=1:PROCp(X%,Y%,&900)
  400ENDPROC
  410DEFPROCmine
  420S%=S%+10:SOUND0,-9,1,2
  430PROCp(H%,V%,&900):PROCp(H%,V%,&980)
  440G%(H%,V%)=2:PROCloc
  450REPEAT H%=RND(19):V%=RND(13)
  460UNTIL G%(H%,V%)=0
  470COLOUR 129:COLOUR 0
  480PRINTTAB(1,30)S%
  490COLOUR 128:COLOUR 3:ENDPROC
  500DEFPROCp(C%,D%,E%):!&70=&3000+32*C%+&500*D%:!&72=E%:CALL&3A0:ENDPROC
  510DEFPROCass:FORI%=0TO2STEP2:P%=&3A0:[OPTI%:LDX#2:.l1:LDY#31:.l2:LDA(&72),Y:EOR(&70),Y:STA(&70),Y:DEY:BPLl2:CLC:LDA&70:ADC#&80:STA&70:LDA&70+1:ADC#&2:STA&70+1:LDA&72:ADC#32:STA&72:DEX:BNEl1:RTS:]NEXT:ENDPROC
  520DATA4020100,4050205,2010E00,801,8000F00,10201,4080000,4040804,5AA50202,5AA55AA5,6EA64B25,4BB77F6E,DEAD4A84,5AADDECF,4AA40808,4AA44AA4
  530DATA30000000,70C0C070,F0F03000,F09090F0,F0E08000,F02020F0,80000000,C06060C0,12010030,4A044024,B0F0F0,0,10A1E0F0,0,8000080,4A044084
  540DATA2000000,1010001,1010100,43070B07,0,F870E0D,8000000,0,1010F,201,F2D0F1E,1010107,E0F4B0F,D,E,800
  550DATA2040101,3C030000,2D698608,F0F03C34,69251201,F0F0F0F0,3000A08,8484C22D,34120103,2000C4B,3CF0F0F0,91212,96F0F0F0,10809,84C2E1C2,800074A

� Bomb Hunt
� By C.R.Dewhurst
"� Program subject to Copyright
(�1:�23;8202;0;0;0;:@%=0
2�"FX9,1":�"FX10,1"
<7�:E%=&900:�I%=1�64:�a$:!E%=�("&"+a$):E%=E%+4:�:�ass
F"H%=9:V%=9:�G%(21,15):S%=0:D%=�
P?�23,128,56,68,154,162,162,154,68,56,19,2,6;0;23;8202;0;0;0;
Z|�31,0,30,17,129,32,17,0,48,17,3:�4"Bombhunt";:�17,2:�" Use ZX:/ ";:�17,3:�3�128"1994 S&H"�3;:�17,128,31,0,10:�0,0)" "
d�loc
n	�ship
x�
�A%=�"ZX/:",�)
�	�ship
��0,-7,4,1:Z%=0
��A%=1 H%=H%+(H%>0)
��A%=2 H%=H%-(H%<19)
��A%=3 V%=V%-(V%<14)
��A%=4 V%=V%+(V%>0)
��G%(H%,V%)=1 �mine
��G%(H%,V%)=2 �dead
��("FX 21"):�ship
��A=0�100:�
�� D%
��
 
� �ship
�p(H%,V%,&940)
"�
,� �dead
6�0,-15,6,5:�p(H%,V%,&9C0)
@'�19,2,15;0;:�I%=1�3000:�:�19,2,6;0;
J.�2:�5,10)"Congratulations - you're dead!"
T�"FX15":���:D%=�
^�
h	��loc
r� X%=�(19):Y%=�(13)
|� G%(X%,Y%)=0
�G%(X%,Y%)=1:�p(X%,Y%,&900)
��
�
��mine
�S%=S%+10:�0,-9,1,2
�!�p(H%,V%,&900):�p(H%,V%,&980)
�G%(H%,V%)=2:�loc
�� H%=�(19):V%=�(13)
�� G%(H%,V%)=0
�
� 129:� 0
�
�1,30)S%
�� 128:� 3:�
�:��p(C%,D%,E%):!&70=&3000+32*C%+&500*D%:!&72=E%:�&3A0:�
����ass:�I%=0�2�2:P%=&3A0:[OPTI%:LDX#2:.l1:LDY#31:.l2:LDA(&72),Y:�(&70),Y:STA(&70),Y:DEY:BPLl2:CLC:LDA&70:ADC#&80:STA&70:LDA&70+1:ADC#&2:STA&70+1:LDA&72:ADC#32:STA&72:DEX:BNEl1:RTS:]�:�
��4020100,4050205,2010E00,801,8000F00,10201,4080000,4040804,5AA50202,5AA55AA5,6EA64B25,4BB77F6E,DEAD4A84,5AADDECF,4AA40808,4AA44AA4
��30000000,70C0C070,F0F03000,F09090F0,F0E08000,F02020F0,80000000,C06060C0,12010030,4A044024,B0F0F0,0,10A1E0F0,0,8000080,4A044084
c�2000000,1010001,1010100,43070B07,0,F870E0D,8000000,0,1010F,201,F2D0F1E,1010107,E0F4B0F,D,E,800
&��2040101,3C030000,2D698608,F0F03C34,69251201,F0F0F0F0,3000A08,8484C22D,34120103,2000C4B,3CF0F0F0,91212,96F0F0F0,10809,84C2E1C2,800074A
�
00000000  0d 00 0a 0f f4 20 42 6f  6d 62 20 48 75 6e 74 0d  |..... Bomb Hunt.|
00000010  00 14 15 f4 20 42 79 20  43 2e 52 2e 44 65 77 68  |.... By C.R.Dewh|
00000020  75 72 73 74 0d 00 1e 22  f4 20 50 72 6f 67 72 61  |urst...". Progra|
00000030  6d 20 73 75 62 6a 65 63  74 20 74 6f 20 43 6f 70  |m subject to Cop|
00000040  79 72 69 67 68 74 0d 00  28 1b eb 31 3a ef 32 33  |yright..(..1:.23|
00000050  3b 38 32 30 32 3b 30 3b  30 3b 30 3b 3a 40 25 3d  |;8202;0;0;0;:@%=|
00000060  30 0d 00 32 16 ff 22 46  58 39 2c 31 22 3a ff 22  |0..2.."FX9,1":."|
00000070  46 58 31 30 2c 31 22 0d  00 3c 37 f7 3a 45 25 3d  |FX10,1"..<7.:E%=|
00000080  26 39 30 30 3a e3 49 25  3d 31 b8 36 34 3a f3 61  |&900:.I%=1.64:.a|
00000090  24 3a 21 45 25 3d a0 28  22 26 22 2b 61 24 29 3a  |$:!E%=.("&"+a$):|
000000a0  45 25 3d 45 25 2b 34 3a  ed 3a f2 61 73 73 0d 00  |E%=E%+4:.:.ass..|
000000b0  46 22 48 25 3d 39 3a 56  25 3d 39 3a de 47 25 28  |F"H%=9:V%=9:.G%(|
000000c0  32 31 2c 31 35 29 3a 53  25 3d 30 3a 44 25 3d a3  |21,15):S%=0:D%=.|
000000d0  0d 00 50 3f ef 32 33 2c  31 32 38 2c 35 36 2c 36  |..P?.23,128,56,6|
000000e0  38 2c 31 35 34 2c 31 36  32 2c 31 36 32 2c 31 35  |8,154,162,162,15|
000000f0  34 2c 36 38 2c 35 36 2c  31 39 2c 32 2c 36 3b 30  |4,68,56,19,2,6;0|
00000100  3b 32 33 3b 38 32 30 32  3b 30 3b 30 3b 30 3b 0d  |;23;8202;0;0;0;.|
00000110  00 5a 7c ef 33 31 2c 30  2c 33 30 2c 31 37 2c 31  |.Z|.31,0,30,17,1|
00000120  32 39 2c 33 32 2c 31 37  2c 30 2c 34 38 2c 31 37  |29,32,17,0,48,17|
00000130  2c 33 3a f1 89 34 22 42  6f 6d 62 68 75 6e 74 22  |,3:..4"Bombhunt"|
00000140  3b 3a ef 31 37 2c 32 3a  f1 22 20 55 73 65 20 5a  |;:.17,2:." Use Z|
00000150  58 3a 2f 20 22 3b 3a ef  31 37 2c 33 3a f1 89 33  |X:/ ";:.17,3:..3|
00000160  bd 31 32 38 22 31 39 39  34 20 53 26 48 22 89 33  |.128"1994 S&H".3|
00000170  3b 3a ef 31 37 2c 31 32  38 2c 33 31 2c 30 2c 31  |;:.17,128,31,0,1|
00000180  30 3a f1 8a 30 2c 30 29  22 20 22 0d 00 64 08 f2  |0:..0,0)" "..d..|
00000190  6c 6f 63 0d 00 6e 09 f2  73 68 69 70 0d 00 78 05  |loc..n..ship..x.|
000001a0  f5 0d 00 82 11 41 25 3d  a7 22 5a 58 2f 3a 22 2c  |.....A%=."ZX/:",|
000001b0  be 29 0d 00 8c 09 f2 73  68 69 70 0d 00 96 12 d4  |.).....ship.....|
000001c0  30 2c 2d 37 2c 34 2c 31  3a 5a 25 3d 30 0d 00 a0  |0,-7,4,1:Z%=0...|
000001d0  16 e7 41 25 3d 31 20 48  25 3d 48 25 2b 28 48 25  |..A%=1 H%=H%+(H%|
000001e0  3e 30 29 0d 00 aa 17 e7  41 25 3d 32 20 48 25 3d  |>0).....A%=2 H%=|
000001f0  48 25 2d 28 48 25 3c 31  39 29 0d 00 b4 17 e7 41  |H%-(H%<19).....A|
00000200  25 3d 33 20 56 25 3d 56  25 2d 28 56 25 3c 31 34  |%=3 V%=V%-(V%<14|
00000210  29 0d 00 be 16 e7 41 25  3d 34 20 56 25 3d 56 25  |).....A%=4 V%=V%|
00000220  2b 28 56 25 3e 30 29 0d  00 c8 16 e7 47 25 28 48  |+(V%>0).....G%(H|
00000230  25 2c 56 25 29 3d 31 20  f2 6d 69 6e 65 0d 00 d2  |%,V%)=1 .mine...|
00000240  16 e7 47 25 28 48 25 2c  56 25 29 3d 32 20 f2 64  |..G%(H%,V%)=2 .d|
00000250  65 61 64 0d 00 dc 14 ff  28 22 46 58 20 32 31 22  |ead.....("FX 21"|
00000260  29 3a f2 73 68 69 70 0d  00 e6 0e e3 41 3d 30 b8  |):.ship.....A=0.|
00000270  31 30 30 3a ed 0d 00 f0  08 fd 20 44 25 0d 00 fa  |100:...... D%...|
00000280  05 f9 0d 01 04 05 20 0d  01 0e 0b dd 20 f2 73 68  |...... ..... .sh|
00000290  69 70 0d 01 18 12 f2 70  28 48 25 2c 56 25 2c 26  |ip.....p(H%,V%,&|
000002a0  39 34 30 29 0d 01 22 05  e1 0d 01 2c 0b dd 20 f2  |940).."....,.. .|
000002b0  64 65 61 64 0d 01 36 1d  d4 30 2c 2d 31 35 2c 36  |dead..6..0,-15,6|
000002c0  2c 35 3a f2 70 28 48 25  2c 56 25 2c 26 39 43 30  |,5:.p(H%,V%,&9C0|
000002d0  29 0d 01 40 27 ef 31 39  2c 32 2c 31 35 3b 30 3b  |)..@'.19,2,15;0;|
000002e0  3a e3 49 25 3d 31 b8 33  30 30 30 3a ed 3a ef 31  |:.I%=1.3000:.:.1|
000002f0  39 2c 32 2c 36 3b 30 3b  0d 01 4a 2e fb 32 3a f1  |9,2,6;0;..J..2:.|
00000300  8a 35 2c 31 30 29 22 43  6f 6e 67 72 61 74 75 6c  |.5,10)"Congratul|
00000310  61 74 69 6f 6e 73 20 2d  20 79 6f 75 27 72 65 20  |ations - you're |
00000320  64 65 61 64 21 22 0d 01  54 14 ff 22 46 58 31 35  |dead!"..T.."FX15|
00000330  22 3a f5 fd a5 3a 44 25  3d b9 0d 01 5e 05 e1 0d  |":...:D%=...^...|
00000340  01 68 09 dd f2 6c 6f 63  0d 01 72 17 f5 20 58 25  |.h...loc..r.. X%|
00000350  3d b3 28 31 39 29 3a 59  25 3d b3 28 31 33 29 0d  |=.(19):Y%=.(13).|
00000360  01 7c 11 fd 20 47 25 28  58 25 2c 59 25 29 3d 30  |.|.. G%(X%,Y%)=0|
00000370  0d 01 86 1e 47 25 28 58  25 2c 59 25 29 3d 31 3a  |....G%(X%,Y%)=1:|
00000380  f2 70 28 58 25 2c 59 25  2c 26 39 30 30 29 0d 01  |.p(X%,Y%,&900)..|
00000390  90 05 e1 0d 01 9a 0a dd  f2 6d 69 6e 65 0d 01 a4  |.........mine...|
000003a0  16 53 25 3d 53 25 2b 31  30 3a d4 30 2c 2d 39 2c  |.S%=S%+10:.0,-9,|
000003b0  31 2c 32 0d 01 ae 21 f2  70 28 48 25 2c 56 25 2c  |1,2...!.p(H%,V%,|
000003c0  26 39 30 30 29 3a f2 70  28 48 25 2c 56 25 2c 26  |&900):.p(H%,V%,&|
000003d0  39 38 30 29 0d 01 b8 14  47 25 28 48 25 2c 56 25  |980)....G%(H%,V%|
000003e0  29 3d 32 3a f2 6c 6f 63  0d 01 c2 17 f5 20 48 25  |)=2:.loc..... H%|
000003f0  3d b3 28 31 39 29 3a 56  25 3d b3 28 31 33 29 0d  |=.(19):V%=.(13).|
00000400  01 cc 11 fd 20 47 25 28  48 25 2c 56 25 29 3d 30  |.... G%(H%,V%)=0|
00000410  0d 01 d6 0d fb 20 31 32  39 3a fb 20 30 0d 01 e0  |..... 129:. 0...|
00000420  0d f1 8a 31 2c 33 30 29  53 25 0d 01 ea 0f fb 20  |...1,30)S%..... |
00000430  31 32 38 3a fb 20 33 3a  e1 0d 01 f4 3a dd f2 70  |128:. 3:....:..p|
00000440  28 43 25 2c 44 25 2c 45  25 29 3a 21 26 37 30 3d  |(C%,D%,E%):!&70=|
00000450  26 33 30 30 30 2b 33 32  2a 43 25 2b 26 35 30 30  |&3000+32*C%+&500|
00000460  2a 44 25 3a 21 26 37 32  3d 45 25 3a d6 26 33 41  |*D%:!&72=E%:.&3A|
00000470  30 3a e1 0d 01 fe bb dd  f2 61 73 73 3a e3 49 25  |0:.......ass:.I%|
00000480  3d 30 b8 32 88 32 3a 50  25 3d 26 33 41 30 3a 5b  |=0.2.2:P%=&3A0:[|
00000490  4f 50 54 49 25 3a 4c 44  58 23 32 3a 2e 6c 31 3a  |OPTI%:LDX#2:.l1:|
000004a0  4c 44 59 23 33 31 3a 2e  6c 32 3a 4c 44 41 28 26  |LDY#31:.l2:LDA(&|
000004b0  37 32 29 2c 59 3a 82 28  26 37 30 29 2c 59 3a 53  |72),Y:.(&70),Y:S|
000004c0  54 41 28 26 37 30 29 2c  59 3a 44 45 59 3a 42 50  |TA(&70),Y:DEY:BP|
000004d0  4c 6c 32 3a 43 4c 43 3a  4c 44 41 26 37 30 3a 41  |Ll2:CLC:LDA&70:A|
000004e0  44 43 23 26 38 30 3a 53  54 41 26 37 30 3a 4c 44  |DC#&80:STA&70:LD|
000004f0  41 26 37 30 2b 31 3a 41  44 43 23 26 32 3a 53 54  |A&70+1:ADC#&2:ST|
00000500  41 26 37 30 2b 31 3a 4c  44 41 26 37 32 3a 41 44  |A&70+1:LDA&72:AD|
00000510  43 23 33 32 3a 53 54 41  26 37 32 3a 44 45 58 3a  |C#32:STA&72:DEX:|
00000520  42 4e 45 6c 31 3a 52 54  53 3a 5d ed 3a e1 0d 02  |BNEl1:RTS:].:...|
00000530  08 86 dc 34 30 32 30 31  30 30 2c 34 30 35 30 32  |...4020100,40502|
00000540  30 35 2c 32 30 31 30 45  30 30 2c 38 30 31 2c 38  |05,2010E00,801,8|
00000550  30 30 30 46 30 30 2c 31  30 32 30 31 2c 34 30 38  |000F00,10201,408|
00000560  30 30 30 30 2c 34 30 34  30 38 30 34 2c 35 41 41  |0000,4040804,5AA|
00000570  35 30 32 30 32 2c 35 41  41 35 35 41 41 35 2c 36  |50202,5AA55AA5,6|
00000580  45 41 36 34 42 32 35 2c  34 42 42 37 37 46 36 45  |EA64B25,4BB77F6E|
00000590  2c 44 45 41 44 34 41 38  34 2c 35 41 41 44 44 45  |,DEAD4A84,5AADDE|
000005a0  43 46 2c 34 41 41 34 30  38 30 38 2c 34 41 41 34  |CF,4AA40808,4AA4|
000005b0  34 41 41 34 0d 02 12 83  dc 33 30 30 30 30 30 30  |4AA4.....3000000|
000005c0  30 2c 37 30 43 30 43 30  37 30 2c 46 30 46 30 33  |0,70C0C070,F0F03|
000005d0  30 30 30 2c 46 30 39 30  39 30 46 30 2c 46 30 45  |000,F09090F0,F0E|
000005e0  30 38 30 30 30 2c 46 30  32 30 32 30 46 30 2c 38  |08000,F02020F0,8|
000005f0  30 30 30 30 30 30 30 2c  43 30 36 30 36 30 43 30  |0000000,C06060C0|
00000600  2c 31 32 30 31 30 30 33  30 2c 34 41 30 34 34 30  |,12010030,4A0440|
00000610  32 34 2c 42 30 46 30 46  30 2c 30 2c 31 30 41 31  |24,B0F0F0,0,10A1|
00000620  45 30 46 30 2c 30 2c 38  30 30 30 30 38 30 2c 34  |E0F0,0,8000080,4|
00000630  41 30 34 34 30 38 34 0d  02 1c 63 dc 32 30 30 30  |A044084...c.2000|
00000640  30 30 30 2c 31 30 31 30  30 30 31 2c 31 30 31 30  |000,1010001,1010|
00000650  31 30 30 2c 34 33 30 37  30 42 30 37 2c 30 2c 46  |100,43070B07,0,F|
00000660  38 37 30 45 30 44 2c 38  30 30 30 30 30 30 2c 30  |870E0D,8000000,0|
00000670  2c 31 30 31 30 46 2c 32  30 31 2c 46 32 44 30 46  |,1010F,201,F2D0F|
00000680  31 45 2c 31 30 31 30 31  30 37 2c 45 30 46 34 42  |1E,1010107,E0F4B|
00000690  30 46 2c 44 2c 45 2c 38  30 30 0d 02 26 8a dc 32  |0F,D,E,800..&..2|
000006a0  30 34 30 31 30 31 2c 33  43 30 33 30 30 30 30 2c  |040101,3C030000,|
000006b0  32 44 36 39 38 36 30 38  2c 46 30 46 30 33 43 33  |2D698608,F0F03C3|
000006c0  34 2c 36 39 32 35 31 32  30 31 2c 46 30 46 30 46  |4,69251201,F0F0F|
000006d0  30 46 30 2c 33 30 30 30  41 30 38 2c 38 34 38 34  |0F0,3000A08,8484|
000006e0  43 32 32 44 2c 33 34 31  32 30 31 30 33 2c 32 30  |C22D,34120103,20|
000006f0  30 30 43 34 42 2c 33 43  46 30 46 30 46 30 2c 39  |00C4B,3CF0F0F0,9|
00000700  31 32 31 32 2c 39 36 46  30 46 30 46 30 2c 31 30  |1212,96F0F0F0,10|
00000710  38 30 39 2c 38 34 43 32  45 31 43 32 2c 38 30 30  |809,84C2E1C2,800|
00000720  30 37 34 41 0d ff                                 |074A..|
00000726
G/BOMBHUN.m0
G/BOMBHUN.m1
G/BOMBHUN.m2
G/BOMBHUN.m4
G/BOMBHUN.m5