fix(reset): only check CC.Z when looping over stack init
This commit is contained in:
@@ -28,7 +28,7 @@ NEXT@
|
|||||||
sta STACK_BOTTOM,x ; Write a zero and progress to the next byte
|
sta STACK_BOTTOM,x ; Write a zero and progress to the next byte
|
||||||
leax 1,x
|
leax 1,x
|
||||||
cmpx #STACK_DEPTH ; See if we're at the top of the stack yet
|
cmpx #STACK_DEPTH ; See if we're at the top of the stack yet
|
||||||
blo NEXT@ ; Loop if we aren't at the end yet
|
bne NEXT@ ; Loop if we aren't at the end yet
|
||||||
lds #STACK_TOP ; Set S to top of newly cleared stack
|
lds #STACK_TOP ; Set S to top of newly cleared stack
|
||||||
|
|
||||||
BOOTSCR
|
BOOTSCR
|
||||||
|
Reference in New Issue
Block a user