Home » Personal collection » Acorn ADFS disks » Electron » Programs.ADF » Games/Lemmings/Lem4

Games/Lemmings/Lem4

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 » Programs.ADF
Filename: Games/Lemmings/Lem4
Read OK:
File size: 056C bytes
Load address: FFFF0E00
Exec address: FFFF8023
File contents
   10in=0:play=100:out=0
   20dead=0:sh=0:DIMl%(5,100)
   30FORlo=1TO5:FORlo2=1TO100
   40READl%(lo,lo2):NEXT,
   50READhin,ti
   60REMStore MODE,del. Here
   70PROCnote:PROCscreen:PROCnote
   80PROCkey:PROCnote:PROCthink:GOTO70
   90DEFPROCscreen
  100FORl=1TO39:FORm=1TO5
  110PRINTTAB(l,m);CHR$(l%(l+sh,m))
  120NEXT,:PRINTTAB(1,10);"IN:";in
  130PRINTTAB(12,17);"Out:";out
  140PRINTTAB(14,16);"Dead:";dead
  150ENDPROC:DEFPROCkey
  160x=INKEY(1):A$=CHR$(x)
  170IFA$="Z"THENIFlev%(c-1,c2)=128THENc=c-1
  180IFA$="X"THENIFlev%(c+1,c2)=128THENc=c+1
  190IFA$="/"THENIFlev%(c,c2+1)=128THENc2=c2+1
  200IFA$=":"THENIFlev%(c,c2-1)=128THENc2=c2-1
  210IFASC(A$)<58THENIFASC(A$)>48THENIFlev(c,c2+1)=129ORlev(c,c2+1)=130THENlev(c,c-2)=x-47+128
  220ENDPROC
  230DEFPROCnote
  240READA,B:IFA=0THENRESTORE290:ENDPROC
  250IFA=-1THENS=0ELSES=-15
  260SOUND 1,S,A,B*2
  270ENDPROC
  280DATA96,6,128,6,124,6,-1,1,124,6,116,3,112,3
  290DATA116,6,96,6,-1,1,96,6,100,6
  300DATA96,6,88,6,80,6,76,6
  310DATA80,6,76,3,80,3,68,6,-1,2,96,6
  320DATA128,6,124,6,-1,1,124,6,116,3,112,3
  330DATA116,6,96,6,-1,1,96,6,100,6
  340DATA96,6,88,6,80,6,76,6
  350DATA68,6,48,6,20,6,-1,20,0,0
  360DATA116,6,-1,1,116,6,108,6,-1,1,108,6,100,6,-1,1
  370DATA100,6,96,6,-1,1,96,6,104,6
  380DATA112,6,116,6,112,6,116,6
  390DATA124,6,96,6,-1,1,96,6,124,6
  400DATA 128,6,124,6,-1,1,124,6,116,3,112,3
  410DATA116,6,96,6,-1,1,96,6,88,6
  420DATA80,6,76,6,68,6,64,6
  430DATA68,6,48,6,20,6,-1,20,0,0
  440DEFPROCthink
  450FORlo=1TO5:FORlo2=1TO100
  460IFlev%(lo,lo2)<138THEN470ELSENEXT,
  470IFlev%(lo,lo2)=129THENIFlev%(lo+1,lo2)=0THENlev%(lo+1,lo2)=129:lev%(lo,lo2)=0ELSElev%(lo+1,lo2)=130
  480IFlev%(lo,lo2)=130THENIFlev%(lo-1,lo2)=0THENlev%(lo-1,lo2)=129:lev%(lo,lo2)=0ELSElev%(lo,lo2)=129

