aboutsummaryrefslogtreecommitdiff
path: root/.nasm
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:36:48 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:36:48 +0100
commitbd97502a0c07428d9fed59f65556cad502769adb (patch)
tree736939a6ac99a5b233228e48746ac86a796fdea8 /.nasm
parent68e63fa4ff68d7124b178a9378a9b293f5ddaed4 (diff)
downloadjetpac.nes-bd97502a0c07428d9fed59f65556cad502769adb.tar.gz
jetpac.nes-bd97502a0c07428d9fed59f65556cad502769adb.zip
Apply a correction on enemy movement for PAL
We cannot just "inc"/"dec" for enemy movement, but we have to apply an overstep on PAL every 5 frames in order to be equivalent to the NTSC version. This has been abstracted away on a macro that just does "inc"/"dec" on NTSC, but does this proper "adc"/"sbc" instructions with a helper memory region which is updated every 5 frames. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to '.nasm')
-rw-r--r--.nasm/segments.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/.nasm/segments.txt b/.nasm/segments.txt
index 8849458..ab2bb89 100644
--- a/.nasm/segments.txt
+++ b/.nasm/segments.txt
@@ -1,4 +1,4 @@
- HEADER: 16/16 (100%)
-- ROM0: 6772/32762 (20.67%)
+- ROM0: 6766/32762 (20.65%)
- ROMV: 6/6 (100%)
- ROM2: 8192/8192 (100%)