FDOS/keyb

XT incompatibility

Opened this issue · 1 comments

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

Hello,
The official FD repository has moved to GitLab ( https://gitlab.com/FreeDOS/base/keyb/-/issues ). I have opened it as issue there:
https://gitlab.com/FreeDOS/base/keyb/-/issues/1
Hopefully it will be shipped by next version (need to bring the change to GitLab).