Home » Personal collection » Acorn tapes » Commercial_Releases » box03_tape10a_acorn_cheat_it_again_joe_1.wav » Citadel-O
Citadel-O
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 tapes » Commercial_Releases » box03_tape10a_acorn_cheat_it_again_joe_1.wav |
Filename: | Citadel-O |
Read OK: | ✔ |
File size: | 05AE bytes |
Load address: | 1900 |
Exec address: | 1900 |
File contents
10REM Citadel cheat 20REM Original version 30REM Electron tape version 40MODE1:VDU19,3,6,0,0,0,23,230,0,&FF,0,&FF,0,0,0,0,17,1:PRINT'"Citadel cheat":COLOUR2:PRINT"�������������"':PROCmc1 50PROCmc:PROCask("Immortal",immortal) 60PROCask("Open all doors",doors) 70PRINT:PROCa("`OK@ - `Insert @Citadel` tape and press play ..."):VDU7,13,10,10,17,2,21 80P%=&880:[OPT0:LDA&3CA:AND#254:STA&3CA:RTS:] 90?&220=&80:?&221=8:*FX14,4 100*K.1 LOAD"CITADEL"|F|M8300CALL&1100|MRUN|M 110*FX138,0,129 120END 130DEFPROCask(A$,A%) 140PROCa("`"+A$+STRING$(25-LENA$," ")+"@(Y/N)` : @"):A$=GET$:IF A$="Y" THEN PRINT;"Yes" ELSE PRINT;"No":?A%=&60 150ENDPROC 160DEFPROCa($&1600) 170CALL&1700:ENDPROC 180DEFPROCmc1 190FORI%=0TO2 STEP2 200P%=&1700 210[OPTI% 220LDY#0:.loop2 230LDA&1600,Y 240CMP#13:BEQend 250CMP#ASC"@":BEQcolour1 260CMP#ASC"`":BEQcolour2 270JSR&FFEE 280.backin 290INY:CPY#0:BNEloop2 300.end 310RTS 320.colour1 LDA#2:JMPchange 330.colour2 LDA#3 340.change TAX:LDA#17:JSR&FFEE 350 TXA:JSR&FFEE 360 JMPbackin 370] 380NEXT 390ENDPROC 400DEFPROCmc 410FORI%=0TO2 STEP2 420P%=&1100 430[OPTI% 440LDY#cal DIV 256:LDX#cal MOD 256 450JSR&FFF7 460LDA#&0D:LDX#4:JSR&FFF4 470LDA#&20:STA&5577 480LDA#&50:STA&5578 490LDA#&57:STA&5579 500LDA#&EA:STA&557A:STA&557B 510LDY#0:.loop LDAinstall,Y:STA&5750,Y 520INY:CPY#&60:BNEloop 530JMP&5436 540]:P%=&1150:[OPTI% 550.install 560.byte1 JSRdoors 570.byte2 JSRimmortal 580LDA#&30:STA&34E 590RTS 600.doors LDA#&EA:STA&3943:STA&3944:STA&3945:RTS 610.immortal LDA#&60:STA&305E:RTS 630.cal EQUS"LOAD CITAL"+CHR$13 640]:NEXT 650byte1?2=&57:byte2?2=&57 660ENDPROC
� Citadel cheat � Original 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 2!�mc:�ask("Immortal",immortal) < �ask("Open all doors",doors) FZ�:�a("`OK@ - `Insert @Citadel` tape and press play ..."):�7,13,10,10,17,2,21 P-P%=&880:[OPT0:LDA&3CA:�#254:STA&3CA:RTS:] Z?&220=&80:?&221=8:*FX14,4 d.*K.1 LOAD"CITADEL"|F|M8300CALL&1100|MRUN|M n*FX138,0,129 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 6RTS @.colour1 LDA#2:JMPchange J.colour2 LDA#3 T.change TAX:LDA#17:JSR&FFEE ^ TXA:JSR&FFEE h JMPbackin 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&5577 �LDA#&50:STA&5578 �LDA#&57:STA&5579 �LDA#&EA:STA&557A:STA&557B �'LDY#0:.loop LDAinstall,Y:STA&5750,Y INY:CPY#&60:BNEloop JMP&5436 ]:P%=&1150:[OPTI% &.install 0.byte1 JSRdoors :.byte2 JSRimmortal DLDA#&30:STA&34E NRTS X1.doors LDA#&EA:STA&3943:STA&3944:STA&3945:RTS b".immortal LDA#&60:STA&305E:RTS v.cal EQUS"LOAD CITAL"+�13 �]:� �byte1?2=&57:byte2?2=&57 �� �
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 14 16 f4 20 4f 72 69 67 69 6e 61 |eat..... Origina| 00000020 6c 20 76 65 72 73 69 6f 6e 0d 00 1e 1b f4 20 45 |l version..... E| 00000030 6c 65 63 74 72 6f 6e 20 74 61 70 65 20 76 65 72 |lectron tape ver| 00000040 73 69 6f 6e 0d 00 28 60 eb 31 3a ef 31 39 2c 33 |sion..(`.1:.19,3| 00000050 2c 36 2c 30 2c 30 2c 30 2c 32 33 2c 32 33 30 2c |,6,0,0,0,23,230,| 00000060 30 2c 26 46 46 2c 30 2c 26 46 46 2c 30 2c 30 2c |0,&FF,0,&FF,0,0,| 00000070 30 2c 30 2c 31 37 2c 31 3a f1 27 22 43 69 74 61 |0,0,17,1:.'"Cita| 00000080 64 65 6c 20 63 68 65 61 74 22 3a fb 32 3a f1 22 |del cheat":.2:."| 00000090 86 86 86 86 86 86 86 86 86 86 86 86 86 22 27 3a |............."':| 000000a0 f2 6d 63 31 0d 00 32 21 f2 6d 63 3a f2 61 73 6b |.mc1..2!.mc:.ask| 000000b0 28 22 49 6d 6d 6f 72 74 61 6c 22 2c 69 6d 6d 6f |("Immortal",immo| 000000c0 72 74 61 6c 29 0d 00 3c 20 f2 61 73 6b 28 22 4f |rtal)..< .ask("O| 000000d0 70 65 6e 20 61 6c 6c 20 64 6f 6f 72 73 22 2c 64 |pen all doors",d| 000000e0 6f 6f 72 73 29 0d 00 46 5a f1 3a f2 61 28 22 60 |oors)..FZ.:.a("`| 000000f0 4f 4b 40 20 2d 20 60 49 6e 73 65 72 74 20 40 43 |OK@ - `Insert @C| 00000100 69 74 61 64 65 6c 60 20 74 61 70 65 20 61 6e 64 |itadel` tape and| 00000110 20 70 72 65 73 73 20 20 20 20 20 20 20 20 20 20 | press | 00000120 20 70 6c 61 79 20 2e 2e 2e 22 29 3a ef 37 2c 31 | play ..."):.7,1| 00000130 33 2c 31 30 2c 31 30 2c 31 37 2c 32 2c 32 31 0d |3,10,10,17,2,21.| 00000140 00 50 2d 50 25 3d 26 38 38 30 3a 5b 4f 50 54 30 |.P-P%=&880:[OPT0| 00000150 3a 4c 44 41 26 33 43 41 3a 80 23 32 35 34 3a 53 |:LDA&3CA:.#254:S| 00000160 54 41 26 33 43 41 3a 52 54 53 3a 5d 0d 00 5a 1d |TA&3CA:RTS:]..Z.| 00000170 3f 26 32 32 30 3d 26 38 30 3a 3f 26 32 32 31 3d |?&220=&80:?&221=| 00000180 38 3a 2a 46 58 31 34 2c 34 0d 00 64 2e 2a 4b 2e |8:*FX14,4..d.*K.| 00000190 31 20 4c 4f 41 44 22 43 49 54 41 44 45 4c 22 7c |1 LOAD"CITADEL"|| 000001a0 46 7c 4d 38 33 30 30 43 41 4c 4c 26 31 31 30 30 |F|M8300CALL&1100| 000001b0 7c 4d 52 55 4e 7c 4d 0d 00 6e 10 2a 46 58 31 33 ||MRUN|M..n.*FX13| 000001c0 38 2c 30 2c 31 32 39 0d 00 78 05 e0 0d 00 82 10 |8,0,129..x......| 000001d0 dd f2 61 73 6b 28 41 24 2c 41 25 29 0d 00 8c 52 |..ask(A$,A%)...R| 000001e0 f2 61 28 22 60 22 2b 41 24 2b c4 32 35 2d a9 41 |.a("`"+A$+.25-.A| 000001f0 24 2c 22 20 22 29 2b 22 40 28 59 2f 4e 29 60 20 |$," ")+"@(Y/N)` | 00000200 3a 20 40 22 29 3a 41 24 3d be 3a e7 20 41 24 3d |: @"):A$=.:. A$=| 00000210 22 59 22 20 8c 20 f1 3b 22 59 65 73 22 20 8b 20 |"Y" . .;"Yes" . | 00000220 f1 3b 22 4e 6f 22 3a 3f 41 25 3d 26 36 30 0d 00 |.;"No":?A%=&60..| 00000230 96 05 e1 0d 00 a0 0f dd f2 61 28 24 26 31 36 30 |.........a($&160| 00000240 30 29 0d 00 aa 0c d6 26 31 37 30 30 3a e1 0d 00 |0).....&1700:...| 00000250 b4 09 dd f2 6d 63 31 0d 00 be 0e e3 49 25 3d 30 |....mc1.....I%=0| 00000260 b8 32 20 88 32 0d 00 c8 0c 50 25 3d 26 31 37 30 |.2 .2....P%=&170| 00000270 30 0d 00 d2 0a 5b 4f 50 54 49 25 0d 00 dc 10 4c |0....[OPTI%....L| 00000280 44 59 23 30 3a 2e 6c 6f 6f 70 32 0d 00 e6 0e 4c |DY#0:.loop2....L| 00000290 44 41 26 31 36 30 30 2c 59 0d 00 f0 11 43 4d 50 |DA&1600,Y....CMP| 000002a0 23 31 33 3a 42 45 51 65 6e 64 0d 00 fa 17 43 4d |#13:BEQend....CM| 000002b0 50 23 97 22 40 22 3a 42 45 51 63 6f 6c 6f 75 72 |P#."@":BEQcolour| 000002c0 31 0d 01 04 17 43 4d 50 23 97 22 60 22 3a 42 45 |1....CMP#."`":BE| 000002d0 51 63 6f 6c 6f 75 72 32 0d 01 0e 0c 4a 53 52 26 |Qcolour2....JSR&| 000002e0 46 46 45 45 0d 01 18 0b 2e 62 61 63 6b 69 6e 0d |FFEE.....backin.| 000002f0 01 22 16 49 4e 59 3a 43 50 59 23 30 3a 42 4e 45 |.".INY:CPY#0:BNE| 00000300 6c 6f 6f 70 32 0d 01 2c 08 2e 65 6e 64 0d 01 36 |loop2..,..end..6| 00000310 07 52 54 53 0d 01 40 1c 2e 63 6f 6c 6f 75 72 31 |.RTS..@..colour1| 00000320 20 4c 44 41 23 32 3a 4a 4d 50 63 68 61 6e 67 65 | LDA#2:JMPchange| 00000330 0d 01 4a 12 2e 63 6f 6c 6f 75 72 32 20 4c 44 41 |..J..colour2 LDA| 00000340 23 33 0d 01 54 1f 2e 63 68 61 6e 67 65 20 54 41 |#3..T..change TA| 00000350 58 3a 4c 44 41 23 31 37 3a 4a 53 52 26 46 46 45 |X:LDA#17:JSR&FFE| 00000360 45 0d 01 5e 18 20 20 20 20 20 20 20 20 54 58 41 |E..^. TXA| 00000370 3a 4a 53 52 26 46 46 45 45 0d 01 68 15 20 20 20 |:JSR&FFEE..h. | 00000380 20 20 20 20 20 4a 4d 50 62 61 63 6b 69 6e 0d 01 | JMPbackin..| 00000390 72 05 5d 0d 01 7c 05 ed 0d 01 86 05 e1 0d 01 90 |r.]..|..........| 000003a0 08 dd f2 6d 63 0d 01 9a 0e e3 49 25 3d 30 b8 32 |...mc.....I%=0.2| 000003b0 20 88 32 0d 01 a4 0c 50 25 3d 26 31 31 30 30 0d | .2....P%=&1100.| 000003c0 01 ae 0a 5b 4f 50 54 49 25 0d 01 b8 1f 4c 44 59 |...[OPTI%....LDY| 000003d0 23 63 61 6c 20 81 20 32 35 36 3a 4c 44 58 23 63 |#cal . 256:LDX#c| 000003e0 61 6c 20 83 20 32 35 36 0d 01 c2 0c 4a 53 52 26 |al . 256....JSR&| 000003f0 46 46 46 37 0d 01 cc 1a 4c 44 41 23 26 30 44 3a |FFF7....LDA#&0D:| 00000400 4c 44 58 23 34 3a 4a 53 52 26 46 46 46 34 0d 01 |LDX#4:JSR&FFF4..| 00000410 d6 14 4c 44 41 23 26 32 30 3a 53 54 41 26 35 35 |..LDA#&20:STA&55| 00000420 37 37 0d 01 e0 14 4c 44 41 23 26 35 30 3a 53 54 |77....LDA#&50:ST| 00000430 41 26 35 35 37 38 0d 01 ea 14 4c 44 41 23 26 35 |A&5578....LDA#&5| 00000440 37 3a 53 54 41 26 35 35 37 39 0d 01 f4 1d 4c 44 |7:STA&5579....LD| 00000450 41 23 26 45 41 3a 53 54 41 26 35 35 37 41 3a 53 |A#&EA:STA&557A:S| 00000460 54 41 26 35 35 37 42 0d 01 fe 27 4c 44 59 23 30 |TA&557B...'LDY#0| 00000470 3a 2e 6c 6f 6f 70 20 4c 44 41 69 6e 73 74 61 6c |:.loop LDAinstal| 00000480 6c 2c 59 3a 53 54 41 26 35 37 35 30 2c 59 0d 02 |l,Y:STA&5750,Y..| 00000490 08 17 49 4e 59 3a 43 50 59 23 26 36 30 3a 42 4e |..INY:CPY#&60:BN| 000004a0 45 6c 6f 6f 70 0d 02 12 0c 4a 4d 50 26 35 34 33 |Eloop....JMP&543| 000004b0 36 0d 02 1c 15 5d 3a 50 25 3d 26 31 31 35 30 3a |6....]:P%=&1150:| 000004c0 5b 4f 50 54 49 25 0d 02 26 0c 2e 69 6e 73 74 61 |[OPTI%..&..insta| 000004d0 6c 6c 0d 02 30 13 2e 62 79 74 65 31 20 4a 53 52 |ll..0..byte1 JSR| 000004e0 64 6f 6f 72 73 0d 02 3a 16 2e 62 79 74 65 32 20 |doors..:..byte2 | 000004f0 4a 53 52 69 6d 6d 6f 72 74 61 6c 0d 02 44 13 4c |JSRimmortal..D.L| 00000500 44 41 23 26 33 30 3a 53 54 41 26 33 34 45 0d 02 |DA#&30:STA&34E..| 00000510 4e 07 52 54 53 0d 02 58 31 2e 64 6f 6f 72 73 20 |N.RTS..X1.doors | 00000520 4c 44 41 23 26 45 41 3a 53 54 41 26 33 39 34 33 |LDA#&EA:STA&3943| 00000530 3a 53 54 41 26 33 39 34 34 3a 53 54 41 26 33 39 |:STA&3944:STA&39| 00000540 34 35 3a 52 54 53 0d 02 62 22 2e 69 6d 6d 6f 72 |45:RTS..b".immor| 00000550 74 61 6c 20 4c 44 41 23 26 36 30 3a 53 54 41 26 |tal LDA#&60:STA&| 00000560 33 30 35 45 3a 52 54 53 0d 02 76 1d 2e 63 61 6c |305E:RTS..v..cal| 00000570 20 45 51 55 53 22 4c 4f 41 44 20 43 49 54 41 4c | EQUS"LOAD CITAL| 00000580 22 2b bd 31 33 0d 02 80 07 5d 3a ed 0d 02 8a 1b |"+.13....]:.....| 00000590 62 79 74 65 31 3f 32 3d 26 35 37 3a 62 79 74 65 |byte1?2=&57:byte| 000005a0 32 3f 32 3d 26 35 37 0d 02 94 05 e1 0d ff |2?2=&57.......| 000005ae