aboutsummaryrefslogtreecommitdiff
path: root/.nasm
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-02-12 22:22:08 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-02-12 22:22:08 +0100
commitc1e02814a8f5dffc8da80c45b96ccbfe92bdfc49 (patch)
tree3975a42797cfc5c3f9b0e05219874e7236af2cab /.nasm
parent7ff3a8f6fb3bbf101e887f660aa89956d9e3147b (diff)
downloadjetpac.nes-c1e02814a8f5dffc8da80c45b96ccbfe92bdfc49.tar.gz
jetpac.nes-c1e02814a8f5dffc8da80c45b96ccbfe92bdfc49.zip
Initial iteration of enemy movement
For now only the basic algorithm has been written, but the framework for adding the rest has also been written down. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to '.nasm')
-rw-r--r--.nasm/memory.txt6
-rw-r--r--.nasm/segments.txt2
2 files changed, 5 insertions, 3 deletions
diff --git a/.nasm/memory.txt b/.nasm/memory.txt
index 1370006..115865f 100644
--- a/.nasm/memory.txt
+++ b/.nasm/memory.txt
@@ -26,13 +26,15 @@ $46-$47: zp_position_x
$49: zp_velocity_x
$50: zp_state
$51: zp_walk_counter
-$60-$68: zp_enemies_pool_base
+$60-$6B: zp_enemies_pool_base
$80: zp_control
$81: zp_mask
$A0-$BD: zp_bullets_pool_base
$D0: zp_enemies_pool_size
$D1: zp_enemy_tiles
$D2-$D3: zp_enemy_movement_fn
+$D4: zp_pool_index
+$D5: zp_enemy_arg
$E0: zp_bullets_pool_size
$E1: zp_last_allocated_index
$E2: zp_current_bullet_y
@@ -51,4 +53,4 @@ $4016: m_joypad1
$4017: m_frame_counter
--- Summary (in bytes) ---
-- Internal RAM: 335/2048 (16.36%)
+- Internal RAM: 340/2048 (16.60%)
diff --git a/.nasm/segments.txt b/.nasm/segments.txt
index d7be9b6..addf6cc 100644
--- a/.nasm/segments.txt
+++ b/.nasm/segments.txt
@@ -1,4 +1,4 @@
- HEADER: 16/16 (100%)
-- ROM0: 4687/32762 (14.31%)
+- ROM0: 4810/32762 (14.68%)
- ROMV: 6/6 (100%)
- ROM2: 8192/8192 (100%)