in=0:play=100:out=0
dead=0:sh=0:�l%(5,100)
�lo=1�5:�lo2=1�100
(�l%(lo,lo2):�,
2�hin,ti
<�Store MODE,del. Here
F�note:�screen:�note
P�key:�note:�think:�DF@
Z��screen
d�l=1�39:�m=1�5
n�l,m);�(l%(l+sh,m))
x�,:�1,10);"IN:";in
��12,17);"Out:";out
��14,16);"Dead:";dead
��:��key
�x=�(1):A$=�(x)
�#�A$="Z"��lev%(c-1,c2)=128�c=c-1
�#�A$="X"��lev%(c+1,c2)=128�c=c+1
�%�A$="/"��lev%(c,c2+1)=128�c2=c2+1
�%�A$=":"��lev%(c,c2-1)=128�c2=c2-1
�L�(A$)<58��(A$)>48��lev(c,c2+1)=129�lev(c,c2+1)=130�lev(c,c-2)=x-47+128
��
�
��note
��A,B:�A=0���TbA:�
��A=-1�S=0�S=-15
� 1,S,A,B*2
�
,�96,6,128,6,124,6,-1,1,124,6,116,3,112,3
"�116,6,96,6,-1,1,96,6,100,6
,�96,6,88,6,80,6,76,6
6"�80,6,76,3,80,3,68,6,-1,2,96,6
@'�128,6,124,6,-1,1,124,6,116,3,112,3
J�116,6,96,6,-1,1,96,6,100,6
T�96,6,88,6,80,6,76,6
^�68,6,48,6,20,6,-1,20,0,0
h1�116,6,-1,1,116,6,108,6,-1,1,108,6,100,6,-1,1
r�100,6,96,6,-1,1,96,6,104,6
|�112,6,116,6,112,6,116,6
��124,6,96,6,-1,1,96,6,124,6
�(� 128,6,124,6,-1,1,124,6,116,3,112,3
��116,6,96,6,-1,1,96,6,88,6
��80,6,76,6,68,6,64,6
��68,6,48,6,20,6,-1,20,0,0
���think
��lo=1�5:�lo2=1�100
��lev%(lo,lo2)<138��dVA��,
�\�lev%(lo,lo2)=129��lev%(lo+1,lo2)=0�lev%(lo+1,lo2)=129:lev%(lo,lo2)=0�lev%(lo+1,lo2)=130
�Z�lev%(lo,lo2)=130��lev%(lo-1,lo2)=0�lev%(lo-1,lo2)=129:lev%(lo,lo2)=0�lev%(lo,lo2)=129
�
00000000  0d 00 0a 17 69 6e 3d 30  3a 70 6c 61 79 3d 31 30  |....in=0:play=10|
00000010  30 3a 6f 75 74 3d 30 0d  00 14 1a 64 65 61 64 3d  |0:out=0....dead=|
00000020  30 3a 73 68 3d 30 3a de  6c 25 28 35 2c 31 30 30  |0:sh=0:.l%(5,100|
00000030  29 0d 00 1e 16 e3 6c 6f  3d 31 b8 35 3a e3 6c 6f  |).....lo=1.5:.lo|
00000040  32 3d 31 b8 31 30 30 0d  00 28 12 f3 6c 25 28 6c  |2=1.100..(..l%(l|
00000050  6f 2c 6c 6f 32 29 3a ed  2c 0d 00 32 0b f3 68 69  |o,lo2):.,..2..hi|
00000060  6e 2c 74 69 0d 00 3c 19  f4 53 74 6f 72 65 20 4d  |n,ti..<..Store M|
00000070  4f 44 45 2c 64 65 6c 2e  20 48 65 72 65 0d 00 46  |ODE,del. Here..F|
00000080  17 f2 6e 6f 74 65 3a f2  73 63 72 65 65 6e 3a f2  |..note:.screen:.|
00000090  6e 6f 74 65 0d 00 50 1b  f2 6b 65 79 3a f2 6e 6f  |note..P..key:.no|
000000a0  74 65 3a f2 74 68 69 6e  6b 3a e5 8d 44 46 40 0d  |te:.think:..DF@.|
000000b0  00 5a 0c dd f2 73 63 72  65 65 6e 0d 00 64 12 e3  |.Z...screen..d..|
000000c0  6c 3d 31 b8 33 39 3a e3  6d 3d 31 b8 35 0d 00 6e  |l=1.39:.m=1.5..n|
000000d0  18 f1 8a 6c 2c 6d 29 3b  bd 28 6c 25 28 6c 2b 73  |...l,m);.(l%(l+s|
000000e0  68 2c 6d 29 29 0d 00 78  17 ed 2c 3a f1 8a 31 2c  |h,m))..x..,:..1,|
000000f0  31 30 29 3b 22 49 4e 3a  22 3b 69 6e 0d 00 82 17  |10);"IN:";in....|
00000100  f1 8a 31 32 2c 31 37 29  3b 22 4f 75 74 3a 22 3b  |..12,17);"Out:";|
00000110  6f 75 74 0d 00 8c 19 f1  8a 31 34 2c 31 36 29 3b  |out......14,16);|
00000120  22 44 65 61 64 3a 22 3b  64 65 61 64 0d 00 96 0b  |"Dead:";dead....|
00000130  e1 3a dd f2 6b 65 79 0d  00 a0 12 78 3d a6 28 31  |.:..key....x=.(1|
00000140  29 3a 41 24 3d bd 28 78  29 0d 00 aa 23 e7 41 24  |):A$=.(x)...#.A$|
00000150  3d 22 5a 22 8c e7 6c 65  76 25 28 63 2d 31 2c 63  |="Z"..lev%(c-1,c|
00000160  32 29 3d 31 32 38 8c 63  3d 63 2d 31 0d 00 b4 23  |2)=128.c=c-1...#|
00000170  e7 41 24 3d 22 58 22 8c  e7 6c 65 76 25 28 63 2b  |.A$="X"..lev%(c+|
00000180  31 2c 63 32 29 3d 31 32  38 8c 63 3d 63 2b 31 0d  |1,c2)=128.c=c+1.|
00000190  00 be 25 e7 41 24 3d 22  2f 22 8c e7 6c 65 76 25  |..%.A$="/"..lev%|
000001a0  28 63 2c 63 32 2b 31 29  3d 31 32 38 8c 63 32 3d  |(c,c2+1)=128.c2=|
000001b0  63 32 2b 31 0d 00 c8 25  e7 41 24 3d 22 3a 22 8c  |c2+1...%.A$=":".|
000001c0  e7 6c 65 76 25 28 63 2c  63 32 2d 31 29 3d 31 32  |.lev%(c,c2-1)=12|
000001d0  38 8c 63 32 3d 63 32 2d  31 0d 00 d2 4c e7 97 28  |8.c2=c2-1...L..(|
000001e0  41 24 29 3c 35 38 8c e7  97 28 41 24 29 3e 34 38  |A$)<58...(A$)>48|
000001f0  8c e7 6c 65 76 28 63 2c  63 32 2b 31 29 3d 31 32  |..lev(c,c2+1)=12|
00000200  39 84 6c 65 76 28 63 2c  63 32 2b 31 29 3d 31 33  |9.lev(c,c2+1)=13|
00000210  30 8c 6c 65 76 28 63 2c  63 2d 32 29 3d 78 2d 34  |0.lev(c,c-2)=x-4|
00000220  37 2b 31 32 38 0d 00 dc  05 e1 0d 00 e6 0a dd f2  |7+128...........|
00000230  6e 6f 74 65 0d 00 f0 15  f3 41 2c 42 3a e7 41 3d  |note.....A,B:.A=|
00000240  30 8c f7 8d 54 62 41 3a  e1 0d 00 fa 13 e7 41 3d  |0...TbA:......A=|
00000250  2d 31 8c 53 3d 30 8b 53  3d 2d 31 35 0d 01 04 0f  |-1.S=0.S=-15....|
00000260  d4 20 31 2c 53 2c 41 2c  42 2a 32 0d 01 0e 05 e1  |. 1,S,A,B*2.....|
00000270  0d 01 18 2c dc 39 36 2c  36 2c 31 32 38 2c 36 2c  |...,.96,6,128,6,|
00000280  31 32 34 2c 36 2c 2d 31  2c 31 2c 31 32 34 2c 36  |124,6,-1,1,124,6|
00000290  2c 31 31 36 2c 33 2c 31  31 32 2c 33 0d 01 22 1f  |,116,3,112,3..".|
000002a0  dc 31 31 36 2c 36 2c 39  36 2c 36 2c 2d 31 2c 31  |.116,6,96,6,-1,1|
000002b0  2c 39 36 2c 36 2c 31 30  30 2c 36 0d 01 2c 18 dc  |,96,6,100,6..,..|
000002c0  39 36 2c 36 2c 38 38 2c  36 2c 38 30 2c 36 2c 37  |96,6,88,6,80,6,7|
000002d0  36 2c 36 0d 01 36 22 dc  38 30 2c 36 2c 37 36 2c  |6,6..6".80,6,76,|
000002e0  33 2c 38 30 2c 33 2c 36  38 2c 36 2c 2d 31 2c 32  |3,80,3,68,6,-1,2|
000002f0  2c 39 36 2c 36 0d 01 40  27 dc 31 32 38 2c 36 2c  |,96,6..@'.128,6,|
00000300  31 32 34 2c 36 2c 2d 31  2c 31 2c 31 32 34 2c 36  |124,6,-1,1,124,6|
00000310  2c 31 31 36 2c 33 2c 31  31 32 2c 33 0d 01 4a 1f  |,116,3,112,3..J.|
00000320  dc 31 31 36 2c 36 2c 39  36 2c 36 2c 2d 31 2c 31  |.116,6,96,6,-1,1|
00000330  2c 39 36 2c 36 2c 31 30  30 2c 36 0d 01 54 18 dc  |,96,6,100,6..T..|
00000340  39 36 2c 36 2c 38 38 2c  36 2c 38 30 2c 36 2c 37  |96,6,88,6,80,6,7|
00000350  36 2c 36 0d 01 5e 1d dc  36 38 2c 36 2c 34 38 2c  |6,6..^..68,6,48,|
00000360  36 2c 32 30 2c 36 2c 2d  31 2c 32 30 2c 30 2c 30  |6,20,6,-1,20,0,0|
00000370  0d 01 68 31 dc 31 31 36  2c 36 2c 2d 31 2c 31 2c  |..h1.116,6,-1,1,|
00000380  31 31 36 2c 36 2c 31 30  38 2c 36 2c 2d 31 2c 31  |116,6,108,6,-1,1|
00000390  2c 31 30 38 2c 36 2c 31  30 30 2c 36 2c 2d 31 2c  |,108,6,100,6,-1,|
000003a0  31 0d 01 72 1f dc 31 30  30 2c 36 2c 39 36 2c 36  |1..r..100,6,96,6|
000003b0  2c 2d 31 2c 31 2c 39 36  2c 36 2c 31 30 34 2c 36  |,-1,1,96,6,104,6|
000003c0  0d 01 7c 1c dc 31 31 32  2c 36 2c 31 31 36 2c 36  |..|..112,6,116,6|
000003d0  2c 31 31 32 2c 36 2c 31  31 36 2c 36 0d 01 86 1f  |,112,6,116,6....|
000003e0  dc 31 32 34 2c 36 2c 39  36 2c 36 2c 2d 31 2c 31  |.124,6,96,6,-1,1|
000003f0  2c 39 36 2c 36 2c 31 32  34 2c 36 0d 01 90 28 dc  |,96,6,124,6...(.|
00000400  20 31 32 38 2c 36 2c 31  32 34 2c 36 2c 2d 31 2c  | 128,6,124,6,-1,|
00000410  31 2c 31 32 34 2c 36 2c  31 31 36 2c 33 2c 31 31  |1,124,6,116,3,11|
00000420  32 2c 33 0d 01 9a 1e dc  31 31 36 2c 36 2c 39 36  |2,3.....116,6,96|
00000430  2c 36 2c 2d 31 2c 31 2c  39 36 2c 36 2c 38 38 2c  |,6,-1,1,96,6,88,|
00000440  36 0d 01 a4 18 dc 38 30  2c 36 2c 37 36 2c 36 2c  |6.....80,6,76,6,|
00000450  36 38 2c 36 2c 36 34 2c  36 0d 01 ae 1d dc 36 38  |68,6,64,6.....68|
00000460  2c 36 2c 34 38 2c 36 2c  32 30 2c 36 2c 2d 31 2c  |,6,48,6,20,6,-1,|
00000470  32 30 2c 30 2c 30 0d 01  b8 0b dd f2 74 68 69 6e  |20,0,0......thin|
00000480  6b 0d 01 c2 16 e3 6c 6f  3d 31 b8 35 3a e3 6c 6f  |k.....lo=1.5:.lo|
00000490  32 3d 31 b8 31 30 30 0d  01 cc 1d e7 6c 65 76 25  |2=1.100.....lev%|
000004a0  28 6c 6f 2c 6c 6f 32 29  3c 31 33 38 8c 8d 64 56  |(lo,lo2)<138..dV|
000004b0  41 8b ed 2c 0d 01 d6 5c  e7 6c 65 76 25 28 6c 6f  |A..,...\.lev%(lo|
000004c0  2c 6c 6f 32 29 3d 31 32  39 8c e7 6c 65 76 25 28  |,lo2)=129..lev%(|
000004d0  6c 6f 2b 31 2c 6c 6f 32  29 3d 30 8c 6c 65 76 25  |lo+1,lo2)=0.lev%|
000004e0  28 6c 6f 2b 31 2c 6c 6f  32 29 3d 31 32 39 3a 6c  |(lo+1,lo2)=129:l|
000004f0  65 76 25 28 6c 6f 2c 6c  6f 32 29 3d 30 8b 6c 65  |ev%(lo,lo2)=0.le|
00000500  76 25 28 6c 6f 2b 31 2c  6c 6f 32 29 3d 31 33 30  |v%(lo+1,lo2)=130|
00000510  0d 01 e0 5a e7 6c 65 76  25 28 6c 6f 2c 6c 6f 32  |...Z.lev%(lo,lo2|
00000520  29 3d 31 33 30 8c e7 6c  65 76 25 28 6c 6f 2d 31  |)=130..lev%(lo-1|
00000530  2c 6c 6f 32 29 3d 30 8c  6c 65 76 25 28 6c 6f 2d  |,lo2)=0.lev%(lo-|
00000540  31 2c 6c 6f 32 29 3d 31  32 39 3a 6c 65 76 25 28  |1,lo2)=129:lev%(|
00000550  6c 6f 2c 6c 6f 32 29 3d  30 8b 6c 65 76 25 28 6c  |lo,lo2)=0.lev%(l|
00000560  6f 2c 6c 6f 32 29 3d 31  32 39 0d ff              |o,lo2)=129..|
0000056c
Games/Lemmings/Lem4.m0
Games/Lemmings/Lem4.m1
Games/Lemmings/Lem4.m2
Games/Lemmings/Lem4.m4
Games/Lemmings/Lem4.m5