From 10164ef974f4d4fb3f99381f5f09ededd371d83c Mon Sep 17 00:00:00 2001 From: dwsJason Date: Mon, 2 Sep 2019 14:36:39 -0400 Subject: [PATCH] adb.s: when we instal our SRQ handler, make sure we uninstall anyone else who is listening to stop interferrence --- asm/adb.s | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/asm/adb.s b/asm/adb.s index 60e2b8b..883999b 100644 --- a/asm/adb.s +++ b/asm/adb.s @@ -67,6 +67,17 @@ clear stz KeyArray,x dex bpl clear +* +* Blast any previous existing handler +* This is probably mean, but I want input to work +* + ldx #1 ;Restart internal keyboard scanning + ldy #clearModes + lda #1 ;Clear mode flag + jsr CallSendInfo + pea $2 ;Remove my handler for keyboard + _SRQRemove + * * Install SRQ Completion Handler *