The driver is incompatible with my XT clone: it is very slow to react to keypresses, or it locks up the keyboard completely.
The current code of the int 9h handler access port 64h to enable and disable the keyboard. However, port 64h do not exists on my machine. The BIOS toggles bit 7 of port 61h to clear the keyboard buffer instead.
Removing the portions of the code that access port 64h, and changing EnableKeyboardProc to toggle bit 7 of port 61h to re-enable the keyboard do fix the problem. A fork of the repository with the fix is here: davidebreso@6b82b88
The driver is incompatible with my XT clone: it is very slow to react to keypresses, or it locks up the keyboard completely.
The current code of the int 9h handler access port 64h to enable and disable the keyboard. However, port 64h do not exists on my machine. The BIOS toggles bit 7 of port 61h to clear the keyboard buffer instead.
Removing the portions of the code that access port 64h, and changing
EnableKeyboardProcto toggle bit 7 of port 61h to re-enable the keyboard do fix the problem. A fork of the repository with the fix is here: davidebreso@6b82b88