Hello !
Does anyone have a tutorial / tips on how to read characters from the keyboard using in/out instructions on ports 0x60 and 0x64 ? (i.e. implement something like getchar() using in/out);
... Do I need more than these to actually read characters from the keyboard ?
Keyboard I/O
Moderator:Moderators
I believe it is possible to read keyboard data like that.
However, a better way would be to use interrupts. One of the hardware interrupts that you set up is labeled as 'keyboard' and, when the keyboard controller is set up correctly, you will receive an interrupt on every key press.
Sadly, I don't know anything about implementing this although mike can almost certainly help.
Andrew Cooper
However, a better way would be to use interrupts. One of the hardware interrupts that you set up is labeled as 'keyboard' and, when the keyboard controller is set up correctly, you will receive an interrupt on every key press.
Sadly, I don't know anything about implementing this although mike can almost certainly help.
Andrew Cooper
