believe this is the correct decrement logic

This commit is contained in:
Dagen Brock 2021-03-23 10:56:33 -05:00
parent df8b4444b8
commit 5c428b982e
1 changed files with 5 additions and 7 deletions

View File

@ -1082,11 +1082,11 @@ TestAdvanceLocation lda TestDirection
:dn lda TestSize16Bit
beq :dn8
:dn16 dex
cpx #0
beq :hitBankBoundry
:dn16 cpx #0 ;check if already at 0?
beq :hitBankBoundry ;
dex
beq :hitBankBoundry ;how about now?
dex ;
cpx #0
beq :hitBankBoundryTest ;we still need to test in this case. side effect of odd start/ends
bra :testStartAddr
:dn8 cpx #0
@ -1276,7 +1276,6 @@ TestPatchBanks lda CurBank
rts
CORRUPTOR lda $C000
bpl _nokey
and #11101111
@ -1286,8 +1285,7 @@ CORRUPTOR lda $C000
stal $020000,x
BANKPATCHXX = *-1
sta $C010 ; clear it or we can't test WaitOnError
_nokey nop
rts
_nokey rts
mx %11