Adding Lode Runner

This commit is contained in:
Antoine Vignau 2023-07-08 18:35:15 +02:00
parent 3924261993
commit b3a7a637a8
18 changed files with 8288 additions and 0 deletions

5424
loderunner/LR.CODE.S Normal file

File diff suppressed because it is too large Load Diff

690
loderunner/LR.DATA.S Normal file
View File

@ -0,0 +1,690 @@
*
* Lode Runner
* (c) 1983, Broderbund Software
* (s) 2014, Brutal Deluxe Software
*
mx %11
org $0800
lst off
*---------------------------------------
*--- Decoded level (28 x 16)
L0800 DS $1C
L081C DS $1C
L0838 DS $1C
L0854 DS $1C
L0870 DS $1C
L088C DS $1C
L08A8 DS $1C
L08C4 DS $1C
L08E0 DS $1C
L08FC DS $1C
L0918 DS $1C
L0934 DS $1C
L0950 DS $1C
L096C DS $1C
L0988 DS $1C
L09A4 DS $1C
L0A00 DS $1C
L0A1C DS $1C
L0A38 DS $1C
L0A54 DS $1C
L0A70 DS $1C
L0A8C DS $1C
L0AA8 DS $1C
L0AC4 DS $1C
L0AE0 DS $1C
L0AFC DS $1C
L0B18 DS $1C
L0B34 DS $1C
L0B50 DS $1C
L0B6C DS $1C
L0B88 DS $1C
L0BA4 DS $1C
ds \
*---
L0C00 ds 256
L0D00 ds 256
L0E00 ds 256
*--- Title page until $1A84
L0F00 HEX 128518851C9423A80011A09518851C94
HEX 23A80011A09518851C9423A80011A8D0
HEX 18851C9423A80006940C8511A8D01885
HEX 1C9423A80006940C8511A8D018851C94
HEX 23A80006940C8511A8D018851C9423A8
HEX 000484A0D582908081A8D5808411A8D0
HEX 18851C9423A8000494A0D582948085A8
HEX D5808511A89418851C9423A80004D5A0
HEX D582D5A095A8D5A09511A8958085A880
HEX A885A880A8D48294A8C082C0AA0004D5
HEX 8294A0D5A0D58085A89511A895A085AA
HEX 81AA85AA81AAD48A94A8D08AD0AA0004
HEX D58A94A8D5A0D58285AA9511A895A085
HEX AA80AA85AA81AAD48A94A8D08AD0AA00
HEX 0494AA94AA9480C58AC58A8511A8D4A8
HEX C18AC482C582C58A94A894A894A894A8
HEX 000494A8D58A948085AAD5828511A8D0
HEX A8C082C582C582C58294A894A894A894
HEX A8000490A0D582948085A8D5808511A8
HEX D0A8C082C582C582C58294A894A894A8
HEX 94A80004D080D580858094A095A08111
HEX A8D0A8C082C582C5AAC18294A894A894
HEX A894A80004D0088580940DA08111A8D0
HEX A8C082C582C5AAC18294A894A894A894
HEX A80004D0088580940DA08111A8D0A8C0
HEX 82C582C5AAC08294A894A894A894A800
HEX 04D0088580940DA08111A8D0A8C082C5
HEX 82C582C08294A894A894A894A80004D0
HEX 08858A940DA08111A8D0A8C080C582C5
HEX 82C48294A894A894A894A80004C08280
HEX A0818AD00DA811A8D0A88080C582C582
HEX C58294A894A894A894A80004C08280A0
HEX 818AD00DA811A895A880AA81AA81AAC1
HEX 82D08AD08A94A8D08A0004C08280A0D1
HEX AAD10DA811A895A880AA81AA81AAC182
HEX D08AD08A94A8D08A0004C08280A0D1AA
HEX D10DA811A885A880A880A880A8C082C0
HEX 82C08294A8C0820005AAD5A2D1AAD1A8
HEX D58A0005AAD582818A90A8D58A0005AA
HEX D582858A94A8D58A00078A958A958A13
HEX A08517A08100078AD4AA858A13A88517
HEX A88100078AD0AA818A13A88517A8D100
HEX 07A8C0AAC08213AA17AAD00007A80AC0
HEX 82138A178AD00007A80AC082138A178A
HEX D00007A80AC082138A178AD00007A80A
HEX C082138A178AD00007A08180D0138A17
HEX 8AD00007A08180D013A880A8C0AAD482
HEX 858A94A081A0C18A0007A08180D013A8
HEX 80AAC1AAD482858A94A885A8C1AA0007
HEX A08180D013A880AAC1AAD482858A94A8
HEX 85A8D1AA0008D5AA9513A8C182858AD0
HEX 80858A948A94AAD0A0810008D5AA9513
HEX A0C182858AD080858A9482948AD0A081
HEX 0008D5AA9513A0C582858AD080858A94
HEX 80948AD0A0810014C582858AD080858A
HEX 94A0958AD0AA0014C582858AD080858A
HEX 94A8958AD0AA0014C582858AD080858A
HEX 94A8958AD08A0014C582858AD080858A
HEX 948A948AD00014C582858AD080858A94
HEX 8A948AD080810013A0C582858AD08285
HEX 8A948A948AD0A0810013AA81AA818AC0
HEX 8AD4AA85A8858AC0AA0013AA81AA818A
HEX C08AD4AA85A8858AC0AA0013AA80A880
HEX 8A808AD0A081A0818A808A0000000000
HEX 0000000000000DD08A000DD0A817C082
HEX 000DD0A817C082000DD0A8D08295A095
HEX A881AAD08AD482000DD08A94A0D1A880
HEX 8AC5A2C18285000DD08094A0D1A8808A
HEX C5A2C18285000DD08094A095A085AAC1
HEX A2C182D4000DD08094A08180948AC0A2
HEX C182C082000DD08094A08180948AC0A2
HEX C182C082000DD080948095A885A8C1A2
HEX 818AD50000000000000000000000C0FF
HEX 9F09C0FF9F11FEFFFF9F00E0FFBF09E0
HEX FFBF11FFFFFFBF0080FFBF0AFFBF11FC
HEX FFFFBF0080FFBF0AFFBF11FCFFFFBF00
HEX 80FFBF0AFFBF11FEFFFFBF00C0FFBF0A
HEX FF9F11FEFFFFBF00C0FFBF0AFF9F11FE
HEX FFFFBF00C0FF9F0AFF9F11FEFFFFBF00
HEX C0FF9F80F0FFFF83F8FFFF9FF8FFFF80
HEX 80FFBFFC9FF8FFFCBFFCFFF8FFF0FFF3
HEX FF80FFFF9FFE9FBE00C0FF9F80FCFFFF
HEX 87FCFFFF9FFCFFFF8180FFBFF89FFCFF
HEX F9FFF8FFFEFFE1FFFBFFC0FFFF9FFFBF
HEX BF00E0FF9F80FCFFFF87FEFFFF8FFEFF
HEX FF8180FFBFF89FF0FFF9FFF8FFFEFFE1
HEX FFFBFFE1FFFFBFFCFFBF00E0FF9F80FE
HEX FFFF87FFFFFF8FFEFFFF8180FFBFF89F
HEX F0FFF9FFF8FFFFFFE1FFFFFFE1FFFFBF
HEX FCFFBF00E0FF8F80FEFFFF87FFFFFF8F
HEX FFFFFF8180FF9FFC9FF0FFF8BFF8FFFF
HEX FFE1FFFFFFF1FFFFBFFEFF9F00E0FF8F
HEX 80FEFFFFC7FFFFFF8FFFFFFF81C0FF9F
HEX FC8FF0FFFCBFF8FFFFFFE1FFFFFFF0FF
HEX FFBFFEFF9F00F0FF8F80FEFFFFC7FFFF
HEX FFC7FFFFFF81C0FF9FFE8FF0FFFCBFF8
HEX FFFFFFE1FFFFFFF0FFFF9FFEFF9F00F0
HEX FF8F80FFFFFFE7FFFFFFC7FFFFFF81C0
HEX FFFFFF8FF0FFFCBFF8FFFFFFE1FFFFFF
HEX F0FFFF9FFEFF8F00F0FF8780FF87FFE7
HEX FFE1FFC7FFC3FF81C0FFFFFF8FF8BFFC
HEX BFF8FFFCFFF0FFF9FFF8FFE19FFEBF00
HEX F0FF8780FFC7FFE3FFE1FFE7FFE1FF81
HEX E0FFFFFF87F8BFFC9FFCFFFCFFF0FFF8
HEX FFF8FFF09FFF9F00F0FF8780FFC7FFE3
HEX FFF1FFE7FFE1FF80E0FFFFFF81F8BFFE
HEX 9FFCBFFCFFF0FFF8BFF8FFF08FFF9F00
HEX F8FF87C0FFC3FFF3FFF1FFE3FFFFFF80
HEX E0FFFFFF80F8BFFE9FFCBFFCFFF0FFF8
HEX BFF8FFFF8FFF8F00F8FF87C0FFC3FFF3
HEX FFF0FFF3FFFFFF80E0FFFFBF80F89FFE
HEX 9FFCBFFCBFF8FFFCBFFCFFFF8FFF8F00
HEX F8FF83C0FFC3FFF3FFF0FFF3FFFFBF80
HEX E0FFFFBF80FC9FFE8FFCBFFCBFF8BFFC
HEX BFFCFFFFCFFF8F00F8FF83C0FFE3FFF9
HEX FFF0FFF3FFFFBF80F0FFFFBF80FC9FFE
HEX 8FFEBFFEBFF8BFFC9FFCFFFFC7FF8F00
HEX F8FF83E0FFE1FFF9FFF8FFF9FF838080
HEX F0FFFFFF80FC9FFF8FFE9FFEBFF8BFFC
HEX 9FFCBF80C0FF8700FCFF83E0FFE1FFF9
HEX BFF8FFF9FF818080F0FFFFFF80FC9FFF
HEX 8FFE9FFE9FF8BFFE9FFEBF80C0FF8700
HEX FCFF81E0FFE1FFF9BFF8FFF9FF818080
HEX F0FFFBFF81FE8FFF8FFE9FFE9FFCBFFE
HEX 9FFE9F80C0FF8700FCFF81E4FFF1FFF8
HEX BFF8FFF9FF809080F8FFF3FF81FECFFF
HEX 87FF9FFF9FFC9FFE9FFE9F80E2FF8700
HEX FCFF81E6FFF1FFF8BFFCFFF9FF819880
HEX F8FFF3FF81FECFFF87FF8FFF9FFC9FFE
HEX 8FFEBF80E3FF8300FEFFFFF7FFFFFFF8
HEX FFFFFFFCFFFF9F80F8FFF3FF93FEFFFF
HEX 87FF8FFF8FFC9FFE8FFEFFFFE3FF8300
HEX FEFFFFF7FFFFFFFCFFFFFFFCFFFF9F80
HEX F8FFF3FF9FFFFFFF87FF8FFF8FFE9FFF
HEX 8FFEFFFFE3FF8300FEFFFFF3FFFFFFFC
HEX FFFFFFFCFFFF8F80F8FFE1FF9FFFFFFF
HEX 83FF8FFF8FFE8FFF8FFFFFFFE3FF8300
HEX FEFFFFF3FFFFBFFCFFFFFFFCFFFF8F80
HEX FCFFE1FF9FFFFFFFC3FFC7FF8FFE8FFF
HEX 87FFFFFFF3FF8100FEFFFFF3FFFFBFFC
HEX FFFFBFFCFFFF8F80FCFFE1FF8FFFFFFF
HEX C3FFC7FF8FFE8FFF87FFFFFFF1FF8100
HEX FEFFFFF3FFFFBFFCFFFFBFFCFFFF8F80
HEX FCFFE1FFCFFFFFFFC3FFC7FF87FECFFF
HEX 87FEFFFFF1FF8100FEFFFFF1FFFFBFFC
HEX FFFEBFF8FFFF8780FCFFC1FFCFFFFFFF
HEX C3FFC7FF87FFC7FF87FEFFFFF1FF8100
HEX FEFFFFE1FFFF9FF8BFFEBFF8FFFF8780
HEX FCFFC1FFC7FFEFFFC3FFC7FF87FFC7FF
HEX 87FEFFFFF1FF8100FEFFFFE1FFFF9FF8
HEX BFFEFFF1FFFF8780FCFFC3FFC7FFE7FF
HEX CFFFDFFF9FFF9FFF9FFCFFFFF0FF8700
HEX FCFFFFC0FFFF8FF09FFCFFE0FFFF8380
HEX F0FF81FF87FFE7FFC7FFCFFF8FFE8FFF
HEX 8FF8FFBFF0FF83000000000000000000
HEX 000012AA8100128A8500128A8500128A
HEX 850012AAC1A28100128AC5A28100128A
HEX C5A28100128AC5A28100128AC5A28100
HEX 12AA81AA810014A0810014A0810014AA
HEX 00000000000000000000000BA0D514D0
HEX AA000BA0C182149419A0C182000BA0C1
HEX 82149418D0A0C182000BA0C182149418
HEX D0A0C182000BA0C182149419A0C18200
HEX 0BA0C182D5A0C182D582D08AD0AAD0A8
HEX C5AA81000BA0C1A2C1A2C1A2C18280A8
HEX 94A2D1A0C18285000BA0C1A2C1A2C1A2
HEX C18280A894A2D1A0C18285000BA0C1A2
HEX C1A2C1A2C18280A894A2D1A0C1828500
HEX 0BA0C1A2C1A2C1A2C18280A894A2D1A0
HEX C18285000BA0C1A2C1A2C1A2C18280A8
HEX 94A2D1A0C18285000BA0D580D580D580
HEX D582D48A94A2D180C582850012C08200
HEX 12C0820012C0820012D5000000000000
HEX 00000000000000000BB09E83F88113C0
HEX 81B0C08180E3C3878F000B98B3868C83
HEX 13C081B0C08180B3E6CC99000B8C838C
HEX 8C15B0F08780B3E68C98000B8C838C8C
HEX E0E3C799CEF1F1C38180B3C6878E000B
HEX 8C838C8CB0E6CC99C399B3C68180E3E7
HEX 8C98000B8C838C8CB0E6CC99C399B3C6
HEX 818083E68C98000B98B3868CB3E6CC99
HEX C399B3C6818083E6CC99000BB09E83F8
HEX E1E3879FC3F1B3868780E3C3878F0010
HEX E0809815830010E0809815830010E080
HEX 8F80F08100
*--- Line numbers
L1A85 HEX 00000000000000008080808080808080
HEX 00000000000000008080808080808080
HEX 00000000000000008080808080808080
HEX 00000000000000008080808080808080
HEX 2828282828282828A8A8A8A8A8A8A8A8
HEX 2828282828282828A8A8A8A8A8A8A8A8
HEX 2828282828282828A8A8A8A8A8A8A8A8
HEX 2828282828282828A8A8A8A8A8A8A8A8
HEX 5050505050505050D0D0D0D0D0D0D0D0
HEX 5050505050505050D0D0D0D0D0D0D0D0
HEX 5050505050505050D0D0D0D0D0D0D0D0
HEX 5050505050505050D0D0D0D0D0D0D0D0
L1B45 HEX 0004080C1014181C0004080C1014181C
HEX 0105090D1115191D0105090D1115191D
HEX 02060A0E12161A1E02060A0E12161A1E
HEX 03070B0F13171B1F03070B0F13171B1F
HEX 0004080C1014181C0004080C1014181C
HEX 0105090D1115191D0105090D1115191D
HEX 02060A0E12161A1E02060A0E12161A1E
HEX 03070B0F13171B1F03070B0F13171B1F
HEX 0004080C1014181C0004080C1014181C
HEX 0105090D1115191D0105090D1115191D
HEX 02060A0E12161A1E02060A0E12161A1E
HEX 03070B0F13171B1F03070B0F13171B1F
*--- Level line numbers
L1C05 DFB <L0800,<L081C,<L0838,<L0854,<L0870,<L088C,<L08A8,<L08C4
DFB <L08E0,<L08FC,<L0918,<L0934,<L0950,<L096C,<L0988,<L09A4
L1C15 DFB >L0800,>L081C,>L0838,>L0854,>L0870,>L088C,>L08A8,>L08C4
DFB >L08E0,>L08FC,>L0918,>L0934,>L0950,>L096C,>L0988,>L09A4
L1C25 DFB >L0A00,>L0A1C,>L0A38,>L0A54,>L0A70,>L0A8C,>L0AA8,>L0AC4
DFB >L0AE0,>L0AFC,>L0B18,>L0B34,>L0B50,>L0B6C,>L0B88,>L0BA4
*--- From a X in text to a X in HGR
L1C35 DB $00
DB $05
DB $0A
DB $0F
DB $14
DB $19
DB $1E
DB $23
DB $28
DB $2D
DB $32
DB $37
DB $3C
DB $41
DB $46
DB $4B
DB $50
DB $55
DB $5A
DB $5F
DB $64
DB $69
DB $6E
DB $73
DB $78
DB $7D
DB $82
DB $87
*--- From a Y in text to a Y in HGR
L1C51 DB $00
DB $0B
DB $16
DB $21
DB $2C
DB $37
DB $42
DB $4D
DB $58
DB $63
DB $6E
DB $79
DB $84
DB $8F
DB $9A
DB $A5
DB $B5
L1C62 DB $00
DB $01
DB $02
DB $04
DB $05
DB $07
DB $08
DB $0A
DB $0B
DB $0C
DB $0E
DB $0F
DB $11
DB $12
DB $14
DB $15
DB $16
DB $18
DB $19
DB $1B
DB $1C
DB $1E
DB $1F
DB $20
DB $22
DB $23
DB $25
DB $26
L1C7E DB $00
DB $03
DB $06
DB $02
DB $05
DB $01
DB $04
DB $00
DB $03
DB $06
DB $02
DB $05
DB $01
DB $04
DB $00
DB $03
DB $06
DB $02
DB $05
DB $01
DB $04
DB $00
DB $03
DB $06
DB $02
DB $05
DB $01
DB $04
L1C9A DB $00
DB $00
DB $00
DB $00
DB $01
DB $01
DB $01
DB $02
DB $02
DB $02
DB $02
DB $03
DB $03
DB $03
DB $04
DB $04
DB $04
DB $04
DB $05
DB $05
DB $05
DB $06
DB $06
DB $06
DB $06
DB $07
DB $07
DB $07
DB $08
DB $08
DB $08
DB $08
DB $09
DB $09
DB $09
DB $0A
DB $0A
DB $0A
DB $0A
DB $0B
DB $0B
DB $0B
DB $0C
DB $0C
DB $0C
DB $0C
DB $0D
DB $0D
DB $0D
DB $0E
DB $0E
DB $0E
DB $0E
DB $0F
DB $0F
DB $0F
DB $10
DB $10
DB $10
DB $10
DB $11
DB $11
DB $11
DB $12
DB $12
DB $12
DB $12
DB $13
DB $13
DB $13
DB $14
DB $14
DB $14
DB $14
DB $15
DB $15
DB $15
DB $16
DB $16
DB $16
DB $16
DB $17
DB $17
DB $17
DB $18
DB $18
DB $18
DB $18
DB $19
DB $19
DB $19
DB $1A
DB $1A
DB $1A
DB $1A
DB $1B
DB $1B
DB $1B
DB $1C
DB $1C
DB $1C
DB $1C
DB $1D
DB $1D
DB $1D
DB $1E
DB $1E
DB $1E
DB $1E
DB $1F
DB $1F
DB $1F
DB $20
DB $20
DB $20
DB $20
DB $21
DB $21
DB $21
DB $22
DB $22
DB $22
DB $22
DB $23
DB $23
DB $23
DB $24
DB $24
DB $24
DB $24
DB $25
DB $25
DB $25
DB $26
DB $26
DB $26
DB $26
DB $27
DB $27
DB $27
L1D26 DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
DB $00
DB $02
DB $04
DB $06
DB $01
DB $03
DB $05
*--- Boot 1 of data disks (T0/S0)
L1DB2 HEX 012058FC2093FE2089FEA000B93408F0
HEX 0E20F0FDC98DD004A9098524C8D0EDA6
HEX 2B9D88C08A4A4A4A4A09C08D3308200C
HEX FD4C00C68D8D8D8D8D8D8DCCCFC4C5A0
HEX D2D5CECEC5D2A0C4C1D4C1A0C4C9D3CB
HEX BA8DADADADADADADADADADADADADADAD
HEX ADADADADADADADAD8D8DC4C9D3CBC5D4
HEX D4C5A0D7C9CCCCA0CECFD4A0C2CFCFD4
HEX 8D8DA0C9CED3C5D2D4A0CEC5D7A0C4C9
HEX D3CBA0C1CEC48DA0C8C9D4A0C1A0CBC5
HEX D9A0D4CFA0D2C5C2CFCFD48D8DA0A0A0
HEX A0A0A0A0A0A0A0000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
DS \
*---

