VGA Hardware: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Combuster (talk | contribs)
→‎List of register settings: filled in all modes
Combuster (talk | contribs)
some info regarding PCI boards
Line 27: Line 27:
All registers are accessed as 8 bit. The parts of a register that are not used should officially be preserved, although a lot of programs simply set them to zero. However, not all fields present in the VGA are documented here, so you will either look up a different reference, or preserve the undocumented fields.
All registers are accessed as 8 bit. The parts of a register that are not used should officially be preserved, although a lot of programs simply set them to zero. However, not all fields present in the VGA are documented here, so you will either look up a different reference, or preserve the undocumented fields.


In the documentation below, a port number and possibly an index is provided. The port is usually the base port for indexed registers, or the actual port for single registers. If the card is a [[PCI]] or later board, you can move the location of these registers. Consequence is that you will have to compute the new address for these registers manually.
In the documentation below, a port number and possibly an index is provided. The port is usually the base port for indexed registers, or the actual port for single registers.

Note that [[PCI]] boards do *not* report the VGA addresses in their configuration space, and that the addresses can not be remapped.


=== Port 0x3C0 ===
=== Port 0x3C0 ===