Home » Personal collection » Acorn ADFS disks » Electron » Play_it_again_Sam_1_2.ADF » Sam1/Citadel/Citadel-C
Sam1/Citadel/Citadel-C
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 » Play_it_again_Sam_1_2.ADF |
Filename: | Sam1/Citadel/Citadel-C |
Read OK: | ✔ |
File size: | 051F bytes |
Load address: | 1900 |
Exec address: | 1900 |
Duplicates
There are 2 duplicate copies of this file in the archive:
- Personal collection » Acorn ADFS disks » Electron » Play_it_again_Sam_1_2.ADF » Sam1/Citadel/Citadel-C
- Personal collection » Acorn hard disk » zipped_disks » elk07 » sam1_2/Sam1/Citadel/Citadel-C
- Personal collection » Acorn tapes » Commercial_Releases » box03_tape10a_acorn_cheat_it_again_joe_1.wav » Citadel-C
File contents
10REM Citadel cheat 11REM Play it Again Sam version 20REM Electron tape version 30MODE1:VDU19,3,6,0,0,0,23,230,0,&FF,0,&FF,0,0,0,0,17,1:PRINT'"Citadel cheat":COLOUR2:PRINT"�������������"':PROCmc1 40PROCmc:PROCask("Immortal",immortal) 50PROCask("Open all doors",doors) 60PRINT:PROCa("`OK@ - `Insert @Citadel` tape and press play ..."):VDU7,13,10,10,17,2,21 70P%=&880:[OPT0:LDA&3CA:AND#254:STA&3CA:RTS:] 80?&220=&80:?&221=8:*FX14,4 90*K.1 LOAD"CITADEL"|F|M8300CALL&1100|MRUN|M 100*FX138,0,129 110END 120DEFPROCask(A$,A%) 130PROCa("`"+A$+STRING$(25-LENA$," ")+"@(Y/N)` : @"):A$=GET$:IF A$="Y" THEN PRINT;"Yes" ELSE PRINT;"No":?A%=&60 140ENDPROC 150DEFPROCa($&1600) 160CALL&1700:ENDPROC 170DEFPROCmc1 180FORI%=0TO2 STEP2 190P%=&1700 200[OPTI% 210LDY#0:.loop2 220LDA&1600,Y 230CMP#13:BEQend 240CMP#ASC"@":BEQcolour1 250CMP#ASC"`":BEQcolour2 260JSR&FFEE 270.backin 280INY:CPY#0:BNEloop2 290.end 300RTS 310.colour1 LDA#2:JMPchange 320.colour2 LDA#3 330.change TAX:LDA#17:JSR&FFEE 340 TXA:JSR&FFEE 350 JMPbackin 360] 370NEXT 380ENDPROC 390DEFPROCmc 400FORI%=0TO2 STEP2 410P%=&1100 420[OPTI% 430LDY#cal DIV 256:LDX#cal MOD 256 440JSR&FFF7 450LDA#&0D:LDX#4:JSR&FFF4 460LDA#&20:STA&54A0 470LDA#install MOD 256:STA&54A1 480LDA#install DIV 256:STA&54A2 490JMP&5436 500.install 510JSRdoors 520JSRimmortal 530RTS 540.doors LDA#&EA:STA&4843:STA&4844:STA&4845:RTS 550.immortal LDA#&60:STA&3F5E:RTS 570.cal EQUS"LOAD CITAL"+CHR$13 580]:NEXT 590ENDPROC
� Citadel cheat � Play it Again Sam version � Electron tape version `�1:�19,3,6,0,0,0,23,230,0,&FF,0,&FF,0,0,0,0,17,1:�'"Citadel cheat":�2:�"�������������"':�mc1 (!�mc:�ask("Immortal",immortal) 2 �ask("Open all doors",doors) <Z�:�a("`OK@ - `Insert @Citadel` tape and press play ..."):�7,13,10,10,17,2,21 F-P%=&880:[OPT0:LDA&3CA:�#254:STA&3CA:RTS:] P?&220=&80:?&221=8:*FX14,4 Z.*K.1 LOAD"CITADEL"|F|M8300CALL&1100|MRUN|M d*FX138,0,129 n� x��ask(A$,A%) �R�a("`"+A$+�25-�A$," ")+"@(Y/N)` : @"):A$=�:� A$="Y" � �;"Yes" � �;"No":?A%=&60 �� ���a($&1600) ��&1700:� � ��mc1 ��I%=0�2 �2 �P%=&1700 � [OPTI% �LDY#0:.loop2 �LDA&1600,Y �CMP#13:BEQend �CMP#�"@":BEQcolour1 �CMP#�"`":BEQcolour2 JSR&FFEE .backin INY:CPY#0:BNEloop2 ".end ,RTS 6.colour1 LDA#2:JMPchange @.colour2 LDA#3 J.change TAX:LDA#17:JSR&FFEE T TXA:JSR&FFEE ^ JMPbackin h] r� |� ���mc ��I%=0�2 �2 �P%=&1100 � [OPTI% �LDY#cal � 256:LDX#cal � 256 �JSR&FFF7 �LDA#&0D:LDX#4:JSR&FFF4 �LDA#&20:STA&54A0 �LDA#install � 256:STA&54A1 �LDA#install � 256:STA&54A2 �JMP&5436 �.install �JSRdoors JSRimmortal RTS 1.doors LDA#&EA:STA&4843:STA&4844:STA&4845:RTS &".immortal LDA#&60:STA&3F5E:RTS :.cal EQUS"LOAD CITAL"+�13 D]:� N� �
00000000 0d 00 0a 13 f4 20 43 69 74 61 64 65 6c 20 63 68 |..... Citadel ch| 00000010 65 61 74 0d 00 0b 1f f4 20 50 6c 61 79 20 69 74 |eat..... Play it| 00000020 20 41 67 61 69 6e 20 53 61 6d 20 76 65 72 73 69 | Again Sam versi| 00000030 6f 6e 0d 00 14 1b f4 20 45 6c 65 63 74 72 6f 6e |on..... Electron| 00000040 20 74 61 70 65 20 76 65 72 73 69 6f 6e 0d 00 1e | tape version...| 00000050 60 eb 31 3a ef 31 39 2c 33 2c 36 2c 30 2c 30 2c |`.1:.19,3,6,0,0,| 00000060 30 2c 32 33 2c 32 33 30 2c 30 2c 26 46 46 2c 30 |0,23,230,0,&FF,0| 00000070 2c 26 46 46 2c 30 2c 30 2c 30 2c 30 2c 31 37 2c |,&FF,0,0,0,0,17,| 00000080 31 3a f1 27 22 43 69 74 61 64 65 6c 20 63 68 65 |1:.'"Citadel che| 00000090 61 74 22 3a fb 32 3a f1 22 86 86 86 86 86 86 86 |at":.2:.".......| 000000a0 86 86 86 86 86 86 22 27 3a f2 6d 63 31 0d 00 28 |......"':.mc1..(| 000000b0 21 f2 6d 63 3a f2 61 73 6b 28 22 49 6d 6d 6f 72 |!.mc:.ask("Immor| 000000c0 74 61 6c 22 2c 69 6d 6d 6f 72 74 61 6c 29 0d 00 |tal",immortal)..| 000000d0 32 20 f2 61 73 6b 28 22 4f 70 65 6e 20 61 6c 6c |2 .ask("Open all| 000000e0 20 64 6f 6f 72 73 22 2c 64 6f 6f 72 73 29 0d 00 | doors",doors)..| 000000f0 3c 5a f1 3a f2 61 28 22 60 4f 4b 40 20 2d 20 60 |<Z.:.a("`OK@ - `| 00000100 49 6e 73 65 72 74 20 40 43 69 74 61 64 65 6c 60 |Insert @Citadel`| 00000110 20 74 61 70 65 20 61 6e 64 20 70 72 65 73 73 20 | tape and press | 00000120 20 20 20 20 20 20 20 20 20 20 70 6c 61 79 20 2e | play .| 00000130 2e 2e 22 29 3a ef 37 2c 31 33 2c 31 30 2c 31 30 |.."):.7,13,10,10| 00000140 2c 31 37 2c 32 2c 32 31 0d 00 46 2d 50 25 3d 26 |,17,2,21..F-P%=&| 00000150 38 38 30 3a 5b 4f 50 54 30 3a 4c 44 41 26 33 43 |880:[OPT0:LDA&3C| 00000160 41 3a 80 23 32 35 34 3a 53 54 41 26 33 43 41 3a |A:.#254:STA&3CA:| 00000170 52 54 53 3a 5d 0d 00 50 1d 3f 26 32 32 30 3d 26 |RTS:]..P.?&220=&| 00000180 38 30 3a 3f 26 32 32 31 3d 38 3a 2a 46 58 31 34 |80:?&221=8:*FX14| 00000190 2c 34 0d 00 5a 2e 2a 4b 2e 31 20 4c 4f 41 44 22 |,4..Z.*K.1 LOAD"| 000001a0 43 49 54 41 44 45 4c 22 7c 46 7c 4d 38 33 30 30 |CITADEL"|F|M8300| 000001b0 43 41 4c 4c 26 31 31 30 30 7c 4d 52 55 4e 7c 4d |CALL&1100|MRUN|M| 000001c0 0d 00 64 10 2a 46 58 31 33 38 2c 30 2c 31 32 39 |..d.*FX138,0,129| 000001d0 0d 00 6e 05 e0 0d 00 78 10 dd f2 61 73 6b 28 41 |..n....x...ask(A| 000001e0 24 2c 41 25 29 0d 00 82 52 f2 61 28 22 60 22 2b |$,A%)...R.a("`"+| 000001f0 41 24 2b c4 32 35 2d a9 41 24 2c 22 20 22 29 2b |A$+.25-.A$," ")+| 00000200 22 40 28 59 2f 4e 29 60 20 3a 20 40 22 29 3a 41 |"@(Y/N)` : @"):A| 00000210 24 3d be 3a e7 20 41 24 3d 22 59 22 20 8c 20 f1 |$=.:. A$="Y" . .| 00000220 3b 22 59 65 73 22 20 8b 20 f1 3b 22 4e 6f 22 3a |;"Yes" . .;"No":| 00000230 3f 41 25 3d 26 36 30 0d 00 8c 05 e1 0d 00 96 0f |?A%=&60.........| 00000240 dd f2 61 28 24 26 31 36 30 30 29 0d 00 a0 0c d6 |..a($&1600).....| 00000250 26 31 37 30 30 3a e1 0d 00 aa 09 dd f2 6d 63 31 |&1700:.......mc1| 00000260 0d 00 b4 0e e3 49 25 3d 30 b8 32 20 88 32 0d 00 |.....I%=0.2 .2..| 00000270 be 0c 50 25 3d 26 31 37 30 30 0d 00 c8 0a 5b 4f |..P%=&1700....[O| 00000280 50 54 49 25 0d 00 d2 10 4c 44 59 23 30 3a 2e 6c |PTI%....LDY#0:.l| 00000290 6f 6f 70 32 0d 00 dc 0e 4c 44 41 26 31 36 30 30 |oop2....LDA&1600| 000002a0 2c 59 0d 00 e6 11 43 4d 50 23 31 33 3a 42 45 51 |,Y....CMP#13:BEQ| 000002b0 65 6e 64 0d 00 f0 17 43 4d 50 23 97 22 40 22 3a |end....CMP#."@":| 000002c0 42 45 51 63 6f 6c 6f 75 72 31 0d 00 fa 17 43 4d |BEQcolour1....CM| 000002d0 50 23 97 22 60 22 3a 42 45 51 63 6f 6c 6f 75 72 |P#."`":BEQcolour| 000002e0 32 0d 01 04 0c 4a 53 52 26 46 46 45 45 0d 01 0e |2....JSR&FFEE...| 000002f0 0b 2e 62 61 63 6b 69 6e 0d 01 18 16 49 4e 59 3a |..backin....INY:| 00000300 43 50 59 23 30 3a 42 4e 45 6c 6f 6f 70 32 0d 01 |CPY#0:BNEloop2..| 00000310 22 08 2e 65 6e 64 0d 01 2c 07 52 54 53 0d 01 36 |"..end..,.RTS..6| 00000320 1c 2e 63 6f 6c 6f 75 72 31 20 4c 44 41 23 32 3a |..colour1 LDA#2:| 00000330 4a 4d 50 63 68 61 6e 67 65 0d 01 40 12 2e 63 6f |JMPchange..@..co| 00000340 6c 6f 75 72 32 20 4c 44 41 23 33 0d 01 4a 1f 2e |lour2 LDA#3..J..| 00000350 63 68 61 6e 67 65 20 54 41 58 3a 4c 44 41 23 31 |change TAX:LDA#1| 00000360 37 3a 4a 53 52 26 46 46 45 45 0d 01 54 18 20 20 |7:JSR&FFEE..T. | 00000370 20 20 20 20 20 20 54 58 41 3a 4a 53 52 26 46 46 | TXA:JSR&FF| 00000380 45 45 0d 01 5e 15 20 20 20 20 20 20 20 20 4a 4d |EE..^. JM| 00000390 50 62 61 63 6b 69 6e 0d 01 68 05 5d 0d 01 72 05 |Pbackin..h.]..r.| 000003a0 ed 0d 01 7c 05 e1 0d 01 86 08 dd f2 6d 63 0d 01 |...|........mc..| 000003b0 90 0e e3 49 25 3d 30 b8 32 20 88 32 0d 01 9a 0c |...I%=0.2 .2....| 000003c0 50 25 3d 26 31 31 30 30 0d 01 a4 0a 5b 4f 50 54 |P%=&1100....[OPT| 000003d0 49 25 0d 01 ae 1f 4c 44 59 23 63 61 6c 20 81 20 |I%....LDY#cal . | 000003e0 32 35 36 3a 4c 44 58 23 63 61 6c 20 83 20 32 35 |256:LDX#cal . 25| 000003f0 36 0d 01 b8 0c 4a 53 52 26 46 46 46 37 0d 01 c2 |6....JSR&FFF7...| 00000400 1a 4c 44 41 23 26 30 44 3a 4c 44 58 23 34 3a 4a |.LDA#&0D:LDX#4:J| 00000410 53 52 26 46 46 46 34 0d 01 cc 14 4c 44 41 23 26 |SR&FFF4....LDA#&| 00000420 32 30 3a 53 54 41 26 35 34 41 30 0d 01 d6 1e 4c |20:STA&54A0....L| 00000430 44 41 23 69 6e 73 74 61 6c 6c 20 83 20 32 35 36 |DA#install . 256| 00000440 3a 53 54 41 26 35 34 41 31 0d 01 e0 1e 4c 44 41 |:STA&54A1....LDA| 00000450 23 69 6e 73 74 61 6c 6c 20 81 20 32 35 36 3a 53 |#install . 256:S| 00000460 54 41 26 35 34 41 32 0d 01 ea 0c 4a 4d 50 26 35 |TA&54A2....JMP&5| 00000470 34 33 36 0d 01 f4 0c 2e 69 6e 73 74 61 6c 6c 0d |436.....install.| 00000480 01 fe 0c 4a 53 52 64 6f 6f 72 73 0d 02 08 0f 4a |...JSRdoors....J| 00000490 53 52 69 6d 6d 6f 72 74 61 6c 0d 02 12 07 52 54 |SRimmortal....RT| 000004a0 53 0d 02 1c 31 2e 64 6f 6f 72 73 20 4c 44 41 23 |S...1.doors LDA#| 000004b0 26 45 41 3a 53 54 41 26 34 38 34 33 3a 53 54 41 |&EA:STA&4843:STA| 000004c0 26 34 38 34 34 3a 53 54 41 26 34 38 34 35 3a 52 |&4844:STA&4845:R| 000004d0 54 53 0d 02 26 22 2e 69 6d 6d 6f 72 74 61 6c 20 |TS..&".immortal | 000004e0 4c 44 41 23 26 36 30 3a 53 54 41 26 33 46 35 45 |LDA#&60:STA&3F5E| 000004f0 3a 52 54 53 0d 02 3a 1d 2e 63 61 6c 20 45 51 55 |:RTS..:..cal EQU| 00000500 53 22 4c 4f 41 44 20 43 49 54 41 4c 22 2b bd 31 |S"LOAD CITAL"+.1| 00000510 33 0d 02 44 07 5d 3a ed 0d 02 4e 05 e1 0d ff |3..D.]:...N....| 0000051f