Home » Personal collection » Acorn ADFS disks » Electron » Shipwrecked_3.ADF » Ship/Ship
Ship/Ship
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_3.ADF |
Filename: | Ship/Ship |
Read OK: | ✔ |
File size: | 072B bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF8023 |
Duplicates
There are 4 duplicate copies of this file in the archive:
- Personal collection » Acorn ADFS disks » Archimedes » Unlabelled_disk_1.ADF » Ship/Ship
- Personal collection » Acorn ADFS disks » Archimedes » Rhythm_Box_11B.ADF » Code/Ship/Ship
- Personal collection » Acorn ADFS disks » Electron » Shipwrecked_3.ADF » Ship/Ship
- Personal collection » Acorn hard disk » misc » misc3 » shipw5/Ship/Ship
- Personal collection » Acorn hard disk » misc » misc3 » shipw6/Ship/Ship
File contents
10 REM Ship Wrecked III: The Last War by Dominic Ford 1997 20 : 30 MODE1:HIMEM=&2C00 40 ENVELOPE1,1,2,1,1,255,1,1,126,0,0,-126,126,126 50 ENVELOPE2,1,-1,10,-1,5,1,5,126,0,0,-126,126,126 60 ENVELOPE3,4,-8,-8,-8,1,1,1,126,0,0,-126,126,126 70 VDU23,1,0;0;0;0;:PROCass 80 VDU19,2,6,0,0,0,0 90 *LOAD Ship/BM1 100 CALLselect:choice=(?number)+1:*FX15,0 110 ON choice GOTO 120,130,140,150 120 MODE2:*RUN Ship/PRG 130 CHAIN"Ship/IN1" 140 CHAIN"Ship/CHT" 150 CHAIN"Ship/END" 160 DEFPROCass 170 osword=&FFF1:osbyte=&FFF4 180 FORpass=0 TO 2 STEP 2 190 P%=&2C00:[OPT pass 200 .start SEI:LDA&204:STAvector:LDA&205:STAvector+1:LDA#(irq MOD 256):STA&204:LDA#(irq DIV 256):STA&205:CLI:RTS 210 .stop SEI:LDAvector:STA&204:LDAvector+1:STA&205:CLI:RTS 220 .irq LDA&7E:CMP&7F:BEQhelpw:INC&7F:.helpw JMP(vector) 250 .select JSRstart:LDA#0:STAnumber:STAb:STAc:.mainloop LDA&7F:CLC:ADC#8:STA&7E:LDX#&D6:JSRkeybyte:BCSdown:LDX#&C6:JSRkeybyte:BCSup:LDX#&CF:JSRkeybyte:BCSs1:LDX#&CE:JSRkeybyte:BCSs2 260 LDX#&EE:JSRkeybyte:BCSs3:LDX#&ED:JSRkeybyte:BCSs4:LDX#&B6:JSRkeybyte:BCCwait:JMPstop 270 .s1 LDA#0:STAnumber:JMPstop:.s2 LDA#1:STAnumber:JMPstop:.s3 LDA#2:STAnumber:JMPstop:.s4 LDA#3:STAnumber:JMPstop 280 .wait LDA&7E:CMP&7F:BNEwait:JMPmainloop 290 .up LDAnumber:BEQmainloop:JSRdraw:DECnumber:JSRdraw:LDA&7F:CLC:ADC#8:STA&7E:JMPwait 300 .down LDAnumber:CMP#3:BEQmainlpt:JSRdraw:INCnumber:JSRdraw:LDA&7F:CLC:ADC#8:STA&7E:JMPwait:.mainlpt JMPmainloop 310 .draw LDA#&A0:STA&70:LDA#&71:STA&71:LDXnumber:.drawloop CPX#0:BEQcontinue:LDA&70:CLC:ADC#&80:STA&70:LDA&71:ADC#2:STA&71:DEX:JMPdrawloop 320 .continue LDA#&2F:STA&72:LDA#1:STA&73:LDY#0:.cntloop LDA(&70),Y:EOR#&F0:STA(&70),Y:LDA&70:CLC:ADC#1:STA&70:LDA&71:ADC#0:STA&71:LDA&72:SEC:SBC#1:STA&72:LDA&73:SBC#0:STA&73:CMP#&FF:BNEcntloop:RTS 330 .keybyte LDA#&81:LDY#&FF:JMPosbyte 340 .b EQUB0:.c EQUB0:.vector EQUW0:.colour EQUD0:EQUB0:.number EQUB0 350]:NEXT:ENDPROC
H � Ship Wrecked III: The Last War by Dominic Ford 1997 : �1:�=&2C00 (, �1,1,2,1,1,255,1,1,126,0,0,-126,126,126 2- �2,1,-1,10,-1,5,1,5,126,0,0,-126,126,126 <- �3,4,-8,-8,-8,1,1,1,126,0,0,-126,126,126 F �23,1,0;0;0;0;:�ass P �19,2,6,0,0,0,0 Z *LOAD Ship/BM1 d' �select:choice=(?number)+1:*FX15,0 n# � choice � �Dx@,�tB@,�tL@,�tV@ x �2:*RUN Ship/PRG � �"Ship/IN1" � �"Ship/CHT" � �"Ship/END" � ��ass � osword=&FFF1:osbyte=&FFF4 � �pass=0 � 2 � 2 � P%=&2C00:[OPT pass �m .start SEI:LDA&204:STAvector:LDA&205:STAvector+1:LDA#(irq � 256):STA&204:LDA#(irq � 256):STA&205:CLI:RTS �< .stop SEI:LDAvector:STA&204:LDAvector+1:STA&205:CLI:RTS �: .irq LDA&7E:CMP&7F:BEQhelpw:INC&7F:.helpw JMP(vector) �� .select JSRstart:LDA#0:STAnumber:STAb:STAc:.mainloop LDA&7F:CLC:ADC#8:STA&7E:LDX#&D6:JSRkeybyte:BCSdown:LDX#&C6:JSRkeybyte:BCSup:LDX#&CF:JSRkeybyte:BCSs1:LDX#&CE:JSRkeybyte:BCSs2 Y LDX#&EE:JSRkeybyte:BCSs3:LDX#&ED:JSRkeybyte:BCSs4:LDX#&B6:JSRkeybyte:BCCwait:JMPstop t .s1 LDA#0:STAnumber:JMPstop:.s2 LDA#1:STAnumber:JMPstop:.s3 LDA#2:STAnumber:JMPstop:.s4 LDA#3:STAnumber:JMPstop , .wait LDA&7E:CMP&7F:BNEwait:JMPmainloop "X .up LDAnumber:BEQmainloop:JSRdraw:DECnumber:JSRdraw:LDA&7F:CLC:ADC#8:STA&7E:JMPwait ,t .down LDAnumber:CMP#3:BEQmainlpt:JSRdraw:INCnumber:JSRdraw:LDA&7F:CLC:ADC#8:STA&7E:JMPwait:.mainlpt JMPmainloop 6� .draw LDA#&A0:STA&70:LDA#&71:STA&71:LDXnumber:.drawloop CPX#0:BEQcontinue:LDA&70:CLC:ADC#&80:STA&70:LDA&71:ADC#2:STA&71:DEX:JMPdrawloop @� .continue LDA#&2F:STA&72:LDA#1:STA&73:LDY#0:.cntloop LDA(&70),Y:�#&F0:STA(&70),Y:LDA&70:CLC:ADC#1:STA&70:LDA&71:ADC#0:STA&71:LDA&72:SEC:SBC#1:STA&72:LDA&73:SBC#0:STA&73:CMP#&FF:BNEcntloop:RTS J' .keybyte LDA#&81:LDY#&FF:JMPosbyte TF .b EQUB0:.c EQUB0:.vector EQUW0:.colour EQUD0:EQUB0:.number EQUB0 ^ ]:�:� �
00000000 0d 00 0a 48 20 f4 20 53 68 69 70 20 57 72 65 63 |...H . Ship Wrec| 00000010 6b 65 64 20 49 49 49 3a 20 54 68 65 20 4c 61 73 |ked III: The Las| 00000020 74 20 57 61 72 20 20 20 20 20 20 20 20 20 20 20 |t War | 00000030 20 20 20 20 62 79 20 44 6f 6d 69 6e 69 63 20 46 | by Dominic F| 00000040 6f 72 64 20 31 39 39 37 0d 00 14 06 20 3a 0d 00 |ord 1997.... :..| 00000050 1e 0f 20 eb 31 3a d3 3d 26 32 43 30 30 0d 00 28 |.. .1:.=&2C00..(| 00000060 2c 20 e2 31 2c 31 2c 32 2c 31 2c 31 2c 32 35 35 |, .1,1,2,1,1,255| 00000070 2c 31 2c 31 2c 31 32 36 2c 30 2c 30 2c 2d 31 32 |,1,1,126,0,0,-12| 00000080 36 2c 31 32 36 2c 31 32 36 0d 00 32 2d 20 e2 32 |6,126,126..2- .2| 00000090 2c 31 2c 2d 31 2c 31 30 2c 2d 31 2c 35 2c 31 2c |,1,-1,10,-1,5,1,| 000000a0 35 2c 31 32 36 2c 30 2c 30 2c 2d 31 32 36 2c 31 |5,126,0,0,-126,1| 000000b0 32 36 2c 31 32 36 0d 00 3c 2d 20 e2 33 2c 34 2c |26,126..<- .3,4,| 000000c0 2d 38 2c 2d 38 2c 2d 38 2c 31 2c 31 2c 31 2c 31 |-8,-8,-8,1,1,1,1| 000000d0 32 36 2c 30 2c 30 2c 2d 31 32 36 2c 31 32 36 2c |26,0,0,-126,126,| 000000e0 31 32 36 0d 00 46 18 20 ef 32 33 2c 31 2c 30 3b |126..F. .23,1,0;| 000000f0 30 3b 30 3b 30 3b 3a f2 61 73 73 0d 00 50 14 20 |0;0;0;:.ass..P. | 00000100 ef 31 39 2c 32 2c 36 2c 30 2c 30 2c 30 2c 30 0d |.19,2,6,0,0,0,0.| 00000110 00 5a 13 20 2a 4c 4f 41 44 20 53 68 69 70 2f 42 |.Z. *LOAD Ship/B| 00000120 4d 31 0d 00 64 27 20 d6 73 65 6c 65 63 74 3a 63 |M1..d' .select:c| 00000130 68 6f 69 63 65 3d 28 3f 6e 75 6d 62 65 72 29 2b |hoice=(?number)+| 00000140 31 3a 2a 46 58 31 35 2c 30 0d 00 6e 23 20 ee 20 |1:*FX15,0..n# . | 00000150 63 68 6f 69 63 65 20 e5 20 8d 44 78 40 2c 8d 74 |choice . .Dx@,.t| 00000160 42 40 2c 8d 74 4c 40 2c 8d 74 56 40 0d 00 78 15 |B@,.tL@,.tV@..x.| 00000170 20 eb 32 3a 2a 52 55 4e 20 53 68 69 70 2f 50 52 | .2:*RUN Ship/PR| 00000180 47 0d 00 82 10 20 d7 22 53 68 69 70 2f 49 4e 31 |G.... ."Ship/IN1| 00000190 22 0d 00 8c 10 20 d7 22 53 68 69 70 2f 43 48 54 |".... ."Ship/CHT| 000001a0 22 0d 00 96 10 20 d7 22 53 68 69 70 2f 45 4e 44 |".... ."Ship/END| 000001b0 22 0d 00 a0 0a 20 dd f2 61 73 73 0d 00 aa 1e 20 |".... ..ass.... | 000001c0 6f 73 77 6f 72 64 3d 26 46 46 46 31 3a 6f 73 62 |osword=&FFF1:osb| 000001d0 79 74 65 3d 26 46 46 46 34 0d 00 b4 14 20 e3 70 |yte=&FFF4.... .p| 000001e0 61 73 73 3d 30 20 b8 20 32 20 88 20 32 0d 00 be |ass=0 . 2 . 2...| 000001f0 17 20 50 25 3d 26 32 43 30 30 3a 5b 4f 50 54 20 |. P%=&2C00:[OPT | 00000200 70 61 73 73 0d 00 c8 6d 20 2e 73 74 61 72 74 20 |pass...m .start | 00000210 53 45 49 3a 4c 44 41 26 32 30 34 3a 53 54 41 76 |SEI:LDA&204:STAv| 00000220 65 63 74 6f 72 3a 4c 44 41 26 32 30 35 3a 53 54 |ector:LDA&205:ST| 00000230 41 76 65 63 74 6f 72 2b 31 3a 4c 44 41 23 28 69 |Avector+1:LDA#(i| 00000240 72 71 20 83 20 32 35 36 29 3a 53 54 41 26 32 30 |rq . 256):STA&20| 00000250 34 3a 4c 44 41 23 28 69 72 71 20 81 20 32 35 36 |4:LDA#(irq . 256| 00000260 29 3a 53 54 41 26 32 30 35 3a 43 4c 49 3a 52 54 |):STA&205:CLI:RT| 00000270 53 0d 00 d2 3c 20 2e 73 74 6f 70 20 53 45 49 3a |S...< .stop SEI:| 00000280 4c 44 41 76 65 63 74 6f 72 3a 53 54 41 26 32 30 |LDAvector:STA&20| 00000290 34 3a 4c 44 41 76 65 63 74 6f 72 2b 31 3a 53 54 |4:LDAvector+1:ST| 000002a0 41 26 32 30 35 3a 43 4c 49 3a 52 54 53 0d 00 dc |A&205:CLI:RTS...| 000002b0 3a 20 2e 69 72 71 20 4c 44 41 26 37 45 3a 43 4d |: .irq LDA&7E:CM| 000002c0 50 26 37 46 3a 42 45 51 68 65 6c 70 77 3a 49 4e |P&7F:BEQhelpw:IN| 000002d0 43 26 37 46 3a 2e 68 65 6c 70 77 20 4a 4d 50 28 |C&7F:.helpw JMP(| 000002e0 76 65 63 74 6f 72 29 0d 00 fa b7 20 2e 73 65 6c |vector).... .sel| 000002f0 65 63 74 20 4a 53 52 73 74 61 72 74 3a 4c 44 41 |ect JSRstart:LDA| 00000300 23 30 3a 53 54 41 6e 75 6d 62 65 72 3a 53 54 41 |#0:STAnumber:STA| 00000310 62 3a 53 54 41 63 3a 2e 6d 61 69 6e 6c 6f 6f 70 |b:STAc:.mainloop| 00000320 20 4c 44 41 26 37 46 3a 43 4c 43 3a 41 44 43 23 | LDA&7F:CLC:ADC#| 00000330 38 3a 53 54 41 26 37 45 3a 4c 44 58 23 26 44 36 |8:STA&7E:LDX#&D6| 00000340 3a 4a 53 52 6b 65 79 62 79 74 65 3a 42 43 53 64 |:JSRkeybyte:BCSd| 00000350 6f 77 6e 3a 4c 44 58 23 26 43 36 3a 4a 53 52 6b |own:LDX#&C6:JSRk| 00000360 65 79 62 79 74 65 3a 42 43 53 75 70 3a 4c 44 58 |eybyte:BCSup:LDX| 00000370 23 26 43 46 3a 4a 53 52 6b 65 79 62 79 74 65 3a |#&CF:JSRkeybyte:| 00000380 42 43 53 73 31 3a 4c 44 58 23 26 43 45 3a 4a 53 |BCSs1:LDX#&CE:JS| 00000390 52 6b 65 79 62 79 74 65 3a 42 43 53 73 32 0d 01 |Rkeybyte:BCSs2..| 000003a0 04 59 20 4c 44 58 23 26 45 45 3a 4a 53 52 6b 65 |.Y LDX#&EE:JSRke| 000003b0 79 62 79 74 65 3a 42 43 53 73 33 3a 4c 44 58 23 |ybyte:BCSs3:LDX#| 000003c0 26 45 44 3a 4a 53 52 6b 65 79 62 79 74 65 3a 42 |&ED:JSRkeybyte:B| 000003d0 43 53 73 34 3a 4c 44 58 23 26 42 36 3a 4a 53 52 |CSs4:LDX#&B6:JSR| 000003e0 6b 65 79 62 79 74 65 3a 42 43 43 77 61 69 74 3a |keybyte:BCCwait:| 000003f0 4a 4d 50 73 74 6f 70 0d 01 0e 74 20 2e 73 31 20 |JMPstop...t .s1 | 00000400 4c 44 41 23 30 3a 53 54 41 6e 75 6d 62 65 72 3a |LDA#0:STAnumber:| 00000410 4a 4d 50 73 74 6f 70 3a 2e 73 32 20 4c 44 41 23 |JMPstop:.s2 LDA#| 00000420 31 3a 53 54 41 6e 75 6d 62 65 72 3a 4a 4d 50 73 |1:STAnumber:JMPs| 00000430 74 6f 70 3a 2e 73 33 20 4c 44 41 23 32 3a 53 54 |top:.s3 LDA#2:ST| 00000440 41 6e 75 6d 62 65 72 3a 4a 4d 50 73 74 6f 70 3a |Anumber:JMPstop:| 00000450 2e 73 34 20 4c 44 41 23 33 3a 53 54 41 6e 75 6d |.s4 LDA#3:STAnum| 00000460 62 65 72 3a 4a 4d 50 73 74 6f 70 0d 01 18 2c 20 |ber:JMPstop..., | 00000470 2e 77 61 69 74 20 4c 44 41 26 37 45 3a 43 4d 50 |.wait LDA&7E:CMP| 00000480 26 37 46 3a 42 4e 45 77 61 69 74 3a 4a 4d 50 6d |&7F:BNEwait:JMPm| 00000490 61 69 6e 6c 6f 6f 70 0d 01 22 58 20 2e 75 70 20 |ainloop.."X .up | 000004a0 4c 44 41 6e 75 6d 62 65 72 3a 42 45 51 6d 61 69 |LDAnumber:BEQmai| 000004b0 6e 6c 6f 6f 70 3a 4a 53 52 64 72 61 77 3a 44 45 |nloop:JSRdraw:DE| 000004c0 43 6e 75 6d 62 65 72 3a 4a 53 52 64 72 61 77 3a |Cnumber:JSRdraw:| 000004d0 4c 44 41 26 37 46 3a 43 4c 43 3a 41 44 43 23 38 |LDA&7F:CLC:ADC#8| 000004e0 3a 53 54 41 26 37 45 3a 4a 4d 50 77 61 69 74 0d |:STA&7E:JMPwait.| 000004f0 01 2c 74 20 2e 64 6f 77 6e 20 4c 44 41 6e 75 6d |.,t .down LDAnum| 00000500 62 65 72 3a 43 4d 50 23 33 3a 42 45 51 6d 61 69 |ber:CMP#3:BEQmai| 00000510 6e 6c 70 74 3a 4a 53 52 64 72 61 77 3a 49 4e 43 |nlpt:JSRdraw:INC| 00000520 6e 75 6d 62 65 72 3a 4a 53 52 64 72 61 77 3a 4c |number:JSRdraw:L| 00000530 44 41 26 37 46 3a 43 4c 43 3a 41 44 43 23 38 3a |DA&7F:CLC:ADC#8:| 00000540 53 54 41 26 37 45 3a 4a 4d 50 77 61 69 74 3a 2e |STA&7E:JMPwait:.| 00000550 6d 61 69 6e 6c 70 74 20 4a 4d 50 6d 61 69 6e 6c |mainlpt JMPmainl| 00000560 6f 6f 70 0d 01 36 8c 20 2e 64 72 61 77 20 4c 44 |oop..6. .draw LD| 00000570 41 23 26 41 30 3a 53 54 41 26 37 30 3a 4c 44 41 |A#&A0:STA&70:LDA| 00000580 23 26 37 31 3a 53 54 41 26 37 31 3a 4c 44 58 6e |#&71:STA&71:LDXn| 00000590 75 6d 62 65 72 3a 2e 64 72 61 77 6c 6f 6f 70 20 |umber:.drawloop | 000005a0 43 50 58 23 30 3a 42 45 51 63 6f 6e 74 69 6e 75 |CPX#0:BEQcontinu| 000005b0 65 3a 4c 44 41 26 37 30 3a 43 4c 43 3a 41 44 43 |e:LDA&70:CLC:ADC| 000005c0 23 26 38 30 3a 53 54 41 26 37 30 3a 4c 44 41 26 |#&80:STA&70:LDA&| 000005d0 37 31 3a 41 44 43 23 32 3a 53 54 41 26 37 31 3a |71:ADC#2:STA&71:| 000005e0 44 45 58 3a 4a 4d 50 64 72 61 77 6c 6f 6f 70 0d |DEX:JMPdrawloop.| 000005f0 01 40 c4 20 2e 63 6f 6e 74 69 6e 75 65 20 4c 44 |.@. .continue LD| 00000600 41 23 26 32 46 3a 53 54 41 26 37 32 3a 4c 44 41 |A#&2F:STA&72:LDA| 00000610 23 31 3a 53 54 41 26 37 33 3a 4c 44 59 23 30 3a |#1:STA&73:LDY#0:| 00000620 2e 63 6e 74 6c 6f 6f 70 20 4c 44 41 28 26 37 30 |.cntloop LDA(&70| 00000630 29 2c 59 3a 82 23 26 46 30 3a 53 54 41 28 26 37 |),Y:.#&F0:STA(&7| 00000640 30 29 2c 59 3a 4c 44 41 26 37 30 3a 43 4c 43 3a |0),Y:LDA&70:CLC:| 00000650 41 44 43 23 31 3a 53 54 41 26 37 30 3a 4c 44 41 |ADC#1:STA&70:LDA| 00000660 26 37 31 3a 41 44 43 23 30 3a 53 54 41 26 37 31 |&71:ADC#0:STA&71| 00000670 3a 4c 44 41 26 37 32 3a 53 45 43 3a 53 42 43 23 |:LDA&72:SEC:SBC#| 00000680 31 3a 53 54 41 26 37 32 3a 4c 44 41 26 37 33 3a |1:STA&72:LDA&73:| 00000690 53 42 43 23 30 3a 53 54 41 26 37 33 3a 43 4d 50 |SBC#0:STA&73:CMP| 000006a0 23 26 46 46 3a 42 4e 45 63 6e 74 6c 6f 6f 70 3a |#&FF:BNEcntloop:| 000006b0 52 54 53 0d 01 4a 27 20 2e 6b 65 79 62 79 74 65 |RTS..J' .keybyte| 000006c0 20 4c 44 41 23 26 38 31 3a 4c 44 59 23 26 46 46 | LDA#&81:LDY#&FF| 000006d0 3a 4a 4d 50 6f 73 62 79 74 65 0d 01 54 46 20 2e |:JMPosbyte..TF .| 000006e0 62 20 45 51 55 42 30 3a 2e 63 20 45 51 55 42 30 |b EQUB0:.c EQUB0| 000006f0 3a 2e 76 65 63 74 6f 72 20 45 51 55 57 30 3a 2e |:.vector EQUW0:.| 00000700 63 6f 6c 6f 75 72 20 45 51 55 44 30 3a 45 51 55 |colour EQUD0:EQU| 00000710 42 30 3a 2e 6e 75 6d 62 65 72 20 45 51 55 42 30 |B0:.number EQUB0| 00000720 0d 01 5e 09 5d 3a ed 3a e1 0d ff |..^.]:.:...| 0000072b