From c3c6f3b4469bf9eadff5763fa16dbbbf15637e57 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 8 Apr 2026 16:10:41 +0200 Subject: Use the new asan:stack statement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows us to account for the stack on the memory report. Using half of the $100 page for stack management is most surely overblown, but I have not really computed how much we are using the stack on this game, even if I suspect that its usage is actually pretty minimal. Anyways, we have room to spare in RAM space, so let's reserve half a page for the stack. Signed-off-by: Miquel Sabaté Solà --- src/jetpac.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jetpac.s') diff --git a/src/jetpac.s b/src/jetpac.s index 767e2ae..f2e28b2 100644 --- a/src/jetpac.s +++ b/src/jetpac.s @@ -65,7 +65,7 @@ ;; Setup the stack. ldx #$FF - txs + txs ; asan:stack $80-$FF ;; Disable NMIs and the APU's DMC. inx -- cgit v1.2.3