My problem is that I am getting confused with scan codes and the exact ascii values ...etc
Basically from what I know when you do
Code: Select all
inb(0x60);
I am curious how you take this scan code and determine what the ascii value or key that was pressed?
Also is their a port that you can use to write a key instead of just reading a key....
Like if you wanted to simulate a keypress or something would I just have to outb( 0x60 , 0x1E ).
for an 'a' pressed. (basically can port 60h be used for writing and simulateing a keypressed.)
Thanks
I have been using basically one port 60h for reading keys. Is their any other ports the keyboard uses besides
port 64h. Basically from what I understand port 64h is for sending commands to the keyboard (like turning on leds ,...etc ) and port 60h is for reading keys.