aboutsummaryrefslogtreecommitdiff
path: root/.nasm/memory.txt
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-25 23:00:50 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-25 23:00:50 +0200
commit9371bcfaffb042fb3d4a7a95f2676612bffce625 (patch)
treeda52be0feea98be93f61be2d1d2205b332d54c6d /.nasm/memory.txt
parentdb2468e22b0eaaa78e68193839b0ef928384c24a (diff)
downloadjetpac.nes-9371bcfaffb042fb3d4a7a95f2676612bffce625.tar.gz
jetpac.nes-9371bcfaffb042fb3d4a7a95f2676612bffce625.zip
Update 'nasm' so scopes are shown in memory.txt
Update to commit 5d4116881f2c ("Add the context's name into memory ranges"), which will display the scopes for variables as listed in .nasm/memory.txt. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to '.nasm/memory.txt')
-rw-r--r--.nasm/memory.txt196
1 files changed, 98 insertions, 98 deletions
diff --git a/.nasm/memory.txt b/.nasm/memory.txt
index f0eff2b..60e4246 100644
--- a/.nasm/memory.txt
+++ b/.nasm/memory.txt
@@ -1,102 +1,102 @@
-$00: zp_arg0
-$01: zp_arg1
-$02: zp_arg2
-$03: zp_arg3
-$04: zp_nmi_reserved
-$05: zp_tmp0
-$06: zp_tmp1
-$07: zp_tmp2
-$08: zp_tmp3
-$09: zp_idx
-$0A: zp_rand
-$0B: zp_player_tile_left
-$0C: zp_player_tile_right
-$0D: zp_player_tile_top
-$0E: zp_player_tile_waist
-$0F: zp_player_tile_bottom
-$10: zp_displayed
-$11: zp_timer
-$12: zp_last_rand
-$20: zp_flags
-$21: zp_prev
-$22: zp_buttons
-$24: zp_level
-$25: zp_level_kind
-$26: zp_shuttle_kind
-$27: zp_multiplayer
-$28: zp_extra_flags
-$2E: zp_blink_status
-$2F: zp_blink_timer
-$30: zp_title_timer
-$32: zp_pause_timer
-$33: zp_next_bullet_cycle
-$34: zp_first_bullet
-$35: zp_timer
-$36: zp_first_enemy
-$37: zp_next_enemy_cycle
-$38: zp_flags
-$40: zp_screen_y
-$41-$42: zp_position_y
-$43: zp_player_tile_y
-$44: zp_velocity_y
-$45: zp_screen_x
-$46-$47: zp_position_x
-$48: zp_player_tile_x
-$49: zp_velocity_x
-$50: zp_state
-$51: zp_walk_counter
-$53-$54: zp_lifes
-$60-$6F: zp_pool_base
-$70-$7E: zp_pool_base
-$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
-$CC-$CD: zp_timer
-$CE: zp_fuel_timer
-$D1: zp_tiles
-$D2-$D3: zp_movement_fn
-$D4: zp_pool_index
-$D5: zp_movement_arg
-$D6: zp_palette
-$DA: zp_frame_count
-$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
+$00: Globals::zp_arg0
+$01: Globals::zp_arg1
+$02: Globals::zp_arg2
+$03: Globals::zp_arg3
+$04: Globals::zp_nmi_reserved
+$05: Globals::zp_tmp0
+$06: Globals::zp_tmp1
+$07: Globals::zp_tmp2
+$08: Globals::zp_tmp3
+$09: Globals::zp_idx
+$0A: Prng::zp_rand
+$0B: Enemies::zp_player_tile_left
+$0C: Enemies::zp_player_tile_right
+$0D: Enemies::zp_player_tile_top
+$0E: Enemies::zp_player_tile_waist
+$0F: Enemies::zp_player_tile_bottom
+$10: Over::zp_displayed
+$11: Over::zp_timer
+$12: Prng::zp_last_rand
+$20: Globals::zp_flags
+$21: Joypad::zp_prev
+$22: Joypad::zp_buttons
+$24: Globals::zp_level
+$25: Globals::zp_level_kind
+$26: Globals::zp_shuttle_kind
+$27: Globals::zp_multiplayer
+$28: Globals::zp_extra_flags
+$2E: Driver::zp_blink_status
+$2F: Driver::zp_blink_timer
+$30: Title::zp_title_timer
+$32: Driver::zp_pause_timer
+$33: Driver::zp_next_bullet_cycle
+$34: Driver::zp_first_bullet
+$35: Bullets::zp_timer
+$36: Driver::zp_first_enemy
+$37: Driver::zp_next_enemy_cycle
+$38: Driver::zp_flags
+$40: Player::zp_screen_y
+$41-$42: Player::zp_position_y
+$43: Items::zp_player_tile_y
+$44: Player::zp_velocity_y
+$45: Player::zp_screen_x
+$46-$47: Player::zp_position_x
+$48: Items::zp_player_tile_x
+$49: Player::zp_velocity_x
+$50: Player::zp_state
+$51: Player::zp_walk_counter
+$53-$54: Player::zp_lifes
+$60-$6F: Enemies::zp_pool_base
+$70-$7E: Explosions::zp_pool_base
+$7F: Explosions::zp_active
+$80: PPU::zp_control
+$81: PPU::zp_mask
+$A0-$BD: Bullets::zp_pool_base
+$C0-$C8: Items::zp_pool_base
+$C9: Items::zp_pool_index
+$CA: Items::zp_state
+$CB: Items::zp_collected
+$CC-$CD: Items::zp_timer
+$CE: Items::zp_fuel_timer
+$D1: Enemies::zp_tiles
+$D2-$D3: Enemies::zp_movement_fn
+$D4: Enemies::zp_pool_index
+$D5: Enemies::zp_movement_arg
+$D6: Enemies::zp_palette
+$DA: Sound::zp_frame_count
+$E0: Bullets::zp_pool_size
+$E1: Bullets::zp_last_allocated_index
+$E2: Bullets::zp_current_bullet_y
+$E3: Bullets::zp_current_bullet_x
+$E7-$EF: Items::zp_current_tiles
+$F0-$FF: Enemies::zp_current_tiles
$0180-$01FF: <stack>
-$0200-$02FF: m_sprites
-$0300-$030B: m_players
-$030C-$0311: m_hi
-$2000: m_control
-$2001: m_mask
-$2002: m_status
-$2003: m_address
-$2005: m_scroll
-$2006: m_address
-$2007: m_data
-$4000: m_square_1_envelope
-$4001: m_square_1_sweep
-$4002: m_square_1_low
-$4003: m_square_1_high
-$4004: m_square_2_envelope
-$4005: m_square_2_sweep
-$4006: m_square_2_low
-$4007: m_square_2_high
-$400C: m_noise_envelope
-$400E: m_noise_mode
-$400F: m_noise_counter
-$4010: m_dmc
-$4014: m_dma
-$4015: m_status
-$4016: m_joypad
-$4017: m_frame_counter
+$0200-$02FF: OAM::m_sprites
+$0300-$030B: Score::m_players
+$030C-$0311: Score::m_hi
+$2000: PPU::m_control
+$2001: PPU::m_mask
+$2002: PPU::m_status
+$2003: OAM::m_address
+$2005: PPU::m_scroll
+$2006: PPU::m_address
+$2007: PPU::m_data
+$4000: APU::m_square_1_envelope
+$4001: APU::m_square_1_sweep
+$4002: APU::m_square_1_low
+$4003: APU::m_square_1_high
+$4004: APU::m_square_2_envelope
+$4005: APU::m_square_2_sweep
+$4006: APU::m_square_2_low
+$4007: APU::m_square_2_high
+$400C: APU::m_noise_envelope
+$400E: APU::m_noise_mode
+$400F: APU::m_noise_counter
+$4010: APU::m_dmc
+$4014: OAM::m_dma
+$4015: APU::m_status
+$4016: Joypad::m_joypad
+$4017: APU::m_frame_counter
--- Summary (in bytes) ---
- Internal RAM: 568/2048 (27.73%)