mirror of
https://github.com/dwsJason/xrick2gs.git
synced 2025-08-15 14:27:19 +00:00
adb.s: when we instal our SRQ handler, make sure we uninstall anyone else who is listening to stop interferrence
This commit is contained in:
11
asm/adb.s
11
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
|
||||
*
|
||||
|
Reference in New Issue
Block a user