67
loderunner/LR.EQUATES.S Normal file
View File

@ -0,0 +1,67 @@
*
* Lode Runner
* (c) 1983, Broderbund Software
* (s) 2014, Brutal Deluxe Software
*
*---------------------------------------
* REAL EQUATES
*---------------------------------------
maxLEVEL = 150
*---------------------------------------
* ADDRESSES
*---------------------------------------
L0C00 = $0C00
L0C30 = L0C00+$30
L0C60 = L0C30+$30
L0C68 = L0C60+$08
L0C70 = L0C68+$08
L0C78 = L0C70+$08
L0C80 = L0C78+$08
L0C88 = L0C80+$08
L0C90 = L0C88+$08
L0C98 = L0C90+$08
L0CA0 = L0C98+$08
L0CC0 = L0CA0+$20
L0CE0 = L0CC0+$20
L0D00 = $0D00
L0D0B = L0D00+$0B
L0E00 = $0E00
L0E80 = L0E00+$80
L0F00 = $0F00
L1A85 = $1A85
L1B45 = $1B45
L1C05 = $1C05
L1C15 = L1C05+$10
L1C25 = L1C15+$10
L1C35 = L1C25+$10
L1C51 = $1C51
L1C62 = $1C62
L1C7E = $1C7E
L1C9A = $1C9A
L1D00 = $1D00
L1D26 = L1D00+$26
L1DB2 = L1D00+$B2
L1E00 = $1E00
L1F00 = $1F00
L1F01 = L1F00+$01
L1F02 = L1F01+$01
L1F03 = L1F02+$01
L1F04 = L1F03+$01
L1F05 = L1F04+$01
L1F06 = L1F05+$01
L1F07 = L1F06+$01
L1F08 = L1F07+$01
L1FF4 = L1F00+$F4

