Keyboard status register?

If you are new to OS Development, plan on spending some time here first before going into the other forums.

Moderator:Moderators

Post Reply
lonnifer
Posts:3
Joined:Mon Apr 28, 2008 9:06 pm
Keyboard status register?

Post by lonnifer » Mon Apr 28, 2008 9:17 pm

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?

User avatar
Mike
Site Admin
Posts:465
Joined:Sat Oct 20, 2007 7:58 pm
Contact:

Post by Mike » Tue Apr 29, 2008 8:17 pm

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.

lonnifer
Posts:3
Joined:Mon Apr 28, 2008 9:06 pm

Post by lonnifer » Thu May 01, 2008 1:08 am

Thanks for the help! I'm looking forward to reading the keyboard programming tutorial when it comes :)

Post Reply