FDOS / keyb

FD-KEYB enhances or replaces the BIOS keyboard management to adapt it to international keyboard layouts
13 stars 3 forks source link

XT incompatibility #2

Open davidebreso opened 2 years ago

davidebreso commented 2 years ago

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

aitor-sm commented 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).