OSDev.org
https://forum.osdev.org/

Keyboard drivers?
https://forum.osdev.org/viewtopic.php?f=1&t=32266
Page 1 of 1

Author:  wat [ Tue Aug 01, 2017 4:49 pm ]
Post subject:  Keyboard drivers?

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)

Author:  LtG [ Tue Aug 01, 2017 5:02 pm ]
Post subject:  Re: Keyboard drivers?

http://wiki.osdev.org/%228042%22_PS/2_Controller
http://wiki.osdev.org/PS/2_Keyboard

http://wiki.osdev.org/VGA_Fonts#Get_from_VGA_RAM_directly

edit. added third URL.

Author:  wat [ Tue Aug 01, 2017 9:33 pm ]
Post subject:  Re: Keyboard drivers?

Thanks

Author:  jackdawson [ Wed Aug 02, 2017 6:24 am ]
Post subject:  Re: Keyboard drivers?

I was also looking for the driver. Thanks :)

Author:  stevewoods1986 [ Mon Aug 14, 2017 8:59 am ]
Post subject:  Re: Keyboard drivers?

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:
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

Author:  elissaamsmart [ Tue May 14, 2019 2:06 am ]
Post subject:  Re: Keyboard drivers?

So nobody noticed spammy porn links above? Put your mouse under "Thanks" and there you'll see colored like a background spammy links

Author:  Octocontrabass [ Tue May 14, 2019 2:10 am ]
Post subject:  Re: Keyboard drivers?

You can use the "report post" button to notify moderators without posing a reply in the thread.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/