diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-11 23:42:38 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-11 23:42:38 +0100 |
| commit | a0ef7b9c4d341de3f3f518626c40576e45cbf244 (patch) | |
| tree | 590c04995b1bcaf2cb91728bc1ce0b84ba211b70 | |
| parent | 58b0af791a8f6a704e4f066dfa187180ae1c8514 (diff) | |
| download | jetpac.nes-a0ef7b9c4d341de3f3f518626c40576e45cbf244.tar.gz jetpac.nes-a0ef7b9c4d341de3f3f518626c40576e45cbf244.zip | |
Don't skip the title page on a DEV build
Just bumping up timers is enough, and we don't get weird "this does not
load _exactly_ as the final game" situations.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
| -rw-r--r-- | src/driver.s | 2 | ||||
| -rw-r--r-- | src/jetpac.s | 21 |
2 files changed, 7 insertions, 16 deletions
diff --git a/src/driver.s b/src/driver.s index 903c2da..7404b94 100644 --- a/src/driver.s +++ b/src/driver.s @@ -8,7 +8,7 @@ ;; never conflict with each other. zp_player_timer = $30 ; asan:ignore PLAYER_TIMER_FULL_VALUE = HZ * 3 - PLAYER_TIMER_DEV_VALUE = HZ / 2 + PLAYER_TIMER_DEV_VALUE = HZ / 4 .ifdef PARTIAL PLAYER_TIMER_VALUE = PLAYER_TIMER_DEV_VALUE .else diff --git a/src/jetpac.s b/src/jetpac.s index 5fdd01f..685c317 100644 --- a/src/jetpac.s +++ b/src/jetpac.s @@ -163,21 +163,12 @@ sta Driver::zp_pal_counter .endif - ;; We shadow the PPU control register in memory. Depending on the `make` - ;; target we might need to switch directly to the main game. Otherwise we go - ;; into the title as expected. - .ifdef PARTIAL - jsr Driver::switch - - lda PPU::zp_control - sta PPU::m_control - .else - jsr Title::init - - lda #%10001000 - sta PPU::zp_control - sta PPU::m_control - .endif + ;; We shadow the PPU control register in memory. Otherwise we go into the + ;; title as expected. + jsr Title::init + lda #%10001000 + sta PPU::zp_control + sta PPU::m_control cli |
