diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-06 16:17:03 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-06 16:17:03 +0100 |
| commit | bc99212539f6da721ab50f4cd5e3ab0b4e76827e (patch) | |
| tree | 403bc0cab318575c88b6ede169a4321a22518883 /src/interrupts.s | |
| parent | 3302f760f1461bc4582c99ee2e4ed0ccc1d5b186 (diff) | |
| download | jetpac.nes-bc99212539f6.tar.gz jetpac.nes-bc99212539f6.zip | |
Toggle a "Paused" message on top of the screen
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/interrupts.s')
| -rw-r--r-- | src/interrupts.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interrupts.s b/src/interrupts.s index 522ee9e..e909d17 100644 --- a/src/interrupts.s +++ b/src/interrupts.s @@ -24,6 +24,12 @@ lda #$02 sta OAM::m_dma + ;; Toggle pause message from the HUD. + lda Driver::zp_pause_toggle + beq @increase_rand + jsr Driver::hud_toggle_pause + +@increase_rand: ;; Increase the random seed. inc Prng::zp_rand |
