KM.RAMWORKS:Fixed issue while writing in LCs

This commit is contained in:
Rémy GIBERT 2016-05-01 21:53:12 +02:00
parent 92dc3f937d
commit 4fabb9ff04

View File

@ -539,7 +539,7 @@ RWDRVX.START sta RWDRVX.XM.BANK+1 setup BANK
txa
beq .1 page 0/1, no need to check BANK
cmp #$D0 $C0 <= PAGE < $D0 ?
bcc .1 no, store in BNK1
bcs .1 no, store in BNK1
ora #$10 Remap $C0 page to $D0 BNK2
.1 ror RWDRVX.XM.RWLC+1 Save Carry to select proper RW bank later