[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More thoughts about single-load Lode Runner
Continuing.
Here's some of the code I think I'm looking for...but I haven't figured
out what it does yet. The function begins at 6056 and is JMP'd to by the
keyboard read routine and the editor.
ZP addresses 96, 9D, A6 and A7 are updated prior to this call. I don't
know what-all the code really does, but it obviously calls a routine to
check if the disk has valid levels...
See http://xtra.usotsuki.info/lrdas1.txt for more information.
-uso.
lvlplay: LDA #0
STA byte_0_8E
STA byte_0_8F
STA byte_0_90
STA byte_0_91
STA byte_0_97
STA byte_0_A5
STA byte_0_53
STA byte_0_AB
STA byte_0_A8
LDA #$9B ; '>'
STA byte_0_A9
LDA #5
STA byte_0_98
LDA byte_0_A7
LSR A
BEQ loc_0_6099
LDA #1
JSR sub_0_6359
CMP #0
BNE loc_0_6086
JSR notdatadisk
JMP entry