diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-04-01 16:23:34 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-04-02 21:22:42 +0200 |
| commit | 2f140cfb7ea73e631fce086327bcb3a674758b0e (patch) | |
| tree | a9b218b25342392a7541932d5649834ecf186987 /src/vectors.s | |
| parent | bcece25da4af0d4f47dc279dd5e1a67cb553186f (diff) | |
| download | jetpac.nes-2f140cfb7ea73e631fce086327bcb3a674758b0e.tar.gz jetpac.nes-2f140cfb7ea73e631fce086327bcb3a674758b0e.zip | |
player: First PAL implementation
The steps by which a player increases its current velocity to reach the
target one has been adapted on PAL, so every five frames it takes an
extra step compared to NTSC. This at least brings PAL to grow its values
at the same rate as NTSC.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'src/vectors.s')
| -rw-r--r-- | src/vectors.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vectors.s b/src/vectors.s index f4c515c..f9aa31d 100644 --- a/src/vectors.s +++ b/src/vectors.s @@ -85,6 +85,11 @@ lda #$02 sta OAM::DMA + ;; PAL-specific code + .ifdef PAL + jsr Driver::pal_handler + .endif + ;; TODO: some actions here will depend on the status of the game... ;; Decrease title timer. |
