Open davidebreso opened 2 years ago
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).
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: https://github.com/davidebreso/fd-keyb/commit/6b82b8862f8cc69a78eee38a0afba9201694d029