From 1bb758d82ee496eeb36c5e94c021f9466678cfe7 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Wed, 10 Jun 2020 19:04:34 -0700 Subject: [PATCH] Aztec: wait for return key if dead --- src/prelaunch/aztec.a | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/src/prelaunch/aztec.a b/src/prelaunch/aztec.a index f12970c5e..67ff13827 100644 --- a/src/prelaunch/aztec.a +++ b/src/prelaunch/aztec.a @@ -1,5 +1,5 @@ ;license:MIT -;(c) 2019 by qkumba +;(c) 2019-2020 by qkumba !cpu 6502 !to "build/PRELAUNCH/AZTEC",plain @@ -17,11 +17,39 @@ sta $B749 jmp $B700 +keypress + lda $C000 + bpl keypress + cmp #$8D + bne keypress + lda #$8D + rts + +intercept + jsr $BC5E + jsr $BC03 + lda $656B + cmp #$2C + bne + + lda #$20 + sta $656B + lda #keypress + sta $656D ++ rts + callback ldx #0 stx $9E52 inx stx $9E53 ; reset vector patch + lda #$4C + sta $BC00 + lda #intercept + sta $BC02 +DISABLE_ACCEL jmp $9D84