PORT#'s
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:PORT#'s
to my knowledge, there is one in HelpPC Utility by David Jurgens ... i dunno if this has really been standardized somewhere ... but roughly
000-01f : dma (8237A)
020-03f : master pic (8259a)
040-05f : pit (8253a)
060-06f : 8042 microcontroller (for keyboard, etc)
070-07f : realtime clock (MC146818)
080-09f : dma paging registers
0a0-0bf : slave pic
0c0-0df : slave dma
0f0-0ff : FPU (imho, deprecated)
170-17f : secondary HDD controller
1f0-1ff : primary HDD controller
278-27f : LPT2
2f8-2ff : COM2
378-37f : LPT1
3b0-3bf : monochrome display
3d0-3df : colour display
3f0-3f7 : floppy controller (3f6 is for primary controller)
3f8-3ff : COM1
ISA extension card may use different base addreses based on PNP or jumper configuration. PCI uses memory-mapped approach (afaik)
000-01f : dma (8237A)
020-03f : master pic (8259a)
040-05f : pit (8253a)
060-06f : 8042 microcontroller (for keyboard, etc)
070-07f : realtime clock (MC146818)
080-09f : dma paging registers
0a0-0bf : slave pic
0c0-0df : slave dma
0f0-0ff : FPU (imho, deprecated)
170-17f : secondary HDD controller
1f0-1ff : primary HDD controller
278-27f : LPT2
2f8-2ff : COM2
378-37f : LPT1
3b0-3bf : monochrome display
3d0-3df : colour display
3f0-3f7 : floppy controller (3f6 is for primary controller)
3f8-3ff : COM1
ISA extension card may use different base addreses based on PNP or jumper configuration. PCI uses memory-mapped approach (afaik)
Re:PORT#'s
so if there was a motherboard tha used port 0x70 for the keyboard, then Windows would not work..or LINUX...?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:PORT#'s
if your mother board uses port 0x70 for the keyboard, then it is not a PC. period.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:PORT#'s
even a 286. Some ancient PCs (that are PC/XT rather than AT) have different attributions, and also a PPI (Programmable Parallel Interface) instead of a 8042 at 0x60, but it still handles the keyboard afaik.
btw, the PC/XT is based on a 8088@4MHz and i doubt it really can be assimilated to a PC (despite its name) as it also doesn't have a realtime clock, nor a slave PIC or DMA, the hard disk works differently, etc.
btw, the PC/XT is based on a 8088@4MHz and i doubt it really can be assimilated to a PC (despite its name) as it also doesn't have a realtime clock, nor a slave PIC or DMA, the hard disk works differently, etc.
Re:PORT#'s
so where exactly do these numbers come from.? does intel have thses published somewhere..or the motherbaord manufacturer..?
Re:PORT#'s
A lot of the ports were determined by IBM, back when they were the main company building PCs and writing their own standards. Today its just common knowledge, and you can find this info anywhere. You could try searching IBM's site for a list, but you'd be better off finding a general hardware programming site.