Page 1 of 1

Keyboard drivers?

Posted: Tue Aug 01, 2017 4:49 pm
by wat
What's the best (and reasonably easy) way to write a PS/2 keyboard driver? I already have a console driver and a minimal kstdlib.

Is there a good way to store keymaps?

Unrelated: How do I set fonts on a VGA card without being in real mode?

(This is for WatOS)

Re: Keyboard drivers?

Posted: Tue Aug 01, 2017 5:02 pm
by LtG

Re: Keyboard drivers?

Posted: Tue Aug 01, 2017 9:33 pm
by wat
Thanks

Re: Keyboard drivers?

Posted: Wed Aug 02, 2017 6:24 am
by jackdawson
I was also looking for the driver. Thanks :)

Re: Keyboard drivers?

Posted: Mon Aug 14, 2017 8:59 am
by stevewoods1986
wat wrote:What's the best (and reasonably easy) way to write a PS/2 keyboard driver? I already have a console driver and a minimal kstdlib.

Is there a good way to store keymaps?

Unrelated: How do I set fonts on a VGA card without being in real mode?

(This is for WatOS)
PS2_Keyboard is a great article on things.
Here's a short piece of code just to get you started.

Code: Select all

mov al, 0 ; make sure al has nothing in it
in al, 0x60 ; get scancode

cmp al, 0x1E ; scancode for the letter A (scan code set 1)
je firstletter

Re: Keyboard drivers?

Posted: Tue May 14, 2019 2:06 am
by elissaamsmart
So nobody noticed spammy porn links above? Put your mouse under "Thanks" and there you'll see colored like a background spammy links

Re: Keyboard drivers?

Posted: Tue May 14, 2019 2:10 am
by Octocontrabass
You can use the "report post" button to notify moderators without posing a reply in the thread.