Start New Discussion Reply to this Discussion need help writing keyboard device driver in my OS
I am building a new OS as a learning experience, and after trudging through intel architecture manuals and osdever tutorials I still have no idea how to write a keyboard device driver- using BIOS calls and interrupts is outdated and I have no idea how to directly interface the keyboard or know when someone has typed something-how do I begin writing a device driver and where can I go to get help on it?
Related Article: Jumping to the next boot device?
is a Assembly discussion thread by lee.j.baxter that has 4 replies, was last updated 2 years ago and has been tagged with the keywords: bootloader, nasm, os.
maf5693
Newbie Poster
15 posts since Jan 2010
Reputation Points: 35
Solved Threads: 0
Skill Endorsements: 0
Also, I am aware that in out ports to 60h are how to access the keyboard, but I have no idea how to handle int 09h (keyboard hardware interrupt which is called when a key is pressed/released) and polling to see if the keyboard buffer is non-empty is horribly slow and inefficient
maf5693
Newbie Poster
15 posts since Jan 2010
Reputation Points: 35
Solved Threads: 0
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page rendered in 0.2812 seconds
using 2.64MB