Appendix E Matrox Millennium II Graphics Card
Compaq Personal Computers
Original - September 1997
E-4
E.4 PROGRAMMING
E.4.1 CONFIGURATION
The Matrox Millennium-II graphics card works off the AGP bus and is configured through the
MGA 2164W’s configuration space registers (listed in Table E-2) using PCI protocol. These
registers are configured by BIOS during POST to the default configuration.
Table E–2.
MGA 2064W PCI Configuration Space Registers
Table E-2.
MGA 2164W PCI Configuration Space Registers
PCI Config.
Address Function
PCI Config.
Address Function
00h Vender ID (102Bh)/Device ID (0519h) 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 Matrox documentation for the MGA 2164W controller.
E.4.2 CONTROL
Table D-4 lists the standard VGA control registers of the MGA 2164W. These registers can be
directly accessed by software written for standard VGA modes.
Table E–3.
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* CRT Controller (mono) 3C6h..3C9h RAMDAC
3BAh VSYNC Control, Display Status 3CAh Read VSYNC Status
3C1.00..14h* Attribute Controller 3CCh Misc. Control, Read
3C2h Misc. Control / Status 3CF.00..08h Graphics Controller
3C5h.00..04h* Sequencer 3D5.00..26h* CRT Controller (color)
-- -- 3DAh VSYNC Control, Display Status (color)
* Index at base minus 1 (i.e., if base is 3B5h, index is at 3B4h).