Page 1 of 1

Port 0x61

Posted: Wed Dec 11, 2002 2:20 pm
by DarylD
Okay, the keyboard controller uses ports 0x60 and 0x64, for command and data.

Why does a lot of code I see, send confirmation back to 0x61??? This is the system speaker after all!!!

Re:Port 0x61

Posted: Thu Dec 12, 2002 1:25 pm
by Tim
Because that code is wrong, at least on AT-class systems. The keyboard controller on the original PC required to you send a confirmation to port 0x61 after every key press; it's not needed on current machines.

Re:Port 0x61

Posted: Thu Dec 12, 2002 1:27 pm
by DarylD
Ah, thanks for that information, it makes it a lot clearer now, so I will dump that code now, I don't want to be doing any unnecessary I/O work if possible.

Thanks again!

Re:Port 0x61

Posted: Thu Dec 12, 2002 1:42 pm
by Slasher
Hi, if you are programming any hardware device, get the docs for it as your MAIN source instead of gathering other codes for your PRIMARY SOURCE of info :)