From 83eb7bcd8a1bf8be89db506a112c29e677c8c793 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Mon, 13 Apr 2020 14:08:28 -0700 Subject: [PATCH] auto-keyboard enable if no joystick --- src/prelaunch/night.mission.a | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/prelaunch/night.mission.a b/src/prelaunch/night.mission.a index 769d7c04a..fe5193e03 100644 --- a/src/prelaunch/night.mission.a +++ b/src/prelaunch/night.mission.a @@ -1,5 +1,5 @@ ;license:MIT -;(c) 2019 by 4am +;(c) 2019-2020 by 4am !cpu 6502 !to "build/PRELAUNCH/NIGHT.MISSION",plain @@ -11,7 +11,13 @@ lda #$60 sta $8C36 jsr $44E5 ; decompress - +DISABLE_ACCEL + +READ_RAM2_NO_WRITE + lda MachineStatus + and #HAS_JOYSTICK + bne + + inc $AFA ; force keyboard ++ jsr DisableAccelerator + +READ_ROM_NO_WRITE jmp $0800 !if * > $1C0 {