Contents /
Previous /
Next
PC-Hardware: IO Ports
-
I/O ports:
Part of RAM used to write to peripherals.
-
Serial ports:
WINDOWS:COM1, Linux:ttys0,cua0(old):
I/O port 0x3F8-0x3FF and IRQ 4 for ttys0
and I/O port 0x2F8-0x2FF and IRQ 3 for ttys1.
Usually to connect an external modem or mouse.
Slow: less that 10 kilobytes per second.
-
Parallel port:
Linux lp0: I/O port 0x378-0x37A and IRQ 7.
Usually for printer (50 kilobytes per second).
-
USB (Universal Serial Bus):
For any type of hardware to be chained (intended to replace
serial and parallel).
Average transfer rates: USB 1 = 104,000 bytes per second,
USB 2 = 1.8 MB/s.