![](http://datasheet.mmic.net.cn/390000/TVP3010C_datasheet_16839161/TVP3010C_30.png)
2–14
Submode 2 is the XGA-compatible (5–6–5) 16-bit color mode supporting 5 bits of red, 6 bits of green, and
5 bits of blue data. Both VIPs support multiplex ratios for this mode of 1:1 and 2:1. With 2:1 multiplexing,
the TVP3010 can display 1024x768 direct color using 45-MHz VRAM without any glue logic. Overlay is not
available in this mode.
Submode 3 is the TARGA-compatible (5–5–5) mode that uses 15 bits for color and 1 bit for overlay. It allows
5 bits for each of red, green, and blue data. The TVP3010C and the TVP3010M support 1:1 and 2:1
multiplexing ratios in this mode.
Submode 4 is (6–6–4) configuration. It provides 6 bits of red, 6 bits of green, and 4 bits of blue. Both VIPs
also support 1:1 and 2:1 multiplexing in this mode. Overlay is not available in this mode.
Submode 5 is (4–4–4–4) configuration. It provides 12 bits of direct color and 4 bits of overlay. It allows 4
bits for each of red, green, and blue data. The TVP3010C and the TVP3010M support 1:1 and 2:1
multiplexing ratios in this mode (see NOTE in subsection 2.4.5).
2.4.5
True-Color Mode
In true-color mode, the palette RAM is partitioned into three independent 256-word
×
8-bit memory blocks
that can be individually addressed by each color field of the true-color data. The independent memory blocks
provide data for a single DAC output. With this architecture, gamma correction for each color is possible.
Since the palette is used in true-color mode, there is no memory space to be used for the overlay function.
All of the true-color submodes are the same as direct color except that overlay is not available. (see
Tables 2–6 through 2–11 for more details on mode selection and see NOTE below).
NOTE:
Since less than 8 bits are defined for each color in the various 12- or 16-bit direct-
or true-color modes, the data bits for the individual colors are internally shifted to
the MSB locations and the remaining LSB locations for each color are set 0 before
8-bit data is sent to the DACs.
Since the overlay information goes through the pseudo-color data path, it is subject
to read masking and the palette page register. This is especially important for those
direct-color modes that have less than eight bits of overlay information. The overlay
information in these modes justifies to the LSB bit positions, and the remaining
MSB positions are filled with the corresponding palette page data before
addressing the palette RAM.
In order to display true color (gamma corrected through the palette), either the
auxiliary windowing or the color-key switching function must be set for palette
graphics. For direct color, both functions must be set for direct color.
In order to use the overlay capability of the direct-color modes, the color-key
switching or port-select function must be configured and enabled. Overlay port data
in a window is also available by enabling the auxiliary window function. If either the
auxiliary windowing or the color-key switching functions point to palette graphics,
palette graphics are always displayed (not direct color).
When in the 24-bit direct-color or true-color modes, the data input works only in the
8-bit mode. In other words, when only 6 bits are used, the two LSB inputs for each
color need to be tied to GND. However, the palette, which is used by the overlay
input, is still governed by 8/6, and the output multiplexer selects 8 bits or 6 bits of
data accordingly. The 8/6 is also valid in the other 16-bit modes.
The definitions of direct color (palette bypass) and true color are consistent with the
IBM XGA terminology.