diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-25 22:40:48 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-25 22:40:48 +0100 |
| commit | 63ef73de3bdd698ab250407354e24a6de7c9ef20 (patch) | |
| tree | 5caa3f3a37ea32af6f0d4e0ae42ad3fa2b455c55 /src/jetpac.s | |
| parent | ccf320971efe9b11f7b7722b2ee2642a10303203 (diff) | |
| download | jetpac.nes-63ef73de3bdd.tar.gz jetpac.nes-63ef73de3bdd.zip | |
Update scores on screen
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/jetpac.s')
| -rw-r--r-- | src/jetpac.s | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/jetpac.s b/src/jetpac.s index b356192..a50ba6a 100644 --- a/src/jetpac.s +++ b/src/jetpac.s @@ -107,7 +107,7 @@ bpl @vblankwait2 ;; NOTE: palettes are not initialized here as it's going to be one of the - ;; first things done on `main` code. + ;; first things done in main(). __fallthrough__ main .endproc @@ -123,6 +123,12 @@ sta Score::m_hi + 5 @init: + ;; Force the scores to appear. + lda #$80 + sta Globals::zp_extra_flags + + ;; TODO: update high score (see zp_extra_flags) + ;; Disable the PPU and zero out variables which shadow PPU registers. lda #0 sta PPU::m_mask |
