IO Port Access Times (was: not unique keyboard scancodes)

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
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

IO Port Access Times (was: not unique keyboard scancodes)

Post by bluemoon »

SparrowOS wrote:Your time-out delay is hoeky, but works for reasons you probably don't understand. IN/OUT instructions move at ISA bus speed which is roughly 1uS.
My machine has no ISA support and the IO is handled by south-bridge which operates at PCI bus speed.
Furthermore, newer CPU like Sandy Bridge has the south-bridge directly connected to the CPU with quickpath, and I suppose it run at even faster speed.

Anyway, IN/OUT instruction has no defined speed for modern machine, there are hundred of things can affect the timing.
Stop telling the un-true.
User avatar
SparrowOS
Member
Member
Posts: 72
Joined: Wed Nov 14, 2012 5:22 pm
Location: Vegas
Contact:

Re: not unique keyboard scancodes

Post by SparrowOS »

bluemoon wrote:
SparrowOS wrote:Your time-out delay is hoeky, but works for reasons you probably don't understand. IN/OUT instructions move at ISA bus speed which is roughly 1uS.
My machine has no ISA support and the IO is handled by south-bridge which operates at PCI bus speed.
Furthermore, newer CPU like Sandy Bridge has the south-bridge directly connected to the CPU with quickpath, and I suppose it run at even faster speed.

Anyway, IN/OUT instruction has no defined speed for modern machine, there are hundred of things can affect the timing.
Stop telling the un-true.

I would love to get a machine where my port I/O for harddrive/CDROM ATA/ATAPI was faster than 1uS.
Post Reply