6 i/o map and register accessing, 1 system i/o map – Compaq 4000N User Manual
Page 83

Technical Reference Guide
Compaq Deskpro 4000N and 4000S Personal Computers
First Edition - September1997
4-41
4.6
I/O MAP AND REGISTER ACCESSING
This section describes the system I/O map and methods of accessing various system functions.
4.6.1
SYSTEM I/O MAP
Table 4–17. System I/O Map
Table 4-17.
System I/O Map
I/O Port
Function
0000..000Fh
DMA Controller 1
0020..0021h
Interrupt Controller 1
0040..0043h
Timer 1
0060h
Keyboard Controller Data Byte
0061h
NMI, Speaker Control
0064h
Keyboard Controller Command/Status Byte
0070h
NMI Enable, RTC Address
0071h
RTC Data
0078h..007Bh
General Purpose I/O Port 1
007Ch..007Fh
General Purpose I/O Port 2
0080..008Fh
DMA Page Registers
0092h
Port A, Fast A20/Reset
00A0..00A1h
Interrupt Controller 2
00B2h, 00B3h
APM Control/Status Ports
00C0..00DFh
DMA Controller 2
00F0h
Math Coprocessor Busy Clear
015C, 015Dh
87307 I/O Controller Configuration Registers (Index, Data)
0170..0177h
Hard Drive (IDE) Controller 2
01F0..01FFh
Hard Drive (IDE) Controller 1
0201..024Fh
Reserved.
0278..027Bh
Parallel Port (LPT2)
02F8..02FFh
Serial Port (COM2)
0371.. 0375h
Diskette Drive Controller Alternate Addresses
0376h
IDE Controller Alternate Address
0377h
IDE Controller Alternate Address, Diskette Drive Controller Alternate Address
0378..037Fh
Parallel Port (LPT1)
0388..038Bh
FM synthesizer (alias addresses)
03B0..03DFh
Graphics Controller
03E8..03EFh
Serial Port (COM3)
03F0..03F5h
Diskette Drive Controller Primary Addresses
03F6, 03F7h
Diskette Drive Controller Primary Addresses, Hard Drive Controller Primary Addresses
03F8..03FFh
Serial Port (COM1)
04D0, 04D1h
Master, Slave Edge/Level INTR Control Register
0C06, 0C07h
Reserved - Compaq proprietary use only
0C50, 0C51h
System Management Configuration Registers (Index, Data)
0C70..0C77h
ACPI
0C82h
Auto Rev Data (not used)
0CF8h
PCI Configuration Address (dword access)
0CFCh
PCI Configuration Data (byte, word, or dword access)
F800..F83Fh
ACPI & GPIOs
NOTE: Assume unmarked gaps are reserved/unused.