Keyboard Help Please !!!!

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
HRR

Keyboard Help Please !!!!

Post by HRR »

I have developed a small kernel in C which can
print characters to the screen. How can I have a
Low-level access to the keyboard using port 60h.
(Please give a code in C)
Chris Giese

RE:Keyboard Help Please !!!!

Post by Chris Giese »

>On 2001-11-07 11:34:28, HRR wrote:
>I have developed a small kernel in C which can
>print characters to the screen. How can I have a
>Low-level access to the keyboard using port 60h.
>(Please give a code in C)

http://www.execpc.com/~geezer/osd/kbd/kbd.c

I have some lists of the scancodes produced by
each key for each scancode set, but they didn't
take into account the internal Num Lock state
of the keyboard. I think I have them fixed, now:
http://www.execpc.com/~geezer/osd/kbd/index.htm#scan
Post Reply