mirror of
https://github.com/digarok/MiniMemoryTester.git
synced 2025-01-03 03:29:28 +00:00
fixed bitwalk0 twopass
This commit is contained in:
parent
8acb7b8fa2
commit
686b5c240b
@ -448,7 +448,7 @@ TestUpdateStatus ldy _updateTick
|
|||||||
:noprint rts
|
:noprint rts
|
||||||
|
|
||||||
_updateTick dw #0
|
_updateTick dw #0
|
||||||
_updateInterval = #$0002 ;327 works well
|
_updateInterval = #$0200 ;327 works well
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1055,6 +1055,7 @@ TwoPassBankLogics
|
|||||||
jsr TestTwoPassMakeSeed ;for RANDOM, make a write seed
|
jsr TestTwoPassMakeSeed ;for RANDOM, make a write seed
|
||||||
:checkWriteBitwalk0 cmp #TT_BITWALK0
|
:checkWriteBitwalk0 cmp #TT_BITWALK0
|
||||||
bne :checkWriteBitwalk1
|
bne :checkWriteBitwalk1
|
||||||
|
|
||||||
jmp TestUpdateWalkState ;for BITWALK0, update walkpass and SEC when loops
|
jmp TestUpdateWalkState ;for BITWALK0, update walkpass and SEC when loops
|
||||||
|
|
||||||
:checkWriteBitwalk1 cmp #TT_BITWALK1
|
:checkWriteBitwalk1 cmp #TT_BITWALK1
|
||||||
@ -1068,7 +1069,7 @@ TwoPassBankLogics
|
|||||||
* sets carry when last test complete
|
* sets carry when last test complete
|
||||||
TestUpdateWalkState
|
TestUpdateWalkState
|
||||||
inc _walkState ;walkstate++
|
inc _walkState ;walkstate++
|
||||||
lda Test_16Bit
|
lda TestSize16Bit
|
||||||
bne :walk16
|
bne :walk16
|
||||||
:walk8
|
:walk8
|
||||||
lda _walkState
|
lda _walkState
|
||||||
@ -1083,7 +1084,7 @@ TestUpdateWalkState
|
|||||||
clc
|
clc
|
||||||
rts
|
rts
|
||||||
|
|
||||||
:resetWalkState brk $f0 ;walkstate=0
|
:resetWalkState ;walkstate=0
|
||||||
stz _walkState
|
stz _walkState
|
||||||
sec
|
sec
|
||||||
rts
|
rts
|
||||||
@ -1829,5 +1830,3 @@ BankExpansionHighest ds 1
|
|||||||
BankMap ds 256 ;page-align maps just to make them easier to see
|
BankMap ds 256 ;page-align maps just to make them easier to see
|
||||||
_stash ds 256
|
_stash ds 256
|
||||||
ds \
|
ds \
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user