26
loderunner/LR.MONITOR.S Normal file
View File

@ -0,0 +1,26 @@
*
* Lode Runner
* (c) 1983, Broderbund Software
* (s) 2014, Brutal Deluxe Software
*
mx %11
org $6000
lst off
*---------------------------------------
KBD EQU $C000
KBDSTROBE EQU $C010
SPKR EQU $C030
TXTCLR EQU $C050
MIXCLR EQU $C052
TXTPAGE1 EQU $C054
TXTPAGE2 EQU $C055
HIRES EQU $C057
BUTN0 EQU $C061
BUTN1 EQU $C062
PADDL0 EQU $C064
PADDL1 EQU $C065
PTRIG EQU $C070
SETKBD EQU $FE89

931
loderunner/LR.RWTS.S Normal file
View File

@ -0,0 +1,931 @@
*
* Lode Runner
* (c) 1983, Broderbund Software
* (s) 2014, Brutal Deluxe Software
*
*---------------------------------------
* RWTS
*---------------------------------------
lst on
la = * ; must be $B600
lst off
LB600 HEX 01A527C909D018A52B4A4A4A4A09C085
HEX 3FA95C853E18ADFE086DFF088DFE08AE
HEX FF083015BD4D08853DCEFF08ADFE0885
HEX 27CEFE08A62B6C3E00EEFE08EEFE0820
HEX 89FE2093FE202FFBA62B6CFD08000D0B
HEX 09070503010E0C0A080604020F002064
HEX A7B008A900A88D5DB69140ADC5B54CD2
HEX A6AD5DB6F008EEBDB5D003EEBEB5A900
HEX 8D5DB64C46A58DBCB520A8A620EAA24C
HEX 7DA2A013B142D014C8C017D0F7A019B1
HEX 4299A4B5C8C01DD0F64CBCA6A2FF8E5D
HEX B6D0F600000000000000000000000000
HEX 00000000000000000000000000000000
HEX 2058FCA9C220EDFDA90120DAFDA9AD20
HEX EDFDA90020DAFD600000000000000000
HEX 0000000000000000000000000000B609
LB700 STX LB7E9
STX LB7F7
LDA #$01
STA LB7F8
STA LB7EA
LDA LB7E0
STA LB7E1
LDA #$02
STA LB7EC
LDA #$04
STA LB7ED
LDY LB7E7
DEY
STY LB7F0+1
LDA #$01
STA LB7F4
TXA
LSR
LSR
LSR
LSR
TAX
LDA #$00
STA $04F8,X
STA $0478,X
JSR LB793
LDX #$FF
TXS
STX LB7EB
NOP
NOP
NOP
JSR SETKBD
JMP $9D84
LDA LB7E7
SEC
SBC LB7F0+1
STA LB7E1
LDA LB7E7
STA LB7F0+1
DEC LB7F0+1
LDA #$02
STA LB7EC
LDA #$04
STA LB7ED
LDA #$02
STA LB7F4
JSR LB793
LDA LB7E7
STA LB600+$FE
CLC
ADC #$09
STA LB7F0+1
LDA #$0A
STA LB7E1
SEC
SBC #$01
STA LB600+$FF
STA LB7ED
JSR LB793
RTS
DB $00
DB $00
DB $00
DB $00
DB $00
DB $00
LB793 LDA LB7E4+1
LDY LB7E4
JSR LB7B5
LDY LB7ED
DEY
BPL LB7A9
LDY #$0F
NOP
NOP
DEC LB7EC
LB7A9 STY LB7ED
DEC LB7F0+1
DEC LB7E1
BNE LB793
RTS
LB7B5 PHP
SEI
JSR LBD00
BCS LB7BF
PLP
CLC
RTS
LB7BF PLP
SEC
RTS
DS 29
* LDA LB558+$64
* STA LB7F0+1
* LDA #$00
* STA LB7F0
* LDA LB5C0+$39
* EOR #$FF
* STA LB7EB
* RTS
*
* LDA #$00
* TAY
*LB7D9 STA ($42),Y
* INY
* BNE LB7D9
* RTS
DB $00
LB7E0 DB $1B
LB7E1 DB $00
DB $0A
DB $1B
LB7E4 DA $B7E8
DB $00
LB7E7 DB $B6
LB7E8 DB $01
LB7E9 DB $70
LB7EA DB $01
LB7EB DB $FF
LB7EC DB $13
LB7ED DB $05
DA LB7FB
LB7F0 DA $9600
DB $00
DB $01
LB7F4 DB $01
DB $00
DB $01
LB7F7 DB $60
LB7F8 DB $01
DB $00
DB $00
LB7FB DB $00
DB $01
DB $EF
DB $D8
DB $00
LB800 LDX #$00
LDY #$02
LB804 DEY
LDA ($3E),Y
LSR
ROL LBC00,X
LSR
ROL LBC00,X
STA LBB00,Y
INX
CPX #$56
BCC LB804
LDX #$00
TYA
BNE LB804
LDX #$55
LB81E LDA LBC00,X
AND #$3F
STA LBC00,X
DEX
BPL LB81E
RTS
LB82A SEC
STX $27
STX $0678
LDA $C08D,X
LDA $C08E,X
BMI LB8B4
LDA LBC00
STA $26
LDA #$FF
STA $C08F,X
ORA $C08C,X
PHA
PLA
NOP
LDY #$04
LB84A PHA
PLA
JSR LB8B9
DEY
BNE LB84A
LDA #$D5
JSR LB8B8
LDA #$AA
JSR LB8B8
LDA #$AD
JSR LB8B8
TYA
LDY #$56
BNE LB869
LB866 LDA LBC00,Y
LB869 EOR LBBFF,Y
TAX
LDA LBA29,X
LDX $27
STA $C08D,X
LDA $C08C,X
DEY
BNE LB866
LDA $26
NOP
LB87E EOR LBB00,Y
TAX
LDA LBA29,X
LDX $0678
STA $C08D,X
LDA $C08C,X
LDA LBB00,Y
INY
BNE LB87E
TAX
LDA LBA29,X
LDX $27
JSR LB8BB
LDA #$DE
JSR LB8B8
LDA #$AA
JSR LB8B8
LDA #$EB
JSR LB8B8
LDA #$FF
JSR LB8B8
LDA $C08E,X
LB8B4 LDA $C08C,X
RTS
LB8B8 CLC
LB8B9 PHA
PLA
LB8BB STA $C08D,X
ORA $C08C,X
RTS
LB8C2 LDY #$00
LB8C4 LDX #$56
LB8C6 DEX
BMI LB8C4
LDA LBB00,Y
LSR LBC00,X
ROL
LSR LBC00,X
ROL
STA ($3E),Y
INY
CPY $26
BNE LB8C6
RTS
LB8DC LDY #$20
LB8DE DEY
BEQ LB942
LB8E1 LDA $C08C,X
BPL LB8E1
LB8E6 EOR #$D5
BNE LB8DE
NOP
LB8EB LDA $C08C,X
BPL LB8EB
CMP #$AA
BNE LB8E6
LDY #$56
LB8F6 LDA $C08C,X
BPL LB8F6
CMP #$AD
BNE LB8E6
LDA #$00
LB901 DEY
STY $26
LB904 LDY $C08C,X
BPL LB904
EOR LBA00,Y
LDY $26
STA LBC00,Y
BNE LB901
LB913 STY $26
LB915 LDY $C08C,X
BPL LB915
EOR LBA00,Y
LDY $26
STA LBB00,Y
INY
BNE LB913
LB925 LDY $C08C,X
BPL LB925
CMP LBA00,Y
BNE LB942
LB92F LDA $C08C,X
BPL LB92F
CMP #$DE
BNE LB942
NOP
LB939 LDA $C08C,X
BPL LB939
CMP #$AA
BEQ LB99E
LB942 SEC
RTS
LB944 LDY #$FC
STY $26
LB948 INY
BNE LB94F
INC $26
BEQ LB942
LB94F LDA $C08C,X
BPL LB94F
LB954 CMP #$D5
BNE LB948
NOP
LB959 LDA $C08C,X
BPL LB959
CMP #$AA
BNE LB954
LDY #$03
LB964 LDA $C08C,X
BPL LB964
CMP #$96
BNE LB954
LDA #$00
LB96F STA $27
LB971 LDA $C08C,X
BPL LB971
ROL
STA $26
LB979 LDA $C08C,X
BPL LB979
AND $26
STA |$002C,Y
EOR $27
DEY
BPL LB96F
TAY
BIT $B7
LB98B LDA $C08C,X
BPL LB98B
CMP #$DE
BNE LB942
NOP
LB995 LDA $C08C,X
BPL LB995
CMP #$AA
BIT $A4
LB99E CLC
RTS
LB9A0 STX $2B
STA $2A
CMP $0478
BEQ LB9FC
LDA #$00
STA $26
LB9AD LDA $0478
STA $27
SEC
SBC $2A
BEQ LB9EA
BCS LB9C0
EOR #$FF
INC $0478
BCC LB9C5
LB9C0 ADC #$FE
DEC $0478
LB9C5 CMP $26
BCC LB9CB
LDA $26
LB9CB CMP #$0C
BCS LB9D0
TAY
LB9D0 SEC
JSR LB9EE
LDA LBA11,Y
JSR LBA00
LDA $27
CLC
JSR LB9F1
LDA LBA1D,Y
JSR LBA00
INC $26
BNE LB9AD
LB9EA JSR LBA00
CLC
LB9EE LDA $0478
LB9F1 AND #$03
ROL
ORA $2B
TAX
LDA $C080,X
LDX $2B
LB9FC RTS
TAX
LDY #$A0
LBA00 LDX #$11
LBA02 DEX
BNE LBA02
INC $46
BNE LBA0B
INC $47
LBA0B SEC
SBC #$01
BNE LBA00
RTS
LBA11 HEX 01302824201E1D1C1C1C1C1C
LBA1D HEX 702C26221F1E1D1C1C1C1C1C
LBA29 HEX 96979A9B9D9E9FA6A7ABACADAEAFB2B3
HEX B4B5B6B7B9BABBBCBDBEBFCBCDCECFD3
HEX D6D7D9DADBDCDDDEDFE5E6E7E9EAEBEC
HEX EDEEEFF2F3F4F5F6F7F9FAFBFCFDFEFF
HEX B3B3A0E0B3C3C5B3A0E0B3C3C5B3A0E0
HEX B3B3C5AAA082B3B3C5AAA082C5B3B3AA
HEX 8882C5B3B3AA8882C5C4B3B088
LBA96 HEX 0001989902039C040506A0A1A2A3A4A5
HEX 0708A8A9AA090A0B0C0DB0B10E0F1011
HEX 1213B81415161718191AC0C1C2C3C4C5
HEX C6C7C8C9CA1BCC1C1D1ED0D1D21FD4D5
HEX 2021D822232425262728E0E1E2E3E429
HEX 2A2BE82C2D2E2F303132F0F133343536
HEX 3738F8393A3B3C3D3E3F
LBB00 HEX 00040300000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 000000000000000000000000000000
LBBFF HEX 00
LBC00 HEX 02000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 000000000000
LBC56 SEC
LDA $C08D,X
LDA $C08E,X
BMI LBCBD
LDA #$FF
STA $C08F,X
CMP $C08C,X
PHA
PLA
LBC69 JSR LBCC3
JSR LBCC3
STA $C08D,X
CMP $C08C,X
NOP
DEY
BNE LBC69
LDA #$D5
JSR LBCD5
LDA #$AA
JSR LBCD5
LDA #$96
JSR LBCD5
LDA $41
JSR LBCC4
LDA $44
JSR LBCC4
LDA $3F
JSR LBCC4
LDA $41
EOR $44
EOR $3F
PHA
LSR
ORA $3E
STA $C08D,X
LDA $C08C,X
PLA
ORA #$AA
JSR LBCD4
LDA #$DE
JSR LBCD5
LDA #$AA
JSR LBCD5
LDA #$EB
JSR LBCD5
CLC
LBCBD LDA $C08E,X
LDA $C08C,X
LBCC3 RTS
LBCC4 PHA
LSR
ORA $3E
STA $C08D,X
CMP $C08C,X
PLA
NOP
NOP
NOP
ORA #$AA
LBCD4 NOP
LBCD5 NOP
PHA
PLA
STA $C08D,X
CMP $C08C,X
RTS
HEX 88A5E891A0948896E891A09488969191
HEX C894D0969191C894D09691A3C8A0A585
HEX A4
LBD00 STY $48
STA $49
LDY #$02
STY $06F8
LDY #$04
STY $04F8
LDX LB7E9
LDA $C08E,X
LDA $C08C,X
LDY #$08
LBD19 LDA $C08C,X
PHA
PLA
PHA
PLA
STX $05F8
CMP $C08C,X
BNE LBD2B
DEY
BNE LBD19
LBD2B PHP
LDA $C089,X
LDY #$06
LBD31 LDA ($48),Y
STA |$0036,Y
INY
CPY #$0A
BNE LBD31
LDY #$03
LDA ($3C),Y
STA $47
LDY #$02
LDA ($48),Y
LDY #$10
CMP ($48),Y
BEQ LBD51
STA ($48),Y
PLP
LDY #$00
PHP
LBD51 ROR
BCC LBD59
LDA $C08A,X
BCS LBD5C
LBD59 LDA $C08B,X
LBD5C ROR $35
PLP
PHP
BNE LBD6D
LDY #$07
LBD64 JSR LBA00
DEY
BNE LBD64
LDX $05F8
LBD6D LDY #$04
LDA ($48),Y
JSR LBE5A
PLP
BNE LBDAB
NOP
NOP
NOP
NOP
LDA LB7F4
CMP #$01
BEQ LBDAB
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
LBD9E LDY #$12
LBDA0 DEY
BNE LBDA0
INC $46
BNE LBD9E
INC $47
BNE LBD9E
LBDAB LDY #$0C
LDA ($48),Y
BEQ LBE0B
CMP #$04
BEQ LBE0D
ROR
PHP
BCS LBDBC
JSR LB800
LBDBC LDY #$30
STY $0578
LBDC1 LDX $05F8
JSR LB944
BCC LBDED
LBDC9 DEC $0578
BPL LBDC1
LBDCE LDA $0478
PHA
LDA #$60
JSR LBE95
DEC $06F8
BEQ LBE04
LDA #$04
STA $04F8
LDA #$00
JSR LBE5A
PLA
LBDE7 JSR LBE5A
JMP LBDBC
LBDED LDY $2E
CPY $0478
BEQ LBE10
LDA $0478
PHA
TYA
JSR LBE95
PLA
DEC $04F8
BNE LBDE7
BEQ LBDCE
LBE04 PLA
LDA #$40
LBE07 PLP
JMP LBE47+1
LBE0B BEQ LBE46
LBE0D JMP L8E00
LBE10 LDY #$03
LDA ($48),Y
PHA
LDA $2F
LDY #$0E
STA ($48),Y
PLA
BEQ LBE26
CMP $2F
BEQ LBE26
LDA #$20
BNE LBE07
LBE26 LDY #$05
LDA ($48),Y
TAY
LDA LBFB8,Y
CMP $2D
BNE LBDC9
PLP
BCC LBE51
JSR LB8DC
PHP
BCS LBDC9
PLP
LDX #$00
STX $26
JSR LB8C2
LDX $05F8
LBE46 CLC
LBE47 BIT $38
LDY #$0D
STA ($48),Y
LDA $C088,X
RTS
LBE51 JSR LB82A
BCC LBE46
LDA #$10
BCS LBE47+1
LBE5A PHA
LDY #$01
LDA ($3C),Y
ROR
PLA
BCC LBE6B
ASL
JSR LBE6B
LSR $0478
RTS
LBE6B STA $2A
JSR LBE8E
LDA $0478,Y
BIT $35
BMI LBE7A
LDA $04F8,Y
LBE7A STA $0478
LDA $2A
BIT $35
BMI LBE88
STA $04F8,Y
BPL LBE8B
LBE88 STA $0478,Y
LBE8B JMP LB9A0
LBE8E TXA
LSR
LSR
LSR
LSR
TAY
RTS
LBE95 PHA
LDY #$02
LDA ($48),Y
ROR
ROR $35
JSR LBE8E
PLA
ASL
BIT $35
BMI LBEAB
STA $04F8,Y
BPL LBEAE
LBEAB STA $0478,Y
LBEAE RTS
LBEAF LDY #$03
LDA ($48),Y
STA $41
LDA #$AA
STA $3E
LDY #$56
LDA #$00
STA $44
LBEBF STA LBBFF,Y
DEY
BNE LBEBF
LBEC5 STA LBB00,Y
DEY
BNE LBEC5
LDA #$00
JSR LBE95
LDA #$28
STA $45
LBED4 LDA $44
JSR LBE5A
JSR LBF0D
LDA #$08
BCS LBF04
LDA #$30
STA $0578
LBEE5 SEC
DEC $0578
BEQ LBF04
JSR LB944
BCS LBEE5
LDA $2D
BNE LBEE5
JSR LB8DC
BCS LBEE5
INC $44
LDA $44
CMP #$23
BCC LBED4
CLC
BCC LBF09
LBF04 LDY #$0D
STA ($48),Y
SEC
LBF09 LDA $C088,X
RTS
LBF0D LDA #$00
STA $3F
LDY #$80
BNE LBF17
LBF15 LDY $45
LBF17 JSR LBC56
BCS LBF87
JSR LB82A
BCS LBF87
INC $3F
LDA $3F
CMP #$10
BCC LBF15
LDY #$0F
STY $3F
LDA #$30
STA $0578
LBF32 STA LBFA8,Y
DEY
BPL LBF32
LDY $45
LBF3A JSR LBF87
JSR LBF87
JSR LBF87
PHA
PLA
NOP
DEY
BNE LBF3A
JSR LB944
BCS LBF71
LDA $2D
BEQ LBF67
LDA #$10
CMP $45
LDA $45
SBC #$01
STA $45
CMP #$05
BCS LBF71
SEC
RTS
LBF62 JSR LB944
BCS LBF6C
LBF67 JSR LB8DC
BCC LBF88
LBF6C DEC $0578
BNE LBF62
LBF71 JSR LB944
BCS LBF81
LDA $2D
CMP #$0F
BNE LBF81
JSR LB8DC
BCC LBF0D
LBF81 DEC $0578
BNE LBF71
SEC
LBF87 RTS
LBF88 LDY $2D
LDA LBFA8,Y
BMI LBF6C
LDA #$FF
STA LBFA8,Y
DEC $3F
BPL LBF62
LDA $44
BNE LBFA6
LDA $45
CMP #$10
BCC LBF87
DEC $45
DEC $45
LBFA6 CLC
RTS
LBFA8 HEX FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
LBFB8 HEX 000D0B09070503010E0C0A080604020F
ds \
* HEX 20DCABA9108DF0B3A9238DEFB3604C44
* HEX B70000008D63AA8D70AA8D71AA60205B
* HEX A78CB7AA60207EAEAE9BB39A2016A3BA
* HEX 8E9BB3A9094C85B3

913
loderunner/LR.TABLES.S Normal file
View File

@ -0,0 +1,913 @@
*
* Lode Runner
* (c) 1983, Broderbund Software
* (s) 2014, Brutal Deluxe Software
*
*---------------------------------------
* TABLES
*---------------------------------------
ds $c00
lst on
ici = * ; must be $9B00
lst off
L9B00 HEX 164C6602550166023618550144016614
HEX 360D3017600866031616660436233201
HEX 6201550166201607660236253014600E
HEX 101116251008162310066002300F3617
HEX 660216075501661E1638440116054401
HEX 16074401360755013604550116035501
HEX 1603360B55011603360E44016601600C
HEX 302960024401162B1004600530013667
HEX 32014401662B360C3015361255011603
HEX 550136055501160336086602164A1004
HEX 600730093615660A160D440166021604
HEX 44011602440616044401160262153631
HEX 660162041206440166373601301D6033
HEX 363266031601101B600536284401661F
HEX 361444015501662D3601301260256601
HEX 5501160D66023609300A360444013603
HEX 44013603162244011607440416034401
HEX 1627120E161E55016619360130036007
HEX 101F6007300936336604100916081201
HEX 620C320136324401160B440116094401
HEX 102C60043003360A4401160544013603
HEX 44013603440166033603550136085501
HEX 664C160910154401102F160912031612
HEX 66023606662D55011603101C55011603
HEX 440136033215360B300B600C4401620D
HEX 1202160D4401662036043017361E4401
HEX 362F300860031022161B662655071603
HEX 5501661D16021085600230033603320F
HEX 3603300C36206601160A600666023608
HEX 30056002660216081001600666013608
HEX 30046003660116081002600330013608
HEX 30036003160910026003300336073003
L9D00 HEX 600210021608100160023002360A3002
HEX 60021003160410036005300236076616
HEX 36026633550136055501360455013603
HEX 55013603550166A9620C6607600F5501
HEX 6618162A550116036601600766033603
HEX 301B360844016618360F660844016638
HEX 300E6611600466493703000000000030
HEX 03000000000033070000000000300300
HEX 00000000370300000000003003000000
HEX 00003307000000000030030000000000
HEX 37030000000000300300000000003307
HEX 00000000003003000000000037030000
HEX 00000030030000000900330700000000
HEX 00300300301111111111111111030030
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX D1D5A0A4B1C3B3B58DF9F4E1E2ECE5A0
HEX C5D1D5A0A4B1C3B5B18DE2F9F4E1E2EC
HEX E5A0C5D1D5A0A4B1C3B6B28DE2E9F4E1
HEX E2ECE5A0C5D1D5A0A4B1C3B7C58DF8E2
HEX F9F4E1E2ECE5A0C5D1D5A0A4B1C3B9C1
HEX 8DF8E2E9F4E1E2ECE5A0C5D1D5A0A4B1
HEX C4B2B68DE2EFEFF4A0C5D1D5A0A4B1C4
HEX C2B28DF3E3EFF2E5E2F5E6A0C5D1D5A0
HEX A4B1C6B0B08DE3E8E1F2E4E1F4E1A0C5
HEX D1D5A0A4C1C4B0B08D8DF2F7F4F3F0E1
HEX F2EDA0C5D1D5A0A4C2B7C5B88DF2F7F4
HEX F3F6EFECEDA0C5D1D5A0A4C2B7C5C28D
HEX F2F7F4F3F4F2E3EBA0C5D1D5A0A4C2B7
HEX C5C38DF2F7F4F3F3E5E3F4A0C5D1D5A0
HEX A4C2B7C5C48DF2F7F4F3E2F5E6E6A0C5
HEX D1D5A0A4C2B7C6B08DF2F7F4F3E3EDEE
HEX 06000007000007000006000003061311
HEX 11111111111111030000030603000000
HEX 00000007004344440376111111113111
HEX 11111101000013111111111133000000
HEX 00000000030011111131434444440300
HEX 00000300717011330000000803700008
HEX 03701111310300001311212211111311
HEX 00003000000003000000000003000000
HEX 30000000030000000000030000003800
HEX 70004344444444440370131111111111
HEX 03700000700013110300000000000311
HEX 11111101030003000000000003000000
HEX 00000300030000700000030090700000
HEX 03001111111111111111111111111111
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
LA000 HEX 11116111111111111111110111110600
HEX 61014444440400000000001016616001
HEX 71001013000000008010061111011111
HEX 11131111073111116100004744111113
HEX 11111131011111111101000110131110
HEX 11310111000000800000101311100131
HEX 71101311111113731013111001311111
HEX 03000000131111131107013111100300
LA080 HEX 00000011111311110131111703000000
HEX 01000003000000300010131113113121
HEX 21212121213121211311131131111111
HEX 00111131212103000300301111110110
HEX 11310000131111113111111111071111
HEX 11319300000030701011110180000030
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
LA100 HEX 00000030000000000000000000008007
HEX 00300000000000000000700813810730
HEX 00000000000000701831031001301111
HEX 36111131001001300300000000003307
HEX 00300000003003000000000037030030
HEX 00000030030000000000330700000000
HEX 00300300000000003703000000000030
HEX 03000000000033070000000000300300
LA180 HEX 00000000370300000000003003000000
HEX 00003307000000000030030000000000
HEX 37030000000000300300000000003307
HEX 00000000003003000000000037030000
HEX 00000030030000000900330700000000
HEX 00300300301111111111111111030030
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
LA200 HEX 00020412062214320842245216623472
HEX 0A82449226A254B218C264D236E274F2
HEX 0C028412462294322842A4525662B472
HEX 1A82C49266A2D4B238C2E4D276E2F4F2
HEX 0E020412862214324842245296623472
HEX 2A824492A6A254B258C264D2B6E274F2
HEX 1C028412C62294326842A452D662B472
HEX 3A82C492E6A2D4B278C2E4D2F6E2F4F2
LA280 HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
LA300 HEX 00040614082416340A44265418643674
HEX 0C84469428A456B41AC466D438E476F4
HEX 0E048614482496342A44A6545864B674
HEX 1C84C69468A4D6B43AC4E6D478E4F6F4
HEX 10040614882416344A44265498643674
HEX 2C844694A8A456B45AC466D4B8E476F4
HEX 1E048614C82496346A44A654D864B674
HEX 3C84C694E8A4D6B47AC4E6D4F8E4F6F4
LA380 HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
LA400 HEX 000608160A2618360C4628561A663876
HEX 0E8648962AA658B61CC668D63AE678F6
HEX 100688164A2698362C46A8565A66B876
HEX 1E86C8966AA6D8B63CC6E8D67AE6F8F6
HEX 200608168A2618364C4628569A663876
HEX 2E864896AAA658B65CC668D6BAE678F6
HEX 30068816CA2698366C46A856DA66B876
HEX 3E86C896EAA6D8B67CC6E8D6FAE6F8F6
LA480 HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
LA500 HEX 00080A180C281A380E482A581C683A78
HEX 10884A982CA85AB81EC86AD83CE87AF8
HEX 20088A184C289A382E48AA585C68BA78
HEX 3088CA986CA8DAB83EC8EAD87CE8FAF8
HEX 40080A188C281A384E482A589C683A78
HEX 50884A98ACA85AB85EC86AD8BCE87AF8
HEX 60088A18CC289A386E48AA58DC68BA78
HEX 7088CA98ECA8DAB87EC8EAD8FCE8FAF8
LA580 HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
LA600 HEX 000A0C1A0E2A1C3A104A2C5A1E6A3C7A
HEX 208A4C9A2EAA5CBA30CA6CDA3EEA7CFA
HEX 400A8C1A4E2A9C3A504AAC5A5E6ABC7A
HEX 608ACC9A6EAADCBA70CAECDA7EEAFCFA
HEX 800A0C1A8E2A1C3A904A2C5A9E6A3C7A
HEX A08A4C9AAEAA5CBAB0CA6CDABEEA7CFA
HEX C00A8C1ACE2A9C3AD04AAC5ADE6ABC7A
HEX E08ACC9AEEAADCBAF0CAECDAFEEAFCFA
LA680 HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ABAAABA9ABAAABA9ABAAABA9ABAAAB
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
HEX A9ACAAACA9ACAAACA9ACAAACA9ACAAAC
LA700 HEX 000C0E1C102C1E3C204C2E5C306C3E7C
HEX 408C4E9C50AC5EBC60CC6EDC70EC7EFC
HEX 800C8E1C902C9E3CA04CAE5CB06CBE7C
HEX C08CCE9CD0ACDEBCE0CCEEDCF0ECFEFC
HEX 000C0E1C102C1E3C204C2E5C306C3E7C
HEX 408C4E9C50AC5EBC60CC6EDC70EC7EFC
HEX 800C8E1C902C9E3CA04CAE5CB06CBE7C
HEX C08CCE9CD0ACDEBCE0CCEEDCF0ECFEFC
LA780 HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX A9AAA9AAA9AAA9AAA9AAA9AAA9AAA9AA
HEX AAABAAABAAABAAABAAABAAABAAABAAAB
HEX AAABAAABAAABAAABAAABAAABAAABAAAB
HEX AAACAAACAAACAAACAAACAAACAAACAAAC
HEX AAACAAACAAACAAACAAACAAACAAACAAAC
LA800 HEX 000E101E202E303E404E505E606E707E
HEX 808E909EA0AEB0BEC0CED0DEE0EEF0FE
HEX 000E101E202E303E404E505E606E707E
HEX 808E909EA0AEB0BEC0CED0DEE0EEF0FE
HEX 000E101E202E303E404E505E606E707E
HEX 808E909EA0AEB0BEC0CED0DEE0EEF0FE
HEX 000E101E202E303E404E505E606E707E
HEX 808E909EA0AEB0BEC0CED0DEE0EEF0FE
LA880 HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9
HEX AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
HEX AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
HEX ABABABABABABABABABABABABABABABAB
HEX ABABABABABABABABABABABABABABABAB
HEX ACACACACACACACACACACACACACACACAC
HEX ACACACACACACACACACACACACACACACAC
LA900 DW $8080
DW $8081
DW $8082
DW $8084
DW $8088
DW $8090
DW $80A0
DW $80C0
DW $8180
DW $8083
DW $8086
DW $808C
DW $8098
DW $80B0
DW $80E0
DW $81C0
DW $8280
DW $8085
DW $808A
DW $8094
DW $80A8
DW $80D0
DW $81A0
DW $82C0
DW $8380
DW $8087
DW $808E
DW $809C
DW $80B8
DW $80F0
DW $81E0
DW $83C0
DW $8480
DW $8089
DW $8092
DW $80A4
DW $80C8
DW $8190
DW $82A0
DW $84C0
DW $8580
DW $808B
DW $8096
DW $80AC
DW $80D8
DW $81B0
DW $82E0
DW $85C0
DW $8680
DW $808D
DW $809A
DW $80B4
DW $80E8
DW $81D0
DW $83A0
DW $86C0
DW $8780
DW $808F
DW $809E
DW $80BC
DW $80F8
DW $81F0
DW $83E0
DW $87C0
LA980 DW $8880
DW $8091
DW $80A2
DW $80C4
DW $8188
DW $8290
DW $84A0
DW $88C0
DW $8980
DW $8093
DW $80A6
DW $80CC
DW $8198
DW $82B0
DW $84E0
DW $89C0
DW $8A80
DW $8095
DW $80AA
DW $80D4
DW $81A8
DW $82D0
DW $85A0
DW $8AC0
DW $8B80
DW $8097
DW $80AE
DW $80DC
DW $81B8
DW $82F0
DW $85E0
DW $8BC0
DW $8C80
DW $8099
DW $80B2
DW $80E4
DW $81C8
DW $8390
DW $86A0
DW $8CC0
DW $8D80
DW $809B
DW $80B6
DW $80EC
DW $81D8
DW $83B0
DW $86E0
DW $8DC0
DW $8E80
DW $809D
DW $80BA
DW $80F4
DW $81E8
DW $83D0
DW $87A0
DW $8EC0
DW $8F80
DW $809F
DW $80BE
DW $80FC
DW $81F8
DW $83F0
DW $87E0
DW $8FC0
LAA00 DW $9080
DW $80A1
DW $80C2
DW $8184
DW $8288
DW $8490
DW $88A0
DW $90C0
DW $9180
DW $80A3
DW $80C6
DW $818C
DW $8298
DW $84B0
DW $88E0
DW $91C0
DW $9280
DW $80A5
DW $80CA
DW $8194
DW $82A8
DW $84D0
DW $89A0
DW $92C0
DW $9380
DW $80A7
DW $80CE
DW $819C
DW $82B8
DW $84F0
DW $89E0
DW $93C0
DW $9480
DW $80A9
DW $80D2
DW $81A4
DW $82C8
DW $8590
DW $8AA0
DW $94C0
DW $9580
DW $80AB
DW $80D6
DW $81AC
DW $82D8
DW $85B0
DW $8AE0
DW $95C0
DW $9680
DW $80AD
DW $80DA
DW $81B4
DW $82E8
DW $85D0
DW $8BA0
DW $96C0
DW $9780
DW $80AF
DW $80DE
DW $81BC
DW $82F8
DW $85F0
DW $8BE0
DW $97C0
LAA80 DW $9880
DW $80B1
DW $80E2
DW $81C4
DW $8388
DW $8690
DW $8CA0
DW $98C0
DW $9980
DW $80B3
DW $80E6
DW $81CC
DW $8398
DW $86B0
DW $8CE0
DW $99C0
DW $9A80
DW $80B5
DW $80EA
DW $81D4
DW $83A8
DW $86D0
DW $8DA0
DW $9AC0
DW $9B80
DW $80B7
DW $80EE
DW $81DC
DW $83B8
DW $86F0
DW $8DE0
DW $9BC0
DW $9C80
DW $80B9
DW $80F2
DW $81E4
DW $83C8
DW $8790
DW $8EA0
DW $9CC0
DW $9D80
DW $80BB
DW $80F6
DW $81EC
DW $83D8
DW $87B0
DW $8EE0
DW $9DC0
DW $9E80
DW $80BD
DW $80FA
DW $81F4
DW $83E8
DW $87D0
DW $8FA0
DW $9EC0
DW $9F80
DW $80BF
DW $80FE
DW $81FC
DW $83F8
DW $87F0
DW $8FE0
DW $9FC0
LAB00 DW $A080
DW $80C1
DW $8182
DW $8284
DW $8488
DW $8890
DW $90A0
DW $A0C0
DW $A180
DW $80C3
DW $8186
DW $828C
DW $8498
DW $88B0
DW $90E0
DW $A1C0
DW $A280
DW $80C5
DW $818A
DW $8294
DW $84A8
DW $88D0
DW $91A0
DW $A2C0
DW $A380
DW $80C7
DW $818E
DW $829C
DW $84B8
DW $88F0
DW $91E0
DW $A3C0
DW $A480
DW $80C9
DW $8192
DW $82A4
DW $84C8
DW $8990
DW $92A0
DW $A4C0
DW $A580
DW $80CB
DW $8196
DW $82AC
DW $84D8
DW $89B0
DW $92E0
DW $A5C0
DW $A680
DW $80CD
DW $819A
DW $82B4
DW $84E8
DW $89D0
DW $93A0
DW $A6C0
DW $A780
DW $80CF
DW $819E
DW $82BC
DW $84F8
DW $89F0
DW $93E0
DW $A7C0
LAB80 DW $A880
DW $80D1
DW $81A2
DW $82C4
DW $8588
DW $8A90
DW $94A0
DW $A8C0
DW $A980
DW $80D3
DW $81A6
DW $82CC
DW $8598
DW $8AB0
DW $94E0
DW $A9C0
DW $AA80
DW $80D5
DW $81AA
DW $82D4
DW $85A8
DW $8AD0
DW $95A0
DW $AAC0
DW $AB80
DW $80D7
DW $81AE
DW $82DC
DW $85B8
DW $8AF0
DW $95E0
DW $ABC0
DW $AC80
DW $80D9
DW $81B2
DW $82E4
DW $85C8
DW $8B90
DW $96A0
DW $ACC0
DW $AD80
DW $80DB
DW $81B6
DW $82EC
DW $85D8
DW $8BB0
DW $96E0
DW $ADC0
DW $AE80
DW $80DD
DW $81BA
DW $82F4
DW $85E8
DW $8BD0
DW $97A0
DW $AEC0
DW $AF80
DW $80DF
DW $81BE
DW $82FC
DW $85F8
DW $8BF0
DW $97E0
DW $AFC0
LAC00 DW $B080
DW $80E1
DW $81C2
DW $8384
DW $8688
DW $8C90
DW $98A0
DW $B0C0
DW $B180
DW $80E3
DW $81C6
DW $838C
DW $8698
DW $8CB0
DW $98E0
DW $B1C0
DW $B280
DW $80E5
DW $81CA
DW $8394
DW $86A8
DW $8CD0
DW $99A0
DW $B2C0
DW $B380
DW $80E7
DW $81CE
DW $839C
DW $86B8
DW $8CF0
DW $99E0
DW $B3C0
DW $B480
DW $80E9
DW $81D2
DW $83A4
DW $86C8
DW $8D90
DW $9AA0
DW $B4C0
DW $B580
DW $80EB
DW $81D6
DW $83AC
DW $86D8
DW $8DB0
DW $9AE0
DW $B5C0
DW $B680
DW $80ED
DW $81DA
DW $83B4
DW $86E8
DW $8DD0
DW $9BA0
DW $B6C0
DW $B780
DW $80EF
DW $81DE
DW $83BC
DW $86F8
DW $8DF0
DW $9BE0
DW $B7C0
LAC80 DW $B880
DW $80F1
DW $81E2
DW $83C4
DW $8788
DW $8E90
DW $9CA0
DW $B8C0
DW $B980
DW $80F3
DW $81E6
DW $83CC
DW $8798
DW $8EB0
DW $9CE0
DW $B9C0
DW $BA80
DW $80F5
DW $81EA
DW $83D4
DW $87A8
DW $8ED0
DW $9DA0
DW $BAC0
DW $BB80
DW $80F7
DW $81EE
DW $83DC
DW $87B8
DW $8EF0
DW $9DE0
DW $BBC0
DW $BC80
DW $80F9
DW $81F2
DW $83E4
DW $87C8
DW $8F90
DW $9EA0
DW $BCC0
DW $BD80
DW $80FB
DW $81F6
DW $83EC
DW $87D8
DW $8FB0
DW $9EE0
DW $BDC0
DW $BE80
DW $80FD
DW $81FA
DW $83F4
DW $87E8
DW $8FD0
DW $9FA0
DW $BEC0
DW $BF80
DW $80FF
DW $81FE
DW $83FC
DW $87F8
DW $8FF0
DW $9FE0
DW $BFC0
LAD00 HEX 001555060055060010407F0808083040
HEX 40403026130660180618600000100025
HEX 20000000001000004040401010022008
HEX 02082020202222000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000000203
HEX 00020203000200000000070000000000
HEX 00000006030300000300000000000002
HEX 00000000000000000000000000010000
HEX 01000000000404000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000000600
HEX 001555067F55060028607F1C1C1C3060
HEX 606031763B0660180618600000000015
HEX 28200000003800002020202828022008
HEX 02082020212222000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000000700
HEX 00020203070200000001070000000401
HEX 01010006030300000300000000000002
HEX 00000000000000000101010000010000
HEX 01000004000404000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000007060
HEX 0015557E00007E0028607F1C1C1C7060
HEX 60603F763B3678783678780000000015
HEX 01280000003800002020202828222828
HEX 0A2828202B2222000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000000006
HEX 00020203000003000001070000000701
HEX 01010006030300000300000000000002
HEX 02000000000000000101010000010000
HEX 01000005000404000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000003870
HEX 00155506007C060020707F3818187240
HEX 6060387C7E7638703C703B0010001015
HEX 15292000001800102020202020222820
HEX 0A280822282828000000002A282A2A0A
HEX 2A2A2A282A5415551555555541041041
HEX 01414155555555555541454141515501
HEX 0014144000400000
HEX 00020203000103000000070000000001
HEX 00000203010100060300000000000002
HEX 02020000000000000000000000010004
HEX 01000000020101000000000100010101
HEX 01010101010000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000000000
HEX 0000550600300000286C7F5C387A7E70
HEX 70787860183C1E6070601E0000000000
HEX 00002800007E00002828282028280A20
HEX 28200A2A28202000000000022802020A
HEX 02022008024411414105054141041051
HEX 01454151415141410441454141514105
HEX 0014144000500000
HEX 00000203000003000101070100000007
HEX 00020300000000030103000000000000
HEX 00000000000000000100010101000001
HEX 00010000030000000000000100010101
HEX 00010101010000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000000000
HEX 005155060030007822367F337C5E705A
HEX 786C386018181B606060180000110151
HEX 51512820005A00002228222828080A20
HEX 2020082028202000000000022000000A
HEX 02022008024411014105050141041011
HEX 01554551415141010441454141514114
HEX 0005501055140101
HEX 00020203000003010406070300010005
HEX 01030000000000000006000002000002
HEX 02020100000500020401010104000000
HEX 00010000000000000000000100010101
HEX 00000101010000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000002000820
HEX 005155060030002860307F307B187042
HEX 78603878781818606060181001000051
HEX 51510020001810053060603230080820
HEX 202008703870780001000002202A282A
HEX 2A02202A2A5555014115150155145015
HEX 01555541554155550441454114551050
HEX 0005501055050000
HEX 00020203000003010000070000000001
HEX 06000000000000000000000000020002
HEX 02020001000400000004000000000000
HEX 00000000000100000200000100010101
HEX 01000101010000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000002006C00
HEX 0051557E0030067870707F381C3C5860
HEX 60706C6C581E1C706060384004010051
HEX 515151292038440270607038781E1C70
HEX 70701C586C306C000100002220020000
HEX 202A2802204141054501015145145055
HEX 05415541054115501445455514141450
HEX 0005500455050001
HEX 00020203000003010000070000000101
HEX 01010000010000000301000400000202
HEX 02020201000000000001010000000000
HEX 01000001000300000200000100000101
HEX 01010001010000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000002000000
HEX 0051550600557E28585E7F6C3C665830
HEX 70186E6C5813365820306C0450040051
HEX 51515101286C12525E7018784C133658
HEX 105836586E306C010100282220020000
HEX 20220802204141054501015145145045
HEX 05415141054115501445555541140114
HEX 1405500455140001
HEX 00020203000203010701070300000303
HEX 01030000010000010603000404000002
HEX 02020200000000000101030001000001
HEX 03010003000300020200000100000101
HEX 01010001010000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000002004145
HEX 005155060055067818407F0C70461830
HEX 380C606C581B365860306C1004400051
HEX 51515151286C0A0840380C600C1B3658
HEX 3058361860306C0101282A2228220200
HEX 20220802205141454501014145145145
HEX 05414141051145511445144541145105
HEX 1414140100500000
HEX 00020203000200010001070000010003
HEX 00030000010000010603000105000002
HEX 02020202010002010100030103000001
HEX 03010000000300020200010101010101
HEX 01010001010000000000000000000000
HEX 00000000000000000000000000000000
HEX 0000000000005545
HEX 000000060000060018407F0C30401C30
HEX 300C6060180D365840306C0010000000
HEX 00000000006C080840300C60000D3058
HEX 6058361C60306000002A2A2A282A2A00
HEX 2A2A082A205155551555015545145545
HEX 55414155054545551455044141145501
HEX 1414140100400000
HEX 00000003000000000001070000010003
HEX 00000100000000010503000101000000
HEX 00000000000000010100000003000001
HEX 02010000010000000001010101010101
HEX 01010001010000000000000000000000
HEX 00000000000000000000000000000000
HEX 00000000000081A8
LB5F0 HEX C5A2D4A200D08A948080808080808080

BIN
loderunner/LR.TITLE.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

BIN
loderunner/Lode Runner.dsk Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,113 @@
Lode runner
Broderbund
Adaptation for 4play
Antoine Vignau & Olivier Zardini
Brutal Deluxe Software
===
Addresses in RAM vs Track/Sector
$6000 T0E/S0
$7000 T0F/S0
$8000 T10/S0
$8F00 T10/SF
Search of joystick usage on the disk
with map in memory
$C061
-----------
$0E/$01-$A5 $61A4
$0E/$09-$C9 $69C8
$0E/$0A-$DA $6AD9
$0F/$07-$C3 $77C2
$10/$07-$90 $878F
$10/$0D-$37 $8D37
$C062
-----------
$0E/$01-$A0 $619F
$0E/$09-$C4 $69C3
$0E/$0A-$D1 $6AD0
$0F/$07-$BE $77BD
$10/$07-$8B $878A
$10/$0D-$32 $8D31
$C064
-----------
$10/$07-$52 $8751
$10/$07-$5C $875B
$10/$07-$A8 $87A7*
$C065
-----------
$10/$07-$5F $875E
$10/$07-$AB $87AA*
$C070
-----------
$10/$07-$4D $874C
$10/$07-$A3 $87A2*
* checks that a joystick is plugged, if not, force Keyboard
routine is called once at $6000
we can leave it as it is
ADDRESSES TO PATCH IN MEMORY
$xxxx before
=> after
If we do not find a 4play card, jump to $87B5, that will init the Keyboard mode of LR:
$6000 20 A2 87
=> 20 00 8F
$619F AD 62 C0 30 5D AD 61 C0 30 58
A=> AD 90 C0 30 5D 29 40 F0 59 EA
B=> AD 90 C0 30 5D 29 40 D0 59 EA
This next routine changes the behaviour of the program (slightly)
Before, priority was given to button 2.
Now, priority is given to button 1:
$69C3 AD 62 C0 30 05 AD 61 C0 10 09
A=> AD 90 C0 30 05 29 40 D0 0A EA
B=> AD 90 C0 30 05 29 40 F0 0A EA
=> $6AD0 is where you dig left or right:
$6AD0 AD 62 C0 10 04 A9 D5 D0 07 AD
61 C0 10 07
A=> AD 90 C0 10 04 A9 D5 D0 07 29
40 D0 08 EA
B=> AD 90 C0 10 04 A9 D5 D0 07 29
40 F0 08 EA
$77BD AD 62 C0 30 14 AD 61 C0 30 0F
A=> AD 90 C0 30 14 29 40 F0 10 EA
B=> AD 90 C0 30 14 29 40 D0 10 EA
$8746 A9 00 85 65 85 66 AD 70
C0 A2 01 BD 64 C0 10 13
F6 65 CA 10 F6 AD 64 C0
0D 65 C0 10 09 A5 65 05
66 10 E6 EA 10 EC 60
AB=> AD 90 C0 48 29 03 AA BD
5E 87 85 66 68 29 0C 4A
4A AA BD 5E 87 85 65 60
20 10 40 20
$878A AD 62 C0 30 07 AD 61 C0 30 02
A=> AD 90 C0 30 07 29 40 F0 03 EA
B=> AD 90 C0 30 07 29 40 F0 03 EA
$8D31 AD 62 C0 30 0B AD 61 C0 30 06
A=> AD 90 C0 30 0B 29 40 F0 07 EA
B=> AD 90 C0 30 0B 29 40 D0 07 EA

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,124 @@
$0F00..$19FF SCORE TABLE LEVEL
$0C00 $0D00 $0E00 $0F00 $1A00 $1B00 $1C00 $1D00 $1E00 $1F00
$0CA0 $0D00 $0E00 LOGO $1A85 $1B45 $1C05 $1D00 $1FF4
$0CC0 $0D0B $0E80 $1C15 $1D26 $1F03
$0CE0 $1C25 $1DB2 $1F02
$0C70 $1C06 $1F01
$0C98 $1C16 $1F04
$0C30 $1C26 $1F05
$0C60 $1C51 $1F06
$0C68 $1C35 $1F07
$0C70 $1C62 $1F08
$0C78 $1C7E
$0C80 $1C9A
$0C88
$0C90
*-------------------------------
*
*-------------------------------
Memory map
$0C00..$1DFF Tables
$0D00..$0DFF Level?
$1E00..$1EFF Level
$1F00..$1FFF Score file
$2000..$3FFF HGR1
$4000..$5FFF HGR2
$6000..$8EFF Code
$9B00..$ACFF Tables
$AD00..$xxxx Fonts / Sprites
$yyyy..$B5FF Tables
$B600..$BFFF RWTS
Zero Page
$06 w pointer
$08 w pointer
$0C w pointer
$0E w pointer
$10 w pointer
1E key pressed (and sprite, see editor
1F HGR page
60
61
62
63
64
65 X-POS
66 Y-POS
67
68
69
6A
6B
6C
6D
6E
6F
70
71
72
73
74
75
76
77
78
79
7A
7B
7C
7D
7E
7F
80
81
82
83
84
85 X-coord for text/cursor
86 Y-coord for text/cursor
87 HGR page to draw on
88
89 score 1
8A score 2
8B score 3
8C fgDELAY Number of loops to wait
8D
8E
8F
90
91
92
93
94
95 fgINPUT CA: Joystick / CB: Keyboard
96 theLEVEL current played level
97
98 number of men
99 fgSOUND
9A X
9B
9C
9D
9E X
9F X
A0
A1
A2
A3
A4
A5
A6 current level
A7 X
A8 X
A9 X
AA X
AB X demo mode?
AC X
AD
AE
AF