QEMU/Bochs PS/2 Keyboard key repeat

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
zhiayang
Member
Member
Posts: 368
Joined: Tue Dec 27, 2011 7:57 am
Libera.chat IRC: zhiayang

QEMU/Bochs PS/2 Keyboard key repeat

Post by zhiayang »

I've a bit of an issue with the PS/2 keyboard in QEMU and Bochs. I send some bytes to the keyboard to set it up at the max key repeat rate (0x00). It only works in VirtualBox, not QEMU or Bochs...

This is the code:

Code: Select all

while(inb(this->CommandPort) & (1 << 1));
outb(this->DataPort, 0xF3);
outb(this->DataPort, 0x00);
It could be something on my end... but so far it works in VBox.
Thanks!
Post Reply