Port 0x61

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
DarylD

Port 0x61

Post 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!!!
Tim

Re:Port 0x61

Post 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.
DarylD

Re:Port 0x61

Post 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!
Slasher

Re:Port 0x61

Post 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 :)
Post Reply