by vincheezel · 3y ago · 0 comments
This is one of those weird requirements where you just know there’s some chaotic shit going on under the hood (of windows or bugchecker)
I doubt they've kept env around to make BIOS calls at runtime. You have to run those in 16-bit real mode, so it's a massive pain to use outside the initial bootloader in a modern kernel env.
https://wiki.osdev.org/%228042%22_PS/2_Controller
https://github.com/vitoplantamura/BugChecker/blob/master/Bug...
This is the code for how it's reading keyboard input. Seems like it's just dead simple? From what I understand about how BugChecker works, I don't think anything else matters, except maybe ensuring stability.
The purpose of "USB Legacy Mode" as I understood it was to make a USB keyboard appear to be a PS/2 keyboard during boot, so if you could somehow make that mode stay active even after windows boots, maybe it would work with this?
I've seen plenty of blue screens when the kernel has one too many or too less of a handle, lock, or memory allocation, so maybe it needs a safe way of cleaning up things before it take over the kernel usb stack or implement its own.
I'm holding out for a nice AC'97 [0] or modern equivalent mp3 player [1] like the IceExt softice extension.
[0] https://sourceforge.net/p/iceext/code/HEAD/tree/trunk/sys/ac...
[1] https://sourceforge.net/p/iceext/code/HEAD/tree/trunk/sys/mp...