From b8e5604d57e37b26a978bbf96e2290ed9e483835 Mon Sep 17 00:00:00 2001 From: Gale Faraday Date: Sun, 14 Sep 2025 11:46:26 -0500 Subject: [PATCH] Revert "fix(reset): only check CC.Z when looping over stack init" This reverts commit 97ff749e8b76d1cefdeeaf885aa1461b36bd43e5. --- src/reset.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reset.s b/src/reset.s index 49a4f2e..e5a7c56 100644 --- a/src/reset.s +++ b/src/reset.s @@ -28,7 +28,7 @@ NEXT@ sta STACK_BOTTOM,x ; Write a zero and progress to the next byte leax 1,x cmpx #STACK_DEPTH ; See if we're at the top of the stack yet - bne NEXT@ ; Loop if we aren't at the end yet + blo NEXT@ ; Loop if we aren't at the end yet lds #STACK_TOP ; Set S to top of newly cleared stack BOOTSCR