aboutsummaryrefslogtreecommitdiff
path: root/.nasm/memory.txt
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:44:13 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:44:13 +0100
commit9ae51a4c210b8f01718e21eda592c498715a642b (patch)
tree90867f95c133b8c4383a9559075b73b77b92c98b /.nasm/memory.txt
parenta0ef7b9c4d341de3f3f518626c40576e45cbf244 (diff)
downloadjetpac.nes-9ae51a4c210b8f01718e21eda592c498715a642b.tar.gz
jetpac.nes-9ae51a4c210b8f01718e21eda592c498715a642b.zip
Initial implementation for items
This now only supports the appearance of shuttle parts and the fact that the player can collect them at a very specific order and drop them so to stack up the final shuttle. This is of course just the skeleton and there's a bunch of TODO's left. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to '.nasm/memory.txt')
-rw-r--r--.nasm/memory.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/.nasm/memory.txt b/.nasm/memory.txt
index 3367185..cf829a2 100644
--- a/.nasm/memory.txt
+++ b/.nasm/memory.txt
@@ -48,6 +48,10 @@ $7F: zp_active
$80: zp_control
$81: zp_mask
$A0-$BD: zp_pool_base
+$C0-$C8: zp_pool_base
+$C9: zp_pool_index
+$CA: zp_state
+$CB: zp_collected
$D1: zp_tiles
$D2-$D3: zp_movement_fn
$D4: zp_pool_index
@@ -57,6 +61,7 @@ $E0: zp_pool_size
$E1: zp_last_allocated_index
$E2: zp_current_bullet_y
$E3: zp_current_bullet_x
+$E7-$EF: zp_current_tiles
$F0-$FF: zp_current_tiles
$0200-$02FF: m_sprites
$2000: m_control
@@ -72,4 +77,4 @@ $4016: m_joypad
$4017: m_frame_counter
--- Summary (in bytes) ---
-- Internal RAM: 393/2048 (19.19%)
+- Internal RAM: 414/2048 (20.21%)