in my keyboard driver, when i move edh to the port 64h, i receive the error message in bochs as:
unsupported io write to 64h value=ed
what will be the problem?
KBD Queries
Re:KBD Queries
you want to play with kbd leds, don't you?
port 64h is the kbd status port, from which you fetch status information.- like: input buffer ready/output buffer ready.
a command like 0xed (modify led), you write to port 0x60, just followed by the value describing which leds to torn on/off .
everything clear now?
port 64h is the kbd status port, from which you fetch status information.- like: input buffer ready/output buffer ready.
a command like 0xed (modify led), you write to port 0x60, just followed by the value describing which leds to torn on/off .
everything clear now?
Re:KBD Queries
I guess that bochs doesn't support this port yet. Lets face it its hardly a key functionality thing. You could use #ifdef's so you can compile a bochs version but I've given up on bochs if it works on a real PC I'm happyerror message in bochs
Re:KBD Queries
Bochs supports this kind of operatiion, Pete. I use it all the time and it works pretty fine as long as i dont' exceed the length of data which can bew written to that port.
Yeah, and this led thing now works for quite a year pretty fine.
stay safe.
Yeah, and this led thing now works for quite a year pretty fine.
stay safe.