Home » Personal collection » Acorn tapes » Commercial_Releases » box03_tape10b_acorn_cheat_it_again_joe_1.wav » XOR-O

XOR-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_tape10b_acorn_cheat_it_again_joe_1.wav
Filename: XOR-O
Read OK:
File size: 0676 bytes
Load address: 1900
Exec address: 1900
File contents
   10REM XOR cheat
   20REM Electron tape version
   30MODE1:VDU19,3,6,0,0,0,23,230,0,&FF,0,&FF,0,0,0,0,17,1:PROCmc1:PROCmc:G%=P%
   40CLS:COLOUR1:PRINT'"XOR cheat":COLOUR2:PRINT"���������"'
   50PROCa("`Immortal@                   (Y/N)` : @")
   60A$=GET$:IF A$="Y" THEN PRINT;"Yes" ELSE PRINT;"No":?imm=&60
   70PROCa("`Play all levels@            (Y/N)` : @")
   80A$=GET$:IF A$="Y" THEN PRINT;"Yes" ELSE PRINT;"No":?lev=&60
   90PROCa("`No need to collect masks@   (Y/N)` : @")
  100A$=GET$:IF A$="Y" THEN PRINT;"Yes" ELSE PRINT;"No":?masks=&60
  110PRINT:PROCa("`OK@ - `Insert @XOR` tape and press play ..."):VDU7,13,10,10,17,2
  120CALL&900
  130END
  140DEFPROCa($&1600)
  150CALL&1700:ENDPROC
  160DEFPROCmc1
  170FORI%=0TO2 STEP2
  180P%=&1700
  190[OPTI%
  200LDY#0:.loop2
  210LDA&1600,Y
  220CMP#13:BEQend
  230CMP#ASC"@":BEQcolour1
  240CMP#ASC"`":BEQcolour2
  250JSR&FFEE
  260.backin
  270INY:CPY#0:BNEloop2
  280.end
  290RTS
  300.colour1 LDA#2:JMPchange
  310.colour2 LDA#3
  320.change TAX:LDA#17:JSR&FFEE
  330        TXA:JSR&FFEE
  340        JMPbackin
  350]
  360NEXT
  370ENDPROC
  380DEFPROCmc
  390FORI%=0TO2 STEP2
  400P%=&900
  410[OPTI%
  420LDX#scr MOD 256:LDY#scr DIV 256
  430JSR&FFF7:LDA#22:JSR&FFEE:LDA#6:JSR&FFEE
  440LDA#&60:STA&1175:JSR&1100
  450LDX#load MOD 256:LDY#load DIV 256
  460JSR&FFF7
  470LDA#&DE:STA&75:STA&76
  480LDA#&56:STA&77
  490LDY#0:.loop LDA&0E00,Y
  500EOR&75:DEC&76:EOR&76:EOR&77
  510.loop2 STA&0E00,Y
  520INC&77:LDA&77:SEC:SBC#&5F
  530EOR&76:STA&77:EOR&75:STA&75
  540EOR#&E4:STA&76:EOR&77
  550INY:BNEloop
  560INCloop+2
  570INCloop2+2
  580LDAloop2+2:CMP#&70:BNEloop
  590JSRimm
  600JSRlev
  610JSRmasks
  620JMP&2900
  630.scr EQUS"LOAD XORSCR"+CHR$13
  640.load EQUS"LOAD GAME"+CHR$127+"� E00"+CHR$13
  650.imm LDA#&A9:STA&1EC7:STA&1EB1:LDA#2:STA&1EC8:LDA#0:STA&1EB2:LDA#&EA:STA&1EB3:RTS
  660.masks LDA#&93:STA&1914:RTS
  670.lev LDA#&C9:STA&25BD:STA&25C7:LDA#17:STA&25BE:LDA#16:STA&25C8:RTS
  680]:NEXTI%
  690ENDPROC

� XOR cheat
� Electron tape version
C�1:�19,3,6,0,0,0,23,230,0,&FF,0,&FF,0,0,0,0,17,1:�mc1:�mc:G%=P%
('�:�1:�'"XOR cheat":�2:�"���������"'
21�a("`Immortal@                   (Y/N)` : @")
<-A$=�:� A$="Y" � �;"Yes" � �;"No":?imm=&60
F1�a("`Play all levels@            (Y/N)` : @")
P-A$=�:� A$="Y" � �;"Yes" � �;"No":?lev=&60
Z1�a("`No need to collect masks@   (Y/N)` : @")
d/A$=�:� A$="Y" � �;"Yes" � �;"No":?masks=&60
nI�:�a("`OK@ - `Insert @XOR` tape and press play ..."):�7,13,10,10,17,2
x	�&900
��
���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
,.colour1 LDA#2:JMPchange
6.colour2 LDA#3
@.change TAX:LDA#17:JSR&FFEE
J        TXA:JSR&FFEE
T        JMPbackin
^]
h�
r�
|��mc
��I%=0�2 �2
�P%=&900
�
[OPTI%
�LDX#scr � 256:LDY#scr � 256
�+JSR&FFF7:LDA#22:JSR&FFEE:LDA#6:JSR&FFEE
�LDA#&60:STA&1175:JSR&1100
�!LDX#load � 256:LDY#load � 256
�JSR&FFF7
�LDA#&DE:STA&75:STA&76
�LDA#&56:STA&77
�LDY#0:.loop LDA&0E00,Y
��&75:DEC&76:�&76:�&77
�.loop2 STA&0E00,Y
INC&77:LDA&77:SEC:SBC#&5F
�&76:STA&77:�&75:STA&75
�#&E4:STA&76:�&77
&INY:BNEloop
0
INCloop+2
:INCloop2+2
DLDAloop2+2:CMP#&70:BNEloop
N
JSRimm
X
JSRlev
bJSRmasks
lJMP&2900
v.scr EQUS"LOAD XORSCR"+�13
�*.load EQUS"LOAD GAME"+�127+"� E00"+�13
�U.imm LDA#&A9:STA&1EC7:STA&1EB1:LDA#2:STA&1EC8:LDA#0:STA&1EB2:LDA#&EA:STA&1EB3:RTS
�.masks LDA#&93:STA&1914:RTS
�F.lev LDA#&C9:STA&25BD:STA&25C7:LDA#17:STA&25BE:LDA#16:STA&25C8:RTS
�	]:�I%
��
�
00000000  0d 00 0a 0f f4 20 58 4f  52 20 63 68 65 61 74 0d  |..... XOR cheat.|
00000010  00 14 1b f4 20 45 6c 65  63 74 72 6f 6e 20 74 61  |.... Electron ta|
00000020  70 65 20 76 65 72 73 69  6f 6e 0d 00 1e 43 eb 31  |pe version...C.1|
00000030  3a ef 31 39 2c 33 2c 36  2c 30 2c 30 2c 30 2c 32  |:.19,3,6,0,0,0,2|
00000040  33 2c 32 33 30 2c 30 2c  26 46 46 2c 30 2c 26 46  |3,230,0,&FF,0,&F|
00000050  46 2c 30 2c 30 2c 30 2c  30 2c 31 37 2c 31 3a f2  |F,0,0,0,0,17,1:.|
00000060  6d 63 31 3a f2 6d 63 3a  47 25 3d 50 25 0d 00 28  |mc1:.mc:G%=P%..(|
00000070  27 db 3a fb 31 3a f1 27  22 58 4f 52 20 63 68 65  |'.:.1:.'"XOR che|
00000080  61 74 22 3a fb 32 3a f1  22 86 86 86 86 86 86 86  |at":.2:.".......|
00000090  86 86 22 27 0d 00 32 31  f2 61 28 22 60 49 6d 6d  |.."'..21.a("`Imm|
000000a0  6f 72 74 61 6c 40 20 20  20 20 20 20 20 20 20 20  |ortal@          |
000000b0  20 20 20 20 20 20 20 20  20 28 59 2f 4e 29 60 20  |         (Y/N)` |
000000c0  3a 20 40 22 29 0d 00 3c  2d 41 24 3d be 3a e7 20  |: @")..<-A$=.:. |
000000d0  41 24 3d 22 59 22 20 8c  20 f1 3b 22 59 65 73 22  |A$="Y" . .;"Yes"|
000000e0  20 8b 20 f1 3b 22 4e 6f  22 3a 3f 69 6d 6d 3d 26  | . .;"No":?imm=&|
000000f0  36 30 0d 00 46 31 f2 61  28 22 60 50 6c 61 79 20  |60..F1.a("`Play |
00000100  61 6c 6c 20 6c 65 76 65  6c 73 40 20 20 20 20 20  |all levels@     |
00000110  20 20 20 20 20 20 20 28  59 2f 4e 29 60 20 3a 20  |       (Y/N)` : |
00000120  40 22 29 0d 00 50 2d 41  24 3d be 3a e7 20 41 24  |@")..P-A$=.:. A$|
00000130  3d 22 59 22 20 8c 20 f1  3b 22 59 65 73 22 20 8b  |="Y" . .;"Yes" .|
00000140  20 f1 3b 22 4e 6f 22 3a  3f 6c 65 76 3d 26 36 30  | .;"No":?lev=&60|
00000150  0d 00 5a 31 f2 61 28 22  60 4e 6f 20 6e 65 65 64  |..Z1.a("`No need|
00000160  20 74 6f 20 63 6f 6c 6c  65 63 74 20 6d 61 73 6b  | to collect mask|
00000170  73 40 20 20 20 28 59 2f  4e 29 60 20 3a 20 40 22  |s@   (Y/N)` : @"|
00000180  29 0d 00 64 2f 41 24 3d  be 3a e7 20 41 24 3d 22  |)..d/A$=.:. A$="|
00000190  59 22 20 8c 20 f1 3b 22  59 65 73 22 20 8b 20 f1  |Y" . .;"Yes" . .|
000001a0  3b 22 4e 6f 22 3a 3f 6d  61 73 6b 73 3d 26 36 30  |;"No":?masks=&60|
000001b0  0d 00 6e 49 f1 3a f2 61  28 22 60 4f 4b 40 20 2d  |..nI.:.a("`OK@ -|
000001c0  20 60 49 6e 73 65 72 74  20 40 58 4f 52 60 20 74  | `Insert @XOR` t|
000001d0  61 70 65 20 61 6e 64 20  70 72 65 73 73 20 70 6c  |ape and press pl|
000001e0  61 79 20 2e 2e 2e 22 29  3a ef 37 2c 31 33 2c 31  |ay ..."):.7,13,1|
000001f0  30 2c 31 30 2c 31 37 2c  32 0d 00 78 09 d6 26 39  |0,10,17,2..x..&9|
00000200  30 30 0d 00 82 05 e0 0d  00 8c 0f dd f2 61 28 24  |00...........a($|
00000210  26 31 36 30 30 29 0d 00  96 0c d6 26 31 37 30 30  |&1600).....&1700|
00000220  3a e1 0d 00 a0 09 dd f2  6d 63 31 0d 00 aa 0e e3  |:.......mc1.....|
00000230  49 25 3d 30 b8 32 20 88  32 0d 00 b4 0c 50 25 3d  |I%=0.2 .2....P%=|
00000240  26 31 37 30 30 0d 00 be  0a 5b 4f 50 54 49 25 0d  |&1700....[OPTI%.|
00000250  00 c8 10 4c 44 59 23 30  3a 2e 6c 6f 6f 70 32 0d  |...LDY#0:.loop2.|
00000260  00 d2 0e 4c 44 41 26 31  36 30 30 2c 59 0d 00 dc  |...LDA&1600,Y...|
00000270  11 43 4d 50 23 31 33 3a  42 45 51 65 6e 64 0d 00  |.CMP#13:BEQend..|
00000280  e6 17 43 4d 50 23 97 22  40 22 3a 42 45 51 63 6f  |..CMP#."@":BEQco|
00000290  6c 6f 75 72 31 0d 00 f0  17 43 4d 50 23 97 22 60  |lour1....CMP#."`|
000002a0  22 3a 42 45 51 63 6f 6c  6f 75 72 32 0d 00 fa 0c  |":BEQcolour2....|
000002b0  4a 53 52 26 46 46 45 45  0d 01 04 0b 2e 62 61 63  |JSR&FFEE.....bac|
000002c0  6b 69 6e 0d 01 0e 16 49  4e 59 3a 43 50 59 23 30  |kin....INY:CPY#0|
000002d0  3a 42 4e 45 6c 6f 6f 70  32 0d 01 18 08 2e 65 6e  |:BNEloop2.....en|
000002e0  64 0d 01 22 07 52 54 53  0d 01 2c 1c 2e 63 6f 6c  |d..".RTS..,..col|
000002f0  6f 75 72 31 20 4c 44 41  23 32 3a 4a 4d 50 63 68  |our1 LDA#2:JMPch|
00000300  61 6e 67 65 0d 01 36 12  2e 63 6f 6c 6f 75 72 32  |ange..6..colour2|
00000310  20 4c 44 41 23 33 0d 01  40 1f 2e 63 68 61 6e 67  | LDA#3..@..chang|
00000320  65 20 54 41 58 3a 4c 44  41 23 31 37 3a 4a 53 52  |e TAX:LDA#17:JSR|
00000330  26 46 46 45 45 0d 01 4a  18 20 20 20 20 20 20 20  |&FFEE..J.       |
00000340  20 54 58 41 3a 4a 53 52  26 46 46 45 45 0d 01 54  | TXA:JSR&FFEE..T|
00000350  15 20 20 20 20 20 20 20  20 4a 4d 50 62 61 63 6b  |.        JMPback|
00000360  69 6e 0d 01 5e 05 5d 0d  01 68 05 ed 0d 01 72 05  |in..^.]..h....r.|
00000370  e1 0d 01 7c 08 dd f2 6d  63 0d 01 86 0e e3 49 25  |...|...mc.....I%|
00000380  3d 30 b8 32 20 88 32 0d  01 90 0b 50 25 3d 26 39  |=0.2 .2....P%=&9|
00000390  30 30 0d 01 9a 0a 5b 4f  50 54 49 25 0d 01 a4 1f  |00....[OPTI%....|
000003a0  4c 44 58 23 73 63 72 20  83 20 32 35 36 3a 4c 44  |LDX#scr . 256:LD|
000003b0  59 23 73 63 72 20 81 20  32 35 36 0d 01 ae 2b 4a  |Y#scr . 256...+J|
000003c0  53 52 26 46 46 46 37 3a  4c 44 41 23 32 32 3a 4a  |SR&FFF7:LDA#22:J|
000003d0  53 52 26 46 46 45 45 3a  4c 44 41 23 36 3a 4a 53  |SR&FFEE:LDA#6:JS|
000003e0  52 26 46 46 45 45 0d 01  b8 1d 4c 44 41 23 26 36  |R&FFEE....LDA#&6|
000003f0  30 3a 53 54 41 26 31 31  37 35 3a 4a 53 52 26 31  |0:STA&1175:JSR&1|
00000400  31 30 30 0d 01 c2 21 4c  44 58 23 6c 6f 61 64 20  |100...!LDX#load |
00000410  83 20 32 35 36 3a 4c 44  59 23 6c 6f 61 64 20 81  |. 256:LDY#load .|
00000420  20 32 35 36 0d 01 cc 0c  4a 53 52 26 46 46 46 37  | 256....JSR&FFF7|
00000430  0d 01 d6 19 4c 44 41 23  26 44 45 3a 53 54 41 26  |....LDA#&DE:STA&|
00000440  37 35 3a 53 54 41 26 37  36 0d 01 e0 12 4c 44 41  |75:STA&76....LDA|
00000450  23 26 35 36 3a 53 54 41  26 37 37 0d 01 ea 1a 4c  |#&56:STA&77....L|
00000460  44 59 23 30 3a 2e 6c 6f  6f 70 20 4c 44 41 26 30  |DY#0:.loop LDA&0|
00000470  45 30 30 2c 59 0d 01 f4  19 82 26 37 35 3a 44 45  |E00,Y.....&75:DE|
00000480  43 26 37 36 3a 82 26 37  36 3a 82 26 37 37 0d 01  |C&76:.&76:.&77..|
00000490  fe 15 2e 6c 6f 6f 70 32  20 53 54 41 26 30 45 30  |...loop2 STA&0E0|
000004a0  30 2c 59 0d 02 08 1d 49  4e 43 26 37 37 3a 4c 44  |0,Y....INC&77:LD|
000004b0  41 26 37 37 3a 53 45 43  3a 53 42 43 23 26 35 46  |A&77:SEC:SBC#&5F|
000004c0  0d 02 12 1b 82 26 37 36  3a 53 54 41 26 37 37 3a  |.....&76:STA&77:|
000004d0  82 26 37 35 3a 53 54 41  26 37 35 0d 02 1c 15 82  |.&75:STA&75.....|
000004e0  23 26 45 34 3a 53 54 41  26 37 36 3a 82 26 37 37  |#&E4:STA&76:.&77|
000004f0  0d 02 26 0f 49 4e 59 3a  42 4e 45 6c 6f 6f 70 0d  |..&.INY:BNEloop.|
00000500  02 30 0d 49 4e 43 6c 6f  6f 70 2b 32 0d 02 3a 0e  |.0.INCloop+2..:.|
00000510  49 4e 43 6c 6f 6f 70 32  2b 32 0d 02 44 1e 4c 44  |INCloop2+2..D.LD|
00000520  41 6c 6f 6f 70 32 2b 32  3a 43 4d 50 23 26 37 30  |Aloop2+2:CMP#&70|
00000530  3a 42 4e 45 6c 6f 6f 70  0d 02 4e 0a 4a 53 52 69  |:BNEloop..N.JSRi|
00000540  6d 6d 0d 02 58 0a 4a 53  52 6c 65 76 0d 02 62 0c  |mm..X.JSRlev..b.|
00000550  4a 53 52 6d 61 73 6b 73  0d 02 6c 0c 4a 4d 50 26  |JSRmasks..l.JMP&|
00000560  32 39 30 30 0d 02 76 1e  2e 73 63 72 20 45 51 55  |2900..v..scr EQU|
00000570  53 22 4c 4f 41 44 20 58  4f 52 53 43 52 22 2b bd  |S"LOAD XORSCR"+.|
00000580  31 33 0d 02 80 2a 2e 6c  6f 61 64 20 45 51 55 53  |13...*.load EQUS|
00000590  22 4c 4f 41 44 20 47 41  4d 45 22 2b bd 31 32 37  |"LOAD GAME"+.127|
000005a0  2b 22 82 20 45 30 30 22  2b bd 31 33 0d 02 8a 55  |+". E00"+.13...U|
000005b0  2e 69 6d 6d 20 4c 44 41  23 26 41 39 3a 53 54 41  |.imm LDA#&A9:STA|
000005c0  26 31 45 43 37 3a 53 54  41 26 31 45 42 31 3a 4c  |&1EC7:STA&1EB1:L|
000005d0  44 41 23 32 3a 53 54 41  26 31 45 43 38 3a 4c 44  |DA#2:STA&1EC8:LD|
000005e0  41 23 30 3a 53 54 41 26  31 45 42 32 3a 4c 44 41  |A#0:STA&1EB2:LDA|
000005f0  23 26 45 41 3a 53 54 41  26 31 45 42 33 3a 52 54  |#&EA:STA&1EB3:RT|
00000600  53 0d 02 94 1f 2e 6d 61  73 6b 73 20 4c 44 41 23  |S.....masks LDA#|
00000610  26 39 33 3a 53 54 41 26  31 39 31 34 3a 52 54 53  |&93:STA&1914:RTS|
00000620  0d 02 9e 46 2e 6c 65 76  20 4c 44 41 23 26 43 39  |...F.lev LDA#&C9|
00000630  3a 53 54 41 26 32 35 42  44 3a 53 54 41 26 32 35  |:STA&25BD:STA&25|
00000640  43 37 3a 4c 44 41 23 31  37 3a 53 54 41 26 32 35  |C7:LDA#17:STA&25|
00000650  42 45 3a 4c 44 41 23 31  36 3a 53 54 41 26 32 35  |BE:LDA#16:STA&25|
00000660  43 38 3a 52 54 53 0d 02  a8 09 5d 3a ed 49 25 0d  |C8:RTS....]:.I%.|
00000670  02 b2 05 e1 0d ff                                 |......|
00000676
XOR-O.m0
XOR-O.m1
XOR-O.m2
XOR-O.m4
XOR-O.m5