Home » Personal collection » Acorn ADFS disks » Electron » Shipwrecked_1.ADF » Game4

Game4

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 » Shipwrecked_1.ADF
Filename: Game4
Read OK:
File size: 037A bytes
Load address: FFFF0E00
Exec address: FFFF8023
Duplicates

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

File contents
   10no=0:ad=&4000:DIMv%(25)
   20REPEAT:v%(no)=ad:no=no+1:READs$:?ad=LEN(s$):ad=ad+1:FORl=1TOLEN(s$):s=ASC(MID$(s$,l,1)):IFs<64THENs=s-26:IFs=6THENs=0
   30IFs<64THENGOTO70
   40IFs=ASC("O")THENs=22:GOTO70
   50IFs=ASC("I")THENs=23:GOTO70
   60s=s-64:IFs>8THENs=s-1:IFs>13THENs=s-1:IFs>14THENs=s-1:IFs>20THENs=s-1
   70?ad=s
   80ad=ad+1:NEXT:UNTIL s$="*"
   90FORd=0TO79:READs:?(d+&56B0)=v%(s):NEXT
  100*SAVE SHIP.Ship3 1FCC 8000
  110*DIR SHIP
  120CHAIN"SHIP"
  130:
  140DATA"THE HILLSIDE","THE SHIPWRECK","THE ALIEN BASE","ELECTRIC METER","THE GENERATOR","ELECTRIC CUTOFF","HUNGRY MONSTER"
  150DATA"DARK ROOM","INCUBATOR","WORKSHOP","THE TOWER","THE MINE","FRIDGE","WATER TANKS","TELEPORT","PIRATES HIDEOUT","THE CHAPEL","CONTROLS","TEMPLE OF VESTA","GAS STORE","THE WELL","*"
  160:
  170DATA1,1,0,0,0,0,0,0,10,16,16,16,17,17,10,10
  180DATA1,1,0,18,0,0,0,2,10,16,0,20,0,11,10,10
  190DATA1,2,2,2,12,19,19,2,2,15,15,20,11,11,11,11
  200DATA5,3,2,2,2,2,2,2,13,13,14,20,11,11,11,11
  210DATA4,4,4,4,8,7,9,2,13,13,14,20,11,11,6,11

no=0:ad=&4000:�v%(25)
\�:v%(no)=ad:no=no+1:�s$:?ad=�(s$):ad=ad+1:�l=1��(s$):s=�(�s$,l,1)):�s<64�s=s-26:�s=6�s=0
�s<64��DF@
(�s=�("O")�s=22:�DF@
2�s=�("I")�s=23:�DF@
<9s=s-64:�s>8�s=s-1:�s>13�s=s-1:�s>14�s=s-1:�s>20�s=s-1
F	?ad=s
Pad=ad+1:�:� s$="*"
Z!�d=0�79:�s:?(d+&56B0)=v%(s):�
d*SAVE SHIP.Ship3 1FCC 8000
n
*DIR SHIP
x�"SHIP"
�:
�x�"THE HILLSIDE","THE SHIPWRECK","THE ALIEN BASE","ELECTRIC METER","THE GENERATOR","ELECTRIC CUTOFF","HUNGRY MONSTER"
���"DARK ROOM","INCUBATOR","WORKSHOP","THE TOWER","THE MINE","FRIDGE","WATER TANKS","TELEPORT","PIRATES HIDEOUT","THE CHAPEL","CONTROLS","TEMPLE OF VESTA","GAS STORE","THE WELL","*"
�:
�,�1,1,0,0,0,0,0,0,10,16,16,16,17,17,10,10
�+�1,1,0,18,0,0,0,2,10,16,0,20,0,11,10,10
�.�1,2,2,2,12,19,19,2,2,15,15,20,11,11,11,11
�,�5,3,2,2,2,2,2,2,13,13,14,20,11,11,11,11
�+�4,4,4,4,8,7,9,2,13,13,14,20,11,11,6,11
�
00000000  0d 00 0a 19 6e 6f 3d 30  3a 61 64 3d 26 34 30 30  |....no=0:ad=&400|
00000010  30 3a de 76 25 28 32 35  29 0d 00 14 5c f5 3a 76  |0:.v%(25)...\.:v|
00000020  25 28 6e 6f 29 3d 61 64  3a 6e 6f 3d 6e 6f 2b 31  |%(no)=ad:no=no+1|
00000030  3a f3 73 24 3a 3f 61 64  3d a9 28 73 24 29 3a 61  |:.s$:?ad=.(s$):a|
00000040  64 3d 61 64 2b 31 3a e3  6c 3d 31 b8 a9 28 73 24  |d=ad+1:.l=1..(s$|
00000050  29 3a 73 3d 97 28 c1 73  24 2c 6c 2c 31 29 29 3a  |):s=.(.s$,l,1)):|
00000060  e7 73 3c 36 34 8c 73 3d  73 2d 32 36 3a e7 73 3d  |.s<64.s=s-26:.s=|
00000070  36 8c 73 3d 30 0d 00 1e  0f e7 73 3c 36 34 8c e5  |6.s=0.....s<64..|
00000080  8d 44 46 40 0d 00 28 18  e7 73 3d 97 28 22 4f 22  |.DF@..(..s=.("O"|
00000090  29 8c 73 3d 32 32 3a e5  8d 44 46 40 0d 00 32 18  |).s=22:..DF@..2.|
000000a0  e7 73 3d 97 28 22 49 22  29 8c 73 3d 32 33 3a e5  |.s=.("I").s=23:.|
000000b0  8d 44 46 40 0d 00 3c 39  73 3d 73 2d 36 34 3a e7  |.DF@..<9s=s-64:.|
000000c0  73 3e 38 8c 73 3d 73 2d  31 3a e7 73 3e 31 33 8c  |s>8.s=s-1:.s>13.|
000000d0  73 3d 73 2d 31 3a e7 73  3e 31 34 8c 73 3d 73 2d  |s=s-1:.s>14.s=s-|
000000e0  31 3a e7 73 3e 32 30 8c  73 3d 73 2d 31 0d 00 46  |1:.s>20.s=s-1..F|
000000f0  09 3f 61 64 3d 73 0d 00  50 16 61 64 3d 61 64 2b  |.?ad=s..P.ad=ad+|
00000100  31 3a ed 3a fd 20 73 24  3d 22 2a 22 0d 00 5a 21  |1:.:. s$="*"..Z!|
00000110  e3 64 3d 30 b8 37 39 3a  f3 73 3a 3f 28 64 2b 26  |.d=0.79:.s:?(d+&|
00000120  35 36 42 30 29 3d 76 25  28 73 29 3a ed 0d 00 64  |56B0)=v%(s):...d|
00000130  1e 2a 53 41 56 45 20 53  48 49 50 2e 53 68 69 70  |.*SAVE SHIP.Ship|
00000140  33 20 31 46 43 43 20 38  30 30 30 0d 00 6e 0d 2a  |3 1FCC 8000..n.*|
00000150  44 49 52 20 53 48 49 50  0d 00 78 0b d7 22 53 48  |DIR SHIP..x.."SH|
00000160  49 50 22 0d 00 82 05 3a  0d 00 8c 78 dc 22 54 48  |IP"....:...x."TH|
00000170  45 20 48 49 4c 4c 53 49  44 45 22 2c 22 54 48 45  |E HILLSIDE","THE|
00000180  20 53 48 49 50 57 52 45  43 4b 22 2c 22 54 48 45  | SHIPWRECK","THE|
00000190  20 41 4c 49 45 4e 20 42  41 53 45 22 2c 22 45 4c  | ALIEN BASE","EL|
000001a0  45 43 54 52 49 43 20 4d  45 54 45 52 22 2c 22 54  |ECTRIC METER","T|
000001b0  48 45 20 47 45 4e 45 52  41 54 4f 52 22 2c 22 45  |HE GENERATOR","E|
000001c0  4c 45 43 54 52 49 43 20  43 55 54 4f 46 46 22 2c  |LECTRIC CUTOFF",|
000001d0  22 48 55 4e 47 52 59 20  4d 4f 4e 53 54 45 52 22  |"HUNGRY MONSTER"|
000001e0  0d 00 96 b7 dc 22 44 41  52 4b 20 52 4f 4f 4d 22  |....."DARK ROOM"|
000001f0  2c 22 49 4e 43 55 42 41  54 4f 52 22 2c 22 57 4f  |,"INCUBATOR","WO|
00000200  52 4b 53 48 4f 50 22 2c  22 54 48 45 20 54 4f 57  |RKSHOP","THE TOW|
00000210  45 52 22 2c 22 54 48 45  20 4d 49 4e 45 22 2c 22  |ER","THE MINE","|
00000220  46 52 49 44 47 45 22 2c  22 57 41 54 45 52 20 54  |FRIDGE","WATER T|
00000230  41 4e 4b 53 22 2c 22 54  45 4c 45 50 4f 52 54 22  |ANKS","TELEPORT"|
00000240  2c 22 50 49 52 41 54 45  53 20 48 49 44 45 4f 55  |,"PIRATES HIDEOU|
00000250  54 22 2c 22 54 48 45 20  43 48 41 50 45 4c 22 2c  |T","THE CHAPEL",|
00000260  22 43 4f 4e 54 52 4f 4c  53 22 2c 22 54 45 4d 50  |"CONTROLS","TEMP|
00000270  4c 45 20 4f 46 20 56 45  53 54 41 22 2c 22 47 41  |LE OF VESTA","GA|
00000280  53 20 53 54 4f 52 45 22  2c 22 54 48 45 20 57 45  |S STORE","THE WE|
00000290  4c 4c 22 2c 22 2a 22 0d  00 a0 05 3a 0d 00 aa 2c  |LL","*"....:...,|
000002a0  dc 31 2c 31 2c 30 2c 30  2c 30 2c 30 2c 30 2c 30  |.1,1,0,0,0,0,0,0|
000002b0  2c 31 30 2c 31 36 2c 31  36 2c 31 36 2c 31 37 2c  |,10,16,16,16,17,|
000002c0  31 37 2c 31 30 2c 31 30  0d 00 b4 2b dc 31 2c 31  |17,10,10...+.1,1|
000002d0  2c 30 2c 31 38 2c 30 2c  30 2c 30 2c 32 2c 31 30  |,0,18,0,0,0,2,10|
000002e0  2c 31 36 2c 30 2c 32 30  2c 30 2c 31 31 2c 31 30  |,16,0,20,0,11,10|
000002f0  2c 31 30 0d 00 be 2e dc  31 2c 32 2c 32 2c 32 2c  |,10.....1,2,2,2,|
00000300  31 32 2c 31 39 2c 31 39  2c 32 2c 32 2c 31 35 2c  |12,19,19,2,2,15,|
00000310  31 35 2c 32 30 2c 31 31  2c 31 31 2c 31 31 2c 31  |15,20,11,11,11,1|
00000320  31 0d 00 c8 2c dc 35 2c  33 2c 32 2c 32 2c 32 2c  |1...,.5,3,2,2,2,|
00000330  32 2c 32 2c 32 2c 31 33  2c 31 33 2c 31 34 2c 32  |2,2,2,13,13,14,2|
00000340  30 2c 31 31 2c 31 31 2c  31 31 2c 31 31 0d 00 d2  |0,11,11,11,11...|
00000350  2b dc 34 2c 34 2c 34 2c  34 2c 38 2c 37 2c 39 2c  |+.4,4,4,4,8,7,9,|
00000360  32 2c 31 33 2c 31 33 2c  31 34 2c 32 30 2c 31 31  |2,13,13,14,20,11|
00000370  2c 31 31 2c 36 2c 31 31  0d ff                    |,11,6,11..|
0000037a
Game4.m0
Game4.m1
Game4.m2
Game4.m4
Game4.m5