From c2d9867632166726fae61d8ad2a3a6354eb551ec Mon Sep 17 00:00:00 2001 From: videlanicolas Date: Fri, 7 Jun 2024 00:29:01 +1000 Subject: [PATCH] Enable interrupts before jumping to PLAYER_START When there are enough credits and the player presses "start", the BIOS should jump to PLAYER_START. But interrupts must be re-enabled before this, because VBLANK has not returned 'rte' to re-enable VBLANK interrupts. --- nullbios/biosstart.S | 1 + 1 file changed, 1 insertion(+) diff --git a/nullbios/biosstart.S b/nullbios/biosstart.S index a8d481c..007356a 100644 --- a/nullbios/biosstart.S +++ b/nullbios/biosstart.S @@ -346,6 +346,7 @@ SYSTEM_IO: #endif .Lend_of_coin_prechecks: move.b %d0, BIOS_START_FLAG + move.w #$2000,%sr jsr PLAYER_START.l cmp.b #2, BIOS_USER_MODE bne .Lnostart