
CRT Controller Registers
9-23
`efmp69030 Databook
Revision 1.3 11/24/99
CR12
Vertical Display Enable End Register
read/write at I/O address 3B5h/3D5h with index at address 3B4h/3D4h set to 12h
shadowed for pipelines A and B
7-0
Vertical Display Enable End Bits 7-0
This register provides the 8 least significant bits of either a 10-bit or 12-bit value that
specifies the number of the last scanline within the active display area.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, this value
is described in 10 bits with bits 6 and 1 of the Overflow Register (CR07) supplying the 2
most significant bits.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, this value is
described in 12 bits with bits 3-0 of the Extended Vertical Display Enable End Register
(CR31) supplying the 4 most significant bits.
This 10-bit or 12-bit value should be programmed to be equal to the number of the last
scanline within in the active display area. Since the active display area always starts on
the 0th scanline, this number should be equal to the total number of scanlines within the
active display area, minus 1.
CR13
Offset Register
read/write at I/O address 3B5h/3D5h with index at address 3B4h/3D4h set to 13h
shadowed for pipelines A and B
7-0
Offset Bits 7-0
This register provides either all 8 bits of an 8-bit value or the 8 least significant bits of a 12-
bit value that specifies the number of words or doublewords of frame buffer memory
occupied by each horizontal row of characters. Whether this value is interpreted as the
number of words or doublewords is determined by the settings of the bits in the Clocking
Mode Register (SR01).
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the offset
is described with an 8-bit value, with all the bits provided by this register (CR13).
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the offset is
described with a 12-bit value. The four most significant bits of this value are provided by
bits 3-0 of the Extended Offset Register (CR41), and the eight least significant bits are
provided by this register (CR13).
This 8-bit or 12-bit value should be programmed to be equal to either the number of words
or doublewords (depending on the setting of the bits in the Clocking Mode Register, SR01)
of frame buffer memory that is occupied by each horizontal row of characters.
76543
210
A
Vertical Display Enable End Bits 7-0
B
Vertical Display Enable End Bits 7-0
76543
210
A
Offset Bits 7-0
B
Offset Bits 7-0