From 57b1abb53905b4dd7616b51057aa673091d82e1b Mon Sep 17 00:00:00 2001 From: dwsJason Date: Wed, 21 Nov 2018 19:20:29 -0500 Subject: [PATCH] ADB - update the add/remove to disable interrupt while doing their job. Seeing some weird issues on real hardware. --- asm/adb.s | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/asm/adb.s b/asm/adb.s index 9de8d56..83b2dcd 100644 --- a/asm/adb.s +++ b/asm/adb.s @@ -25,7 +25,9 @@ KeyArray start ASMCODE ds 128 RemoveKeyboardDriver entry - + php + sei + phb phk plb @@ -46,10 +48,13 @@ RemoveKeyboardDriver entry _SRQRemove plb + plp rtl AddKeyboardDriver entry - + php + sei + phb phk plb @@ -103,6 +108,7 @@ clear stz KeyArray,x _SetVector plb + plp rtl ; Back to C * end for the AddKeyboardDriver