Technical Reference Guide
Compaq Personal Computers
Original - March 1998
E-5
E.4 PROGRAMMING
Programming consists of configuration (using PCI protocol over the AGP bus) and
software/firmware control of the operation registers.
E.4.1 CONFIGURATION
The ATI RAGE IIC graphics card works off the AGP bus and is configured through the
controller’s configuration space registers (listed in Table E-3) using PCI protocol. These registers
are configured by BIOS during POST to the default configuration.
Table E–3.
ATI RAGE IIC PCI Configuration Space Registers
Table E-3.
ATI RAGE IIC PCI Configuration Space Registers
PCI Config.
Address Function
PCI Config.
Address Function
00h Vender ID/Device ID 14h Relocateable I/O Base Address
04h PCI Command 30h Expansion ROM Base Address
08h Status 3Ch Interrupt Line / Interrupt Pin
10h Display Memory Base Address -- --
For a discussion of accessing PCI configuration space registers refer to chapter 4. For a detailed
description of registers refer to applicable ATI Technologies Inc. documentation.
E.4.2 CONTROL
Table E-4 lists the standard VGA control registers of the ATI RAGE IIC controller. These
registers can be directly accessed by software written for standard VGA modes.
Table E–4.
Standard VGA Mode I/O Mapping
Table E-4.
Standard VGA Mode I/O Mapping
I/O
Address Function
I/O
Address Function
3B5.00..26h [1] CRT Controller (mono) 3C6h..3C9h RAMDAC
3BAh VSYNC Control, Display Sts. 3CAh Read VSYNC Status
3C1.00..14h [1] Attribute Controller 3CCh Misc. Control, Read
3C2h Misc. Control / Status 3CF.00..08h Graphics Controller
3C5h.00..04h [1] Sequencer 3D5.00..26h [1] CRT Controller (color)
-- -- 3DAh VSYNC Control, Display Status (color)
NOTE:
[1] Index at base minus 1 (i.e., if base is 3B5h, index is at 3B4h).
Extended mode registers (display and configuration, GUI, multimedia, and PLL registers) may be
I/O or memory-mapped and are controlled through the supplied graphics driver. The graphics
driver is adaptable to all current ATI RAGE controllers.