mirror of
https://github.com/dwsJason/xrick2gs.git
synced 2025-01-04 20:31:21 +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:
parent
96f17aff88
commit
10164ef974
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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user