From 60f21153e18ccf45cb120d50f6d5f5c860de78f2 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sat, 7 Mar 2026 00:44:28 +0100 Subject: Move some variables into another memory region MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The zp_player_tile_* variables fit perfectly with the space that is left in the $0x memory region. This allows for a more contiguous space (e.g. on $Cx) for other elements to come (e.g. items). Signed-off-by: Miquel Sabaté Solà --- .nasm/memory.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.nasm') diff --git a/.nasm/memory.txt b/.nasm/memory.txt index 294d911..66efcb4 100644 --- a/.nasm/memory.txt +++ b/.nasm/memory.txt @@ -8,6 +8,11 @@ $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 $20: zp_flags @@ -40,11 +45,6 @@ $7F: zp_active $80: zp_control $81: zp_mask $A0-$BD: zp_pool_base -$C0: zp_player_tile_left -$C1: zp_player_tile_right -$C2: zp_player_tile_top -$C3: zp_player_tile_waist -$C4: zp_player_tile_bottom $D1: zp_tiles $D2-$D3: zp_movement_fn $D4: zp_pool_index -- cgit v1.2.3