Intel® 815 Chipset: Graphics Controller PRM, Rev 1.0
R
9.4.Attribute Controller Registers
Unlike the other sets of indexed registers, the attribute controller registers are not accessed through a scheme employing entirely separate index and data ports. I/O address 3C0h (or memory address 3C0h) is used both as the read and write for the index register, and as the write address for the data port. I/O address 3C1h (or memory address 3C1h) is the read address for the data port.
To write to one of the attribute controller registers, the index of the desired register must be written to I/O address 3C0h (or memory address 3C0h), and then the data is written to the very same I/O (memory) address. A
To read from one of the attribute controller registers, the index of the desired register must be written to I/O address 3C0h (or memory address 3C0h), and then the data is read from I/O address 3C1h (or memory address 3C1h). A read operation from I/O address 3C1h (or memory address 3C1h) does not reset the
9.4.1.ARXAttribute Controller Index Register
I/O (and Memory Offset) Address: | 3C0h |
|
| ||||
Default: |
|
| 00UU UUUUb (U=Undefined) |
|
| ||
Attributes: |
| Read/Write |
|
| |||
7 | 6 | 5 | 4 | 0 |
| ||
|
| Reserved (00) | Video | Attribute Controller Register Index |
|
| |
|
|
|
| Enable |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Bit |
|
| Description |
|
|
|
|
|
|
|
| ||
| 7:6 | Reserved. Read as 0s. |
|
|
| ||
|
|
|
|
| |||
| 5 | Video Enable. Note that In the VGA standard, this is called the “Palette Address Source” bit. |
|
| |||
|
|
| 0 = Disable. Attribute controller color registers (AR[00:0F]) can be accessed by the processor. |
|
| ||
|
|
| 1 = Enable. Attribute controller color registers (AR[00:0F]) are inaccessible by the processor. |
|
| ||
|
|
|
|
| |||
| 4:0 | Attribute Controller Register Index. These five bits are used to select any one of the attribute |
|
| |||
|
|
| controller registers (AR[00:14]), to be accessed. |
|
| ||
|
|
| Note: |
|
|
|
|
|
|
| AR12 is referred to in the VGA standard as the Color Plane Enable Register. The words “plane,” “color | ||||
|
|
| plane,” “display memory plane,” and “memory map” have been all been used in IBM* literature on the | ||||
|
|
| VGA standard to describe the four separate regions in the frame buffer where the pixel color or attribute | ||||
|
|
| information is split up and stored in standard VGA planar modes. This use of multiple terms for the | ||||
|
|
| same subject was deemed to be confusing, therefore, AR12 is called the Memory Plane Enable |
|
| ||
|
|
| Register. Attribute Controller Register Index. |
|
| ||
|
|
|
|
|
|
|
|
101