From 63ef73de3bdd698ab250407354e24a6de7c9ef20 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 25 Mar 2026 22:40:48 +0100 Subject: Update scores on screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- src/jetpac.s | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/jetpac.s') 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 -- cgit v1.2.3