hi everyone,
i am trying to create a beta version of a keyboard driver. could anyone tell me how to do this? i saw some source code for one once- but i cant find it. i need to know about ASCII programming, etc. if anyone has any suggestions it would be great!!
P.S.- go to [http://www.yoctosoft.tk] and join my developing team![/url]
my drivers
my drivers
oh microsoft, microsoft, what souls you have dismayed
- mathematician
- Member
- Posts: 437
- Joined: Fri Dec 15, 2006 5:26 pm
- Location: Church Stretton Uk
The first thing you need to do is search the web for a table which will enable you to pair off the scan codes you get from the keyboard controller with either ascii codes for the alphanumeric characters, or keypresses for such keys as Ctrl, Caps Lock, or Alt; keeping a record of the latter, and using them when you are creating the ascii codes for the former. Then you need to store the results of you labours in a buffer so that they can later be collected by the kernel's equivalent of a function such as getch().
Keyboard scan codes are got from port 60h in response to a signal generated on the IRQ0 line by the keyboard controller..
Keyboard scan codes are got from port 60h in response to a signal generated on the IRQ0 line by the keyboard controller..
- mathematician
- Member
- Posts: 437
- Joined: Fri Dec 15, 2006 5:26 pm
- Location: Church Stretton Uk
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact: