Hello. I am looking for a keyboard driver writing tutorial i really need help with this.
Thanks--
Driver needed
RE:Driver needed
pmode yes? try polling port 0x60. It returns scan codes, in example ESC has 0x01. I think you can test if an event has happened by polling port 0x64 for something.
You can also make a kbd interrupt, that is IRQ 1. The handler has to inportb(0x60) and outportb(0x20, 0x20) to work. PIC programming will also be needed.
google search "osdev keyboard" gives me for example: http://osdev.neopages.net/docs/wout_kbd.php
cheers,
Adrian
You can also make a kbd interrupt, that is IRQ 1. The handler has to inportb(0x60) and outportb(0x20, 0x20) to work. PIC programming will also be needed.
google search "osdev keyboard" gives me for example: http://osdev.neopages.net/docs/wout_kbd.php
cheers,
Adrian