aboutsummaryrefslogtreecommitdiff
path: root/src/jetpac.s
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 /src/jetpac.s
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 'src/jetpac.s')
0 files changed, 0 insertions, 0 deletions