Home » Personal collection » Acorn hard disk » misc » misc3 » shipw5/Game4

shipw5/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 hard disk » misc » misc3
Filename: shipw5/Game4
Read OK:
File size: 03A2 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy 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=0TO95:READs:?(d+&56A0)=v%(s):NEXT
  100*SAVE SHIP.Ship/PRG 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:
  165 DATA0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  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�95:�s:?(d+&56A0)=v%(s):�
d!*SAVE SHIP.Ship/PRG 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","*"
�:
�% �0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
�,�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 39 35 3a  f3 73 3a 3f 28 64 2b 26  |.d=0.95:.s:?(d+&|
00000120  35 36 41 30 29 3d 76 25  28 73 29 3a ed 0d 00 64  |56A0)=v%(s):...d|
00000130  21 2a 53 41 56 45 20 53  48 49 50 2e 53 68 69 70  |!*SAVE SHIP.Ship|
00000140  2f 50 52 47 20 31 46 43  43 20 38 30 30 30 0d 00  |/PRG 1FCC 8000..|
00000150  6e 0d 2a 44 49 52 20 53  48 49 50 0d 00 78 0b d7  |n.*DIR SHIP..x..|
00000160  22 53 48 49 50 22 0d 00  82 05 3a 0d 00 8c 78 dc  |"SHIP"....:...x.|
00000170  22 54 48 45 20 48 49 4c  4c 53 49 44 45 22 2c 22  |"THE HILLSIDE","|
00000180  54 48 45 20 53 48 49 50  57 52 45 43 4b 22 2c 22  |THE SHIPWRECK","|
00000190  54 48 45 20 41 4c 49 45  4e 20 42 41 53 45 22 2c  |THE ALIEN BASE",|
000001a0  22 45 4c 45 43 54 52 49  43 20 4d 45 54 45 52 22  |"ELECTRIC METER"|
000001b0  2c 22 54 48 45 20 47 45  4e 45 52 41 54 4f 52 22  |,"THE GENERATOR"|
000001c0  2c 22 45 4c 45 43 54 52  49 43 20 43 55 54 4f 46  |,"ELECTRIC CUTOF|
000001d0  46 22 2c 22 48 55 4e 47  52 59 20 4d 4f 4e 53 54  |F","HUNGRY MONST|
000001e0  45 52 22 0d 00 96 b7 dc  22 44 41 52 4b 20 52 4f  |ER"....."DARK RO|
000001f0  4f 4d 22 2c 22 49 4e 43  55 42 41 54 4f 52 22 2c  |OM","INCUBATOR",|
00000200  22 57 4f 52 4b 53 48 4f  50 22 2c 22 54 48 45 20  |"WORKSHOP","THE |
00000210  54 4f 57 45 52 22 2c 22  54 48 45 20 4d 49 4e 45  |TOWER","THE MINE|
00000220  22 2c 22 46 52 49 44 47  45 22 2c 22 57 41 54 45  |","FRIDGE","WATE|
00000230  52 20 54 41 4e 4b 53 22  2c 22 54 45 4c 45 50 4f  |R TANKS","TELEPO|
00000240  52 54 22 2c 22 50 49 52  41 54 45 53 20 48 49 44  |RT","PIRATES HID|
00000250  45 4f 55 54 22 2c 22 54  48 45 20 43 48 41 50 45  |EOUT","THE CHAPE|
00000260  4c 22 2c 22 43 4f 4e 54  52 4f 4c 53 22 2c 22 54  |L","CONTROLS","T|
00000270  45 4d 50 4c 45 20 4f 46  20 56 45 53 54 41 22 2c  |EMPLE OF VESTA",|
00000280  22 47 41 53 20 53 54 4f  52 45 22 2c 22 54 48 45  |"GAS STORE","THE|
00000290  20 57 45 4c 4c 22 2c 22  2a 22 0d 00 a0 05 3a 0d  | WELL","*"....:.|
000002a0  00 a5 25 20 dc 30 2c 30  2c 30 2c 30 2c 30 2c 30  |..% .0,0,0,0,0,0|
000002b0  2c 30 2c 30 2c 30 2c 30  2c 30 2c 30 2c 30 2c 30  |,0,0,0,0,0,0,0,0|
000002c0  2c 30 2c 30 0d 00 aa 2c  dc 31 2c 31 2c 30 2c 30  |,0,0...,.1,1,0,0|
000002d0  2c 30 2c 30 2c 30 2c 30  2c 31 30 2c 31 36 2c 31  |,0,0,0,0,10,16,1|
000002e0  36 2c 31 36 2c 31 37 2c  31 37 2c 31 30 2c 31 30  |6,16,17,17,10,10|
000002f0  0d 00 b4 2b dc 31 2c 31  2c 30 2c 31 38 2c 30 2c  |...+.1,1,0,18,0,|
00000300  30 2c 30 2c 32 2c 31 30  2c 31 36 2c 30 2c 32 30  |0,0,2,10,16,0,20|
00000310  2c 30 2c 31 31 2c 31 30  2c 31 30 0d 00 be 2e dc  |,0,11,10,10.....|
00000320  31 2c 32 2c 32 2c 32 2c  31 32 2c 31 39 2c 31 39  |1,2,2,2,12,19,19|
00000330  2c 32 2c 32 2c 31 35 2c  31 35 2c 32 30 2c 31 31  |,2,2,15,15,20,11|
00000340  2c 31 31 2c 31 31 2c 31  31 0d 00 c8 2c dc 35 2c  |,11,11,11...,.5,|
00000350  33 2c 32 2c 32 2c 32 2c  32 2c 32 2c 32 2c 31 33  |3,2,2,2,2,2,2,13|
00000360  2c 31 33 2c 31 34 2c 32  30 2c 31 31 2c 31 31 2c  |,13,14,20,11,11,|
00000370  31 31 2c 31 31 0d 00 d2  2b dc 34 2c 34 2c 34 2c  |11,11...+.4,4,4,|
00000380  34 2c 38 2c 37 2c 39 2c  32 2c 31 33 2c 31 33 2c  |4,8,7,9,2,13,13,|
00000390  31 34 2c 32 30 2c 31 31  2c 31 31 2c 36 2c 31 31  |14,20,11,11,6,11|
000003a0  0d ff                                             |..|
000003a2