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:
dwsJason 2019-09-02 14:36:39 -04:00
parent 96f17aff88
commit 10164ef974
1 changed files with 11 additions and 0 deletions

View File

@ -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
*