Repository navigation
Replies: 1 comment 7 replies
|
Hello @tyama501,
I'm not sure whether the bigger benefit would be reducing the dependency on BIOS, since that will always be present on PC98, or instead moving from a polling to interrupt-driven keyboard. It's probably not a big deal, but if you'd like to add a PC98 direct keyboard driver, please go right ahead! I notice from the Linux source that their PC98 keyboard driver uses IRQ 1, just like our kbd-scancode.c. Have you ever tried compiling and using the existing kbd-scancode driver from IBM PC for PC98? This may work with little change, other than possibly some special initialization. If the hardware for reading the scancode is much different, it would probably be better to start from scratch, possibly by copying kbd-scancode.c and then adding code from PC98 Linux 7.1. This is because the IBM PC scancode handler also handles console switching, etc you would want. You may also have to build a custom scancode table for it as well, starting from a table in drivers/char/Keymaps/keymaps.h (these allow for international keyboards layouts, not sure if the PC98 has multiple keyboards). I also noticed a PC98 bus mouse driver: https://github.com/awemorris/linux-pc98/blob/master/linux-7.1/drivers/input/mouse/pc98busmouse.c. Is this what you're using for Nano-X, or is that a serial driver? We now support a PS/2 mouse for IBM PC. Thank you! |
Uh oh!
There was an error while loading. Please reload this page.
It seems that linux 7.1 kernel and Debian 13 have been ported to PC-98 and these are actually working on the 386/486/Pentium machines.
https://github.com/awemorris/linux-pc98
There is pc-98 keyboard driver and it might be good reference to reduce the dependencies of bios keyboard driver on elks.
https://github.com/awemorris/linux-pc98/blob/master/linux-7.1/drivers/input/keyboard/pc98kbd.c
All reactions