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
|
dex
|
||||||
bpl clear
|
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
|
* Install SRQ Completion Handler
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue