Page 1 of 1

Keyboard status register?

Posted: Mon Apr 28, 2008 9:17 pm
by lonnifer
Hi, I have been reading through the turorial on Keyboard Controller Programming, and it says that the status byte is obtained by reading port 0x60. however, I have read elsewhere that it is obtained by reading 0x64. Which is correct?

Posted: Tue Apr 29, 2008 8:17 pm
by Mike
The status register is indeed located at port 0x64. I am going to have to fix that..

Also, please note that there is no keyboard programming tutorial as of yet. Some information about the keyboard controller is provided in tutorial 9 for better understanding of the code.

Port 0x60 represents the keyboards input and output data buffers. Port 0x64 represents the keyboard controllers command and status register.

Posted: Thu May 01, 2008 1:08 am
by lonnifer
Thanks for the help! I'm looking forward to reading the keyboard programming tutorial when it comes :)