Home » Personal collection » Acorn ADFS disks » Greaseweazled » dfs_box04_disk01b_adfs_welcome_disk_interleaved.adf » Ship3/Ship/Ship
Ship3/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 » Greaseweazled » dfs_box04_disk01b_adfs_welcome_disk_interleaved.adf |
Filename: | Ship3/Ship/Ship |
Read OK: | ✔ |
File size: | 0735 bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF802B |
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 ShipBM1 100 CALLselect:choice=(?number)+1:*FX15,0 110 ON choice GOTO 120,130,140,150 120 MODE2:VDU23,1,0;0;0;0;:*RUN ShipPRG 130 CHAIN"ShipIN1" 140 CHAIN"ShipCHT" 150 CHAIN"ShipEND" 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 ShipBM1 d' �select:choice=(?number)+1:*FX15,0 n# � choice � �Dx@,�tB@,�tL@,�tV@ x# �2:�23,1,0;0;0;0;:*RUN ShipPRG � �"ShipIN1" � �"ShipCHT" � �"ShipEND" � ��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 12 20 2a 4c 4f 41 44 20 53 68 69 70 42 4d |.Z. *LOAD ShipBM| 00000120 31 0d 00 64 27 20 d6 73 65 6c 65 63 74 3a 63 68 |1..d' .select:ch| 00000130 6f 69 63 65 3d 28 3f 6e 75 6d 62 65 72 29 2b 31 |oice=(?number)+1| 00000140 3a 2a 46 58 31 35 2c 30 0d 00 6e 23 20 ee 20 63 |:*FX15,0..n# . c| 00000150 68 6f 69 63 65 20 e5 20 8d 44 78 40 2c 8d 74 42 |hoice . .Dx@,.tB| 00000160 40 2c 8d 74 4c 40 2c 8d 74 56 40 0d 00 78 23 20 |@,.tL@,.tV@..x# | 00000170 eb 32 3a ef 32 33 2c 31 2c 30 3b 30 3b 30 3b 30 |.2:.23,1,0;0;0;0| 00000180 3b 3a 2a 52 55 4e 20 53 68 69 70 50 52 47 0d 00 |;:*RUN ShipPRG..| 00000190 82 0f 20 d7 22 53 68 69 70 49 4e 31 22 0d 00 8c |.. ."ShipIN1"...| 000001a0 0f 20 d7 22 53 68 69 70 43 48 54 22 0d 00 96 0f |. ."ShipCHT"....| 000001b0 20 d7 22 53 68 69 70 45 4e 44 22 0d 00 a0 0a 20 | ."ShipEND".... | 000001c0 dd f2 61 73 73 0d 00 aa 1e 20 6f 73 77 6f 72 64 |..ass.... osword| 000001d0 3d 26 46 46 46 31 3a 6f 73 62 79 74 65 3d 26 46 |=&FFF1:osbyte=&F| 000001e0 46 46 34 0d 00 b4 14 20 e3 70 61 73 73 3d 30 20 |FF4.... .pass=0 | 000001f0 b8 20 32 20 88 20 32 0d 00 be 17 20 50 25 3d 26 |. 2 . 2.... P%=&| 00000200 32 43 30 30 3a 5b 4f 50 54 20 70 61 73 73 0d 00 |2C00:[OPT pass..| 00000210 c8 6d 20 2e 73 74 61 72 74 20 53 45 49 3a 4c 44 |.m .start SEI:LD| 00000220 41 26 32 30 34 3a 53 54 41 76 65 63 74 6f 72 3a |A&204:STAvector:| 00000230 4c 44 41 26 32 30 35 3a 53 54 41 76 65 63 74 6f |LDA&205:STAvecto| 00000240 72 2b 31 3a 4c 44 41 23 28 69 72 71 20 83 20 32 |r+1:LDA#(irq . 2| 00000250 35 36 29 3a 53 54 41 26 32 30 34 3a 4c 44 41 23 |56):STA&204:LDA#| 00000260 28 69 72 71 20 81 20 32 35 36 29 3a 53 54 41 26 |(irq . 256):STA&| 00000270 32 30 35 3a 43 4c 49 3a 52 54 53 0d 00 d2 3c 20 |205:CLI:RTS...< | 00000280 2e 73 74 6f 70 20 53 45 49 3a 4c 44 41 76 65 63 |.stop SEI:LDAvec| 00000290 74 6f 72 3a 53 54 41 26 32 30 34 3a 4c 44 41 76 |tor:STA&204:LDAv| 000002a0 65 63 74 6f 72 2b 31 3a 53 54 41 26 32 30 35 3a |ector+1:STA&205:| 000002b0 43 4c 49 3a 52 54 53 0d 00 dc 3a 20 2e 69 72 71 |CLI:RTS...: .irq| 000002c0 20 4c 44 41 26 37 45 3a 43 4d 50 26 37 46 3a 42 | LDA&7E:CMP&7F:B| 000002d0 45 51 68 65 6c 70 77 3a 49 4e 43 26 37 46 3a 2e |EQhelpw:INC&7F:.| 000002e0 68 65 6c 70 77 20 4a 4d 50 28 76 65 63 74 6f 72 |helpw JMP(vector| 000002f0 29 0d 00 fa b7 20 2e 73 65 6c 65 63 74 20 4a 53 |).... .select JS| 00000300 52 73 74 61 72 74 3a 4c 44 41 23 30 3a 53 54 41 |Rstart:LDA#0:STA| 00000310 6e 75 6d 62 65 72 3a 53 54 41 62 3a 53 54 41 63 |number:STAb:STAc| 00000320 3a 2e 6d 61 69 6e 6c 6f 6f 70 20 4c 44 41 26 37 |:.mainloop LDA&7| 00000330 46 3a 43 4c 43 3a 41 44 43 23 38 3a 53 54 41 26 |F:CLC:ADC#8:STA&| 00000340 37 45 3a 4c 44 58 23 26 44 36 3a 4a 53 52 6b 65 |7E:LDX#&D6:JSRke| 00000350 79 62 79 74 65 3a 42 43 53 64 6f 77 6e 3a 4c 44 |ybyte:BCSdown:LD| 00000360 58 23 26 43 36 3a 4a 53 52 6b 65 79 62 79 74 65 |X#&C6:JSRkeybyte| 00000370 3a 42 43 53 75 70 3a 4c 44 58 23 26 43 46 3a 4a |:BCSup:LDX#&CF:J| 00000380 53 52 6b 65 79 62 79 74 65 3a 42 43 53 73 31 3a |SRkeybyte:BCSs1:| 00000390 4c 44 58 23 26 43 45 3a 4a 53 52 6b 65 79 62 79 |LDX#&CE:JSRkeyby| 000003a0 74 65 3a 42 43 53 73 32 0d 01 04 59 20 4c 44 58 |te:BCSs2...Y LDX| 000003b0 23 26 45 45 3a 4a 53 52 6b 65 79 62 79 74 65 3a |#&EE:JSRkeybyte:| 000003c0 42 43 53 73 33 3a 4c 44 58 23 26 45 44 3a 4a 53 |BCSs3:LDX#&ED:JS| 000003d0 52 6b 65 79 62 79 74 65 3a 42 43 53 73 34 3a 4c |Rkeybyte:BCSs4:L| 000003e0 44 58 23 26 42 36 3a 4a 53 52 6b 65 79 62 79 74 |DX#&B6:JSRkeybyt| 000003f0 65 3a 42 43 43 77 61 69 74 3a 4a 4d 50 73 74 6f |e:BCCwait:JMPsto| 00000400 70 0d 01 0e 74 20 2e 73 31 20 4c 44 41 23 30 3a |p...t .s1 LDA#0:| 00000410 53 54 41 6e 75 6d 62 65 72 3a 4a 4d 50 73 74 6f |STAnumber:JMPsto| 00000420 70 3a 2e 73 32 20 4c 44 41 23 31 3a 53 54 41 6e |p:.s2 LDA#1:STAn| 00000430 75 6d 62 65 72 3a 4a 4d 50 73 74 6f 70 3a 2e 73 |umber:JMPstop:.s| 00000440 33 20 4c 44 41 23 32 3a 53 54 41 6e 75 6d 62 65 |3 LDA#2:STAnumbe| 00000450 72 3a 4a 4d 50 73 74 6f 70 3a 2e 73 34 20 4c 44 |r:JMPstop:.s4 LD| 00000460 41 23 33 3a 53 54 41 6e 75 6d 62 65 72 3a 4a 4d |A#3:STAnumber:JM| 00000470 50 73 74 6f 70 0d 01 18 2c 20 2e 77 61 69 74 20 |Pstop..., .wait | 00000480 4c 44 41 26 37 45 3a 43 4d 50 26 37 46 3a 42 4e |LDA&7E:CMP&7F:BN| 00000490 45 77 61 69 74 3a 4a 4d 50 6d 61 69 6e 6c 6f 6f |Ewait:JMPmainloo| 000004a0 70 0d 01 22 58 20 2e 75 70 20 4c 44 41 6e 75 6d |p.."X .up LDAnum| 000004b0 62 65 72 3a 42 45 51 6d 61 69 6e 6c 6f 6f 70 3a |ber:BEQmainloop:| 000004c0 4a 53 52 64 72 61 77 3a 44 45 43 6e 75 6d 62 65 |JSRdraw:DECnumbe| 000004d0 72 3a 4a 53 52 64 72 61 77 3a 4c 44 41 26 37 46 |r:JSRdraw:LDA&7F| 000004e0 3a 43 4c 43 3a 41 44 43 23 38 3a 53 54 41 26 37 |:CLC:ADC#8:STA&7| 000004f0 45 3a 4a 4d 50 77 61 69 74 0d 01 2c 74 20 2e 64 |E:JMPwait..,t .d| 00000500 6f 77 6e 20 4c 44 41 6e 75 6d 62 65 72 3a 43 4d |own LDAnumber:CM| 00000510 50 23 33 3a 42 45 51 6d 61 69 6e 6c 70 74 3a 4a |P#3:BEQmainlpt:J| 00000520 53 52 64 72 61 77 3a 49 4e 43 6e 75 6d 62 65 72 |SRdraw:INCnumber| 00000530 3a 4a 53 52 64 72 61 77 3a 4c 44 41 26 37 46 3a |:JSRdraw:LDA&7F:| 00000540 43 4c 43 3a 41 44 43 23 38 3a 53 54 41 26 37 45 |CLC:ADC#8:STA&7E| 00000550 3a 4a 4d 50 77 61 69 74 3a 2e 6d 61 69 6e 6c 70 |:JMPwait:.mainlp| 00000560 74 20 4a 4d 50 6d 61 69 6e 6c 6f 6f 70 0d 01 36 |t JMPmainloop..6| 00000570 8c 20 2e 64 72 61 77 20 4c 44 41 23 26 41 30 3a |. .draw LDA#&A0:| 00000580 53 54 41 26 37 30 3a 4c 44 41 23 26 37 31 3a 53 |STA&70:LDA#&71:S| 00000590 54 41 26 37 31 3a 4c 44 58 6e 75 6d 62 65 72 3a |TA&71:LDXnumber:| 000005a0 2e 64 72 61 77 6c 6f 6f 70 20 43 50 58 23 30 3a |.drawloop CPX#0:| 000005b0 42 45 51 63 6f 6e 74 69 6e 75 65 3a 4c 44 41 26 |BEQcontinue:LDA&| 000005c0 37 30 3a 43 4c 43 3a 41 44 43 23 26 38 30 3a 53 |70:CLC:ADC#&80:S| 000005d0 54 41 26 37 30 3a 4c 44 41 26 37 31 3a 41 44 43 |TA&70:LDA&71:ADC| 000005e0 23 32 3a 53 54 41 26 37 31 3a 44 45 58 3a 4a 4d |#2:STA&71:DEX:JM| 000005f0 50 64 72 61 77 6c 6f 6f 70 0d 01 40 c4 20 2e 63 |Pdrawloop..@. .c| 00000600 6f 6e 74 69 6e 75 65 20 4c 44 41 23 26 32 46 3a |ontinue LDA#&2F:| 00000610 53 54 41 26 37 32 3a 4c 44 41 23 31 3a 53 54 41 |STA&72:LDA#1:STA| 00000620 26 37 33 3a 4c 44 59 23 30 3a 2e 63 6e 74 6c 6f |&73:LDY#0:.cntlo| 00000630 6f 70 20 4c 44 41 28 26 37 30 29 2c 59 3a 82 23 |op LDA(&70),Y:.#| 00000640 26 46 30 3a 53 54 41 28 26 37 30 29 2c 59 3a 4c |&F0:STA(&70),Y:L| 00000650 44 41 26 37 30 3a 43 4c 43 3a 41 44 43 23 31 3a |DA&70:CLC:ADC#1:| 00000660 53 54 41 26 37 30 3a 4c 44 41 26 37 31 3a 41 44 |STA&70:LDA&71:AD| 00000670 43 23 30 3a 53 54 41 26 37 31 3a 4c 44 41 26 37 |C#0:STA&71:LDA&7| 00000680 32 3a 53 45 43 3a 53 42 43 23 31 3a 53 54 41 26 |2:SEC:SBC#1:STA&| 00000690 37 32 3a 4c 44 41 26 37 33 3a 53 42 43 23 30 3a |72:LDA&73:SBC#0:| 000006a0 53 54 41 26 37 33 3a 43 4d 50 23 26 46 46 3a 42 |STA&73:CMP#&FF:B| 000006b0 4e 45 63 6e 74 6c 6f 6f 70 3a 52 54 53 0d 01 4a |NEcntloop:RTS..J| 000006c0 27 20 2e 6b 65 79 62 79 74 65 20 4c 44 41 23 26 |' .keybyte LDA#&| 000006d0 38 31 3a 4c 44 59 23 26 46 46 3a 4a 4d 50 6f 73 |81:LDY#&FF:JMPos| 000006e0 62 79 74 65 0d 01 54 46 20 2e 62 20 45 51 55 42 |byte..TF .b EQUB| 000006f0 30 3a 2e 63 20 45 51 55 42 30 3a 2e 76 65 63 74 |0:.c EQUB0:.vect| 00000700 6f 72 20 45 51 55 57 30 3a 2e 63 6f 6c 6f 75 72 |or EQUW0:.colour| 00000710 20 45 51 55 44 30 3a 45 51 55 42 30 3a 2e 6e 75 | EQUD0:EQUB0:.nu| 00000720 6d 62 65 72 20 45 51 55 42 30 0d 01 5e 09 5d 3a |mber EQUB0..^.]:| 00000730 ed 3a e1 0d ff |.:...| 00000735