ADB - update the add/remove to disable interrupt while doing their job. Seeing some weird issues on real hardware.
This commit is contained in:
parent
7e5a7a985d
commit
57b1abb539
10
asm/adb.s
10
asm/adb.s
|
@ -25,7 +25,9 @@ KeyArray start ASMCODE
|
||||||
ds 128
|
ds 128
|
||||||
|
|
||||||
RemoveKeyboardDriver entry
|
RemoveKeyboardDriver entry
|
||||||
|
php
|
||||||
|
sei
|
||||||
|
|
||||||
phb
|
phb
|
||||||
phk
|
phk
|
||||||
plb
|
plb
|
||||||
|
@ -46,10 +48,13 @@ RemoveKeyboardDriver entry
|
||||||
_SRQRemove
|
_SRQRemove
|
||||||
|
|
||||||
plb
|
plb
|
||||||
|
plp
|
||||||
rtl
|
rtl
|
||||||
|
|
||||||
AddKeyboardDriver entry
|
AddKeyboardDriver entry
|
||||||
|
php
|
||||||
|
sei
|
||||||
|
|
||||||
phb
|
phb
|
||||||
phk
|
phk
|
||||||
plb
|
plb
|
||||||
|
@ -103,6 +108,7 @@ clear stz KeyArray,x
|
||||||
_SetVector
|
_SetVector
|
||||||
|
|
||||||
plb
|
plb
|
||||||
|
plp
|
||||||
rtl ; Back to C
|
rtl ; Back to C
|
||||||
|
|
||||||
* end for the AddKeyboardDriver
|
* end for the AddKeyboardDriver
|
||||||
|
|
Loading…
Reference in New Issue