aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-08 16:10:41 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-08 16:10:41 +0200
commitc3c6f3b4469bf9eadff5763fa16dbbbf15637e57 (patch)
tree49ba5117a426554e3aeb85de5abf78d5f8478160 /src
parent3cc900bf0482bb2c19df9b1bb753ecfb505bbbe3 (diff)
downloadjetpac.nes-c3c6f3b4469bf9eadff5763fa16dbbbf15637e57.tar.gz
jetpac.nes-c3c6f3b4469bf9eadff5763fa16dbbbf15637e57.zip
Use the new asan:stack statement
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à <mssola@mssola.com>
Diffstat (limited to 'src')
-rw-r--r--src/jetpac.s2
1 files changed, 1 insertions, 1 deletions
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