Home » Personal collection » Acorn ADFS disks » Electron » MTF_finished_programs.ADF » TAPE1/B/LIFEOFREPT

TAPE1/B/LIFEOFREPT

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 » MTF_finished_programs.ADF
Filename: TAPE1/B/LIFEOFREPT
Read OK:
File size: 0769 bytes
Load address: FFFF0E00
Exec address: FFFF8023
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
   10REM The Life of Repton 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'"Life of Repton cheat":COLOUR2:PRINT"��������������������"':PROCmc1
   50PROCmc
   60PROCask("Infinite lives",inlives)
   70PROCask("View all maps",maps)
   80PROCask("Immortal to boulders",imb)
   90PROCask("Immortal to spirits",imsp)
  100PROCask("Immortal to lizards",iml)
  110PROCask("Immortal to skulls/fungi",imsk)
  120PROCask("Stop timer",st)
  130PRINT:PROCa("`OK@ - `Insert @Life of Repton` tape and          press play ..."):VDU7,13,10
  140P%=&880
  150[OPT0:LDA&3CA:AND#254:STA&3CA:RTS:]
  160?&220=&80:?&221=8
  170*FX14,4
  180VDU17,2:PRINT
  190*L.REPTON 2300
  200VDU21:*FX138,0,128
  210END
  220DEFPROCask(A$,A%)
  230PROCa("`"+A$+STRING$(25-LENA$," ")+"@(Y/N)` : @"):A$=GET$:IF A$="Y" THEN PRINT;"Yes" ELSE PRINT;"No":?A%=&60
  240ENDPROC
  250DEFPROCa($&1600)
  260CALL&1700:ENDPROC
  270DEFPROCmc1
  280FORI%=0TO2 STEP2
  290P%=&1700
  300[OPTI%
  310LDY#0:.loop2
  320LDA&1600,Y
  330CMP#13:BEQend
  340CMP#ASC"@":BEQcolour1
  350CMP#ASC"`":BEQcolour2
  360JSR&FFEE
  370.backin
  380INY:CPY#0:BNEloop2
  390.end
  400RTS
  410.colour1 LDA#2:JMPchange
  420.colour2 LDA#3
  430.change TAX:LDA#17:JSR&FFEE
  440        TXA:JSR&FFEE
  450        JMPbackin
  460]
  470NEXT
  480ENDPROC
  490DEFPROCmc
  500FORI%=0 TO 2 STEP2
  510P%=&1100
  520[OPTI%
  530LDY#load DIV 256:LDX#load MOD 256
  540JSR&FFF7
  550LDA#&20:STA&5608
  560LDA#install MOD 256:STA&5609
  570LDA#install DIV 256:STA&560A
  580JMP&5600
  590.install
  600JSRinlives
  610JSRmaps
  620JSRimb
  630JSRiml
  640JSRimsp
  650JSRst
  660JSRimsk
  670JSR&57DC:RTS
  680.inlives
  690LDA#&A9:STA&5776:LDA#1:STA&5777:RTS
  700.maps
  710LDA#&20:STA&5717:RTS
  720.imb
  730LDA#&EA:STA&2E26:STA&2E27:RTS
  740.imsp
  750LDA#&A9:STA&59B:STA&620:STA&68A
  760LDA#&00:STA&59C:STA&621:STA&68B
  770RTS
  780.iml
  790LDA#&A9:STA&6A1:STA&55E
  800LDA#&00:STA&6A2:STA&55F
  810RTS
  820.st
  830LDA#0:STA&22FB:RTS
  840.imsk
  850LDA#&EA:STA&5430:STA&5431:RTS
  860.load EQUS"LOAD REPTON2"+CHR$13
  870]:NEXT
  880*K.0 LO."MENU"|F|M590PA.=&1900:*FX138,0,129|MRUN|M
  890*K.1 LO."REPTON1"|M140CALL&1100|MRUN|M
  900ENDPROC

� The Life of Repton cheat
� Original version
� Electron tape version
(n�1:�19,3,6,0,0,0,23,230,0,&FF,0,&FF,0,0,0,0,17,1:�'"Life of Repton cheat":�2:�"��������������������"':�mc1
2�mc
<"�ask("Infinite lives",inlives)
F�ask("View all maps",maps)
P$�ask("Immortal to boulders",imb)
Z$�ask("Immortal to spirits",imsp)
d#�ask("Immortal to lizards",iml)
n)�ask("Immortal to skulls/fungi",imsk)
x�ask("Stop timer",st)
�U�:�a("`OK@ - `Insert @Life of Repton` tape and          press play ..."):�7,13,10
�P%=&880
�%[OPT0:LDA&3CA:�#254:STA&3CA:RTS:]
�?&220=&80:?&221=8
�*FX14,4
��17,2:�
�*L.REPTON 2300
��21:*FX138,0,128
��
���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%
6LDY#0:.loop2
@LDA&1600,Y
JCMP#13:BEQend
TCMP#�"@":BEQcolour1
^CMP#�"`":BEQcolour2
hJSR&FFEE
r.backin
|INY:CPY#0:BNEloop2
�.end
�RTS
�.colour1 LDA#2:JMPchange
�.colour2 LDA#3
�.change TAX:LDA#17:JSR&FFEE
�        TXA:JSR&FFEE
�        JMPbackin
�]
��
��
���mc
��I%=0 � 2 �2
�P%=&1100

[OPTI%
!LDY#load � 256:LDX#load � 256
JSR&FFF7
&LDA#&20:STA&5608
0LDA#install � 256:STA&5609
:LDA#install � 256:STA&560A
DJMP&5600
N.install
XJSRinlives
bJSRmaps
l
JSRimb
v
JSRiml
�JSRimsp
�	JSRst
�JSRimsk
�JSR&57DC:RTS
�.inlives
�'LDA#&A9:STA&5776:LDA#1:STA&5777:RTS
�	.maps
�LDA#&20:STA&5717:RTS
�.imb
�!LDA#&EA:STA&2E26:STA&2E27:RTS
�	.imsp
�#LDA#&A9:STA&59B:STA&620:STA&68A
�#LDA#&00:STA&59C:STA&621:STA&68B
RTS
.iml
LDA#&A9:STA&6A1:STA&55E
 LDA#&00:STA&6A2:STA&55F
*RTS
4.st
>LDA#0:STA&22FB:RTS
H	.imsk
R!LDA#&EA:STA&5430:STA&5431:RTS
\ .load EQUS"LOAD REPTON2"+�13
f]:�
p6*K.0 LO."MENU"|F|M590PA.=&1900:*FX138,0,129|MRUN|M
z**K.1 LO."REPTON1"|M140CALL&1100|MRUN|M
��
�
00000000  0d 00 0a 1e f4 20 54 68  65 20 4c 69 66 65 20 6f  |..... The Life o|
00000010  66 20 52 65 70 74 6f 6e  20 63 68 65 61 74 0d 00  |f Repton cheat..|
00000020  14 16 f4 20 4f 72 69 67  69 6e 61 6c 20 76 65 72  |... Original ver|
00000030  73 69 6f 6e 0d 00 1e 1b  f4 20 45 6c 65 63 74 72  |sion..... Electr|
00000040  6f 6e 20 74 61 70 65 20  76 65 72 73 69 6f 6e 0d  |on tape version.|
00000050  00 28 6e eb 31 3a ef 31  39 2c 33 2c 36 2c 30 2c  |.(n.1:.19,3,6,0,|
00000060  30 2c 30 2c 32 33 2c 32  33 30 2c 30 2c 26 46 46  |0,0,23,230,0,&FF|
00000070  2c 30 2c 26 46 46 2c 30  2c 30 2c 30 2c 30 2c 31  |,0,&FF,0,0,0,0,1|
00000080  37 2c 31 3a f1 27 22 4c  69 66 65 20 6f 66 20 52  |7,1:.'"Life of R|
00000090  65 70 74 6f 6e 20 63 68  65 61 74 22 3a fb 32 3a  |epton cheat":.2:|
000000a0  f1 22 86 86 86 86 86 86  86 86 86 86 86 86 86 86  |."..............|
000000b0  86 86 86 86 86 86 22 27  3a f2 6d 63 31 0d 00 32  |......"':.mc1..2|
000000c0  07 f2 6d 63 0d 00 3c 22  f2 61 73 6b 28 22 49 6e  |..mc..<".ask("In|
000000d0  66 69 6e 69 74 65 20 6c  69 76 65 73 22 2c 69 6e  |finite lives",in|
000000e0  6c 69 76 65 73 29 0d 00  46 1e f2 61 73 6b 28 22  |lives)..F..ask("|
000000f0  56 69 65 77 20 61 6c 6c  20 6d 61 70 73 22 2c 6d  |View all maps",m|
00000100  61 70 73 29 0d 00 50 24  f2 61 73 6b 28 22 49 6d  |aps)..P$.ask("Im|
00000110  6d 6f 72 74 61 6c 20 74  6f 20 62 6f 75 6c 64 65  |mortal to boulde|
00000120  72 73 22 2c 69 6d 62 29  0d 00 5a 24 f2 61 73 6b  |rs",imb)..Z$.ask|
00000130  28 22 49 6d 6d 6f 72 74  61 6c 20 74 6f 20 73 70  |("Immortal to sp|
00000140  69 72 69 74 73 22 2c 69  6d 73 70 29 0d 00 64 23  |irits",imsp)..d#|
00000150  f2 61 73 6b 28 22 49 6d  6d 6f 72 74 61 6c 20 74  |.ask("Immortal t|
00000160  6f 20 6c 69 7a 61 72 64  73 22 2c 69 6d 6c 29 0d  |o lizards",iml).|
00000170  00 6e 29 f2 61 73 6b 28  22 49 6d 6d 6f 72 74 61  |.n).ask("Immorta|
00000180  6c 20 74 6f 20 73 6b 75  6c 6c 73 2f 66 75 6e 67  |l to skulls/fung|
00000190  69 22 2c 69 6d 73 6b 29  0d 00 78 19 f2 61 73 6b  |i",imsk)..x..ask|
000001a0  28 22 53 74 6f 70 20 74  69 6d 65 72 22 2c 73 74  |("Stop timer",st|
000001b0  29 0d 00 82 55 f1 3a f2  61 28 22 60 4f 4b 40 20  |)...U.:.a("`OK@ |
000001c0  2d 20 60 49 6e 73 65 72  74 20 40 4c 69 66 65 20  |- `Insert @Life |
000001d0  6f 66 20 52 65 70 74 6f  6e 60 20 74 61 70 65 20  |of Repton` tape |
000001e0  61 6e 64 20 20 20 20 20  20 20 20 20 20 70 72 65  |and          pre|
000001f0  73 73 20 70 6c 61 79 20  2e 2e 2e 22 29 3a ef 37  |ss play ..."):.7|
00000200  2c 31 33 2c 31 30 0d 00  8c 0b 50 25 3d 26 38 38  |,13,10....P%=&88|
00000210  30 0d 00 96 25 5b 4f 50  54 30 3a 4c 44 41 26 33  |0...%[OPT0:LDA&3|
00000220  43 41 3a 80 23 32 35 34  3a 53 54 41 26 33 43 41  |CA:.#254:STA&3CA|
00000230  3a 52 54 53 3a 5d 0d 00  a0 15 3f 26 32 32 30 3d  |:RTS:]....?&220=|
00000240  26 38 30 3a 3f 26 32 32  31 3d 38 0d 00 aa 0b 2a  |&80:?&221=8....*|
00000250  46 58 31 34 2c 34 0d 00  b4 0b ef 31 37 2c 32 3a  |FX14,4.....17,2:|
00000260  f1 0d 00 be 12 2a 4c 2e  52 45 50 54 4f 4e 20 32  |.....*L.REPTON 2|
00000270  33 30 30 0d 00 c8 14 ef  32 31 3a 2a 46 58 31 33  |300.....21:*FX13|
00000280  38 2c 30 2c 31 32 38 0d  00 d2 05 e0 0d 00 dc 10  |8,0,128.........|
00000290  dd f2 61 73 6b 28 41 24  2c 41 25 29 0d 00 e6 52  |..ask(A$,A%)...R|
000002a0  f2 61 28 22 60 22 2b 41  24 2b c4 32 35 2d a9 41  |.a("`"+A$+.25-.A|
000002b0  24 2c 22 20 22 29 2b 22  40 28 59 2f 4e 29 60 20  |$," ")+"@(Y/N)` |
000002c0  3a 20 40 22 29 3a 41 24  3d be 3a e7 20 41 24 3d  |: @"):A$=.:. A$=|
000002d0  22 59 22 20 8c 20 f1 3b  22 59 65 73 22 20 8b 20  |"Y" . .;"Yes" . |
000002e0  f1 3b 22 4e 6f 22 3a 3f  41 25 3d 26 36 30 0d 00  |.;"No":?A%=&60..|
000002f0  f0 05 e1 0d 00 fa 0f dd  f2 61 28 24 26 31 36 30  |.........a($&160|
00000300  30 29 0d 01 04 0c d6 26  31 37 30 30 3a e1 0d 01  |0).....&1700:...|
00000310  0e 09 dd f2 6d 63 31 0d  01 18 0e e3 49 25 3d 30  |....mc1.....I%=0|
00000320  b8 32 20 88 32 0d 01 22  0c 50 25 3d 26 31 37 30  |.2 .2..".P%=&170|
00000330  30 0d 01 2c 0a 5b 4f 50  54 49 25 0d 01 36 10 4c  |0..,.[OPTI%..6.L|
00000340  44 59 23 30 3a 2e 6c 6f  6f 70 32 0d 01 40 0e 4c  |DY#0:.loop2..@.L|
00000350  44 41 26 31 36 30 30 2c  59 0d 01 4a 11 43 4d 50  |DA&1600,Y..J.CMP|
00000360  23 31 33 3a 42 45 51 65  6e 64 0d 01 54 17 43 4d  |#13:BEQend..T.CM|
00000370  50 23 97 22 40 22 3a 42  45 51 63 6f 6c 6f 75 72  |P#."@":BEQcolour|
00000380  31 0d 01 5e 17 43 4d 50  23 97 22 60 22 3a 42 45  |1..^.CMP#."`":BE|
00000390  51 63 6f 6c 6f 75 72 32  0d 01 68 0c 4a 53 52 26  |Qcolour2..h.JSR&|
000003a0  46 46 45 45 0d 01 72 0b  2e 62 61 63 6b 69 6e 0d  |FFEE..r..backin.|
000003b0  01 7c 16 49 4e 59 3a 43  50 59 23 30 3a 42 4e 45  |.|.INY:CPY#0:BNE|
000003c0  6c 6f 6f 70 32 0d 01 86  08 2e 65 6e 64 0d 01 90  |loop2.....end...|
000003d0  07 52 54 53 0d 01 9a 1c  2e 63 6f 6c 6f 75 72 31  |.RTS.....colour1|
000003e0  20 4c 44 41 23 32 3a 4a  4d 50 63 68 61 6e 67 65  | LDA#2:JMPchange|
000003f0  0d 01 a4 12 2e 63 6f 6c  6f 75 72 32 20 4c 44 41  |.....colour2 LDA|
00000400  23 33 0d 01 ae 1f 2e 63  68 61 6e 67 65 20 54 41  |#3.....change TA|
00000410  58 3a 4c 44 41 23 31 37  3a 4a 53 52 26 46 46 45  |X:LDA#17:JSR&FFE|
00000420  45 0d 01 b8 18 20 20 20  20 20 20 20 20 54 58 41  |E....        TXA|
00000430  3a 4a 53 52 26 46 46 45  45 0d 01 c2 15 20 20 20  |:JSR&FFEE....   |
00000440  20 20 20 20 20 4a 4d 50  62 61 63 6b 69 6e 0d 01  |     JMPbackin..|
00000450  cc 05 5d 0d 01 d6 05 ed  0d 01 e0 05 e1 0d 01 ea  |..].............|
00000460  08 dd f2 6d 63 0d 01 f4  10 e3 49 25 3d 30 20 b8  |...mc.....I%=0 .|
00000470  20 32 20 88 32 0d 01 fe  0c 50 25 3d 26 31 31 30  | 2 .2....P%=&110|
00000480  30 0d 02 08 0a 5b 4f 50  54 49 25 0d 02 12 21 4c  |0....[OPTI%...!L|
00000490  44 59 23 6c 6f 61 64 20  81 20 32 35 36 3a 4c 44  |DY#load . 256:LD|
000004a0  58 23 6c 6f 61 64 20 83  20 32 35 36 0d 02 1c 0c  |X#load . 256....|
000004b0  4a 53 52 26 46 46 46 37  0d 02 26 14 4c 44 41 23  |JSR&FFF7..&.LDA#|
000004c0  26 32 30 3a 53 54 41 26  35 36 30 38 0d 02 30 1e  |&20:STA&5608..0.|
000004d0  4c 44 41 23 69 6e 73 74  61 6c 6c 20 83 20 32 35  |LDA#install . 25|
000004e0  36 3a 53 54 41 26 35 36  30 39 0d 02 3a 1e 4c 44  |6:STA&5609..:.LD|
000004f0  41 23 69 6e 73 74 61 6c  6c 20 81 20 32 35 36 3a  |A#install . 256:|
00000500  53 54 41 26 35 36 30 41  0d 02 44 0c 4a 4d 50 26  |STA&560A..D.JMP&|
00000510  35 36 30 30 0d 02 4e 0c  2e 69 6e 73 74 61 6c 6c  |5600..N..install|
00000520  0d 02 58 0e 4a 53 52 69  6e 6c 69 76 65 73 0d 02  |..X.JSRinlives..|
00000530  62 0b 4a 53 52 6d 61 70  73 0d 02 6c 0a 4a 53 52  |b.JSRmaps..l.JSR|
00000540  69 6d 62 0d 02 76 0a 4a  53 52 69 6d 6c 0d 02 80  |imb..v.JSRiml...|
00000550  0b 4a 53 52 69 6d 73 70  0d 02 8a 09 4a 53 52 73  |.JSRimsp....JSRs|
00000560  74 0d 02 94 0b 4a 53 52  69 6d 73 6b 0d 02 9e 10  |t....JSRimsk....|
00000570  4a 53 52 26 35 37 44 43  3a 52 54 53 0d 02 a8 0c  |JSR&57DC:RTS....|
00000580  2e 69 6e 6c 69 76 65 73  0d 02 b2 27 4c 44 41 23  |.inlives...'LDA#|
00000590  26 41 39 3a 53 54 41 26  35 37 37 36 3a 4c 44 41  |&A9:STA&5776:LDA|
000005a0  23 31 3a 53 54 41 26 35  37 37 37 3a 52 54 53 0d  |#1:STA&5777:RTS.|
000005b0  02 bc 09 2e 6d 61 70 73  0d 02 c6 18 4c 44 41 23  |....maps....LDA#|
000005c0  26 32 30 3a 53 54 41 26  35 37 31 37 3a 52 54 53  |&20:STA&5717:RTS|
000005d0  0d 02 d0 08 2e 69 6d 62  0d 02 da 21 4c 44 41 23  |.....imb...!LDA#|
000005e0  26 45 41 3a 53 54 41 26  32 45 32 36 3a 53 54 41  |&EA:STA&2E26:STA|
000005f0  26 32 45 32 37 3a 52 54  53 0d 02 e4 09 2e 69 6d  |&2E27:RTS.....im|
00000600  73 70 0d 02 ee 23 4c 44  41 23 26 41 39 3a 53 54  |sp...#LDA#&A9:ST|
00000610  41 26 35 39 42 3a 53 54  41 26 36 32 30 3a 53 54  |A&59B:STA&620:ST|
00000620  41 26 36 38 41 0d 02 f8  23 4c 44 41 23 26 30 30  |A&68A...#LDA#&00|
00000630  3a 53 54 41 26 35 39 43  3a 53 54 41 26 36 32 31  |:STA&59C:STA&621|
00000640  3a 53 54 41 26 36 38 42  0d 03 02 07 52 54 53 0d  |:STA&68B....RTS.|
00000650  03 0c 08 2e 69 6d 6c 0d  03 16 1b 4c 44 41 23 26  |....iml....LDA#&|
00000660  41 39 3a 53 54 41 26 36  41 31 3a 53 54 41 26 35  |A9:STA&6A1:STA&5|
00000670  35 45 0d 03 20 1b 4c 44  41 23 26 30 30 3a 53 54  |5E.. .LDA#&00:ST|
00000680  41 26 36 41 32 3a 53 54  41 26 35 35 46 0d 03 2a  |A&6A2:STA&55F..*|
00000690  07 52 54 53 0d 03 34 07  2e 73 74 0d 03 3e 16 4c  |.RTS..4..st..>.L|
000006a0  44 41 23 30 3a 53 54 41  26 32 32 46 42 3a 52 54  |DA#0:STA&22FB:RT|
000006b0  53 0d 03 48 09 2e 69 6d  73 6b 0d 03 52 21 4c 44  |S..H..imsk..R!LD|
000006c0  41 23 26 45 41 3a 53 54  41 26 35 34 33 30 3a 53  |A#&EA:STA&5430:S|
000006d0  54 41 26 35 34 33 31 3a  52 54 53 0d 03 5c 20 2e  |TA&5431:RTS..\ .|
000006e0  6c 6f 61 64 20 45 51 55  53 22 4c 4f 41 44 20 52  |load EQUS"LOAD R|
000006f0  45 50 54 4f 4e 32 22 2b  bd 31 33 0d 03 66 07 5d  |EPTON2"+.13..f.]|
00000700  3a ed 0d 03 70 36 2a 4b  2e 30 20 4c 4f 2e 22 4d  |:...p6*K.0 LO."M|
00000710  45 4e 55 22 7c 46 7c 4d  35 39 30 50 41 2e 3d 26  |ENU"|F|M590PA.=&|
00000720  31 39 30 30 3a 2a 46 58  31 33 38 2c 30 2c 31 32  |1900:*FX138,0,12|
00000730  39 7c 4d 52 55 4e 7c 4d  0d 03 7a 2a 2a 4b 2e 31  |9|MRUN|M..z**K.1|
00000740  20 4c 4f 2e 22 52 45 50  54 4f 4e 31 22 7c 4d 31  | LO."REPTON1"|M1|
00000750  34 30 43 41 4c 4c 26 31  31 30 30 7c 4d 52 55 4e  |40CALL&1100|MRUN|
00000760  7c 4d 0d 03 84 05 e1 0d  ff                       ||M.......|
00000769
TAPE1/B/LIFEOFREPT.m0
TAPE1/B/LIFEOFREPT.m1
TAPE1/B/LIFEOFREPT.m2
TAPE1/B/LIFEOFREPT.m4
TAPE1/B/LIFEOFREPT.m5