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à --- .nasm/memory.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.nasm/memory.txt') diff --git a/.nasm/memory.txt b/.nasm/memory.txt index 35133c5..e2ab039 100644 --- a/.nasm/memory.txt +++ b/.nasm/memory.txt @@ -69,6 +69,7 @@ $E2: zp_current_bullet_y $E3: zp_current_bullet_x $E7-$EF: zp_current_tiles $F0-$FF: zp_current_tiles +$0180-$01FF: $0200-$02FF: m_sprites $0300-$030B: m_players $030C-$0311: m_hi @@ -85,4 +86,4 @@ $4016: m_joypad $4017: m_frame_counter --- Summary (in bytes) --- -- Internal RAM: 439/2048 (21.44%) +- Internal RAM: 567/2048 (27.69%) -- cgit v1.2.3