![](http://datasheet.mmic.net.cn/390000/TVP3010C_datasheet_16839161/TVP3010C_29.png)
2–13
2.4.3
In pseudo-color mode (sometimes called color indexing), the TVP3010C and TVP3010M pixel-bus inputs
are used to address the palette-RAM LUT (color-lookup table). The data in each RAM location is comprised
of 24 bits (8 bits for each of the red, green, and blue color DACs). The pseudo-color mode is further grouped
into 4 submodes, depending on the data bits per pixel. In each submode, a pixel bus width of 4, 8, 16, or
32 bits may be used. Data should always be presented on the least significant bits of the pixel bus; i.e., when
16 bits are used, the pixel data must be presented on P(15–0), 8 bits on P(7–0), and 4 bits on P(3–0) (see
subsection 2.4.6 for more details).
Submode 1 uses a single bit-plane to address the color palette. The pixel port bit is fed into bit 0 of the palette
address, with the 7 high-order address bits defined by the palette page register (see subsection 2.2.3). This
mode has uses in high-resolution monochrome applications such as desktop publishing. This mode allows
the maximum amount of multiplexing with 32:1 ratio, thus giving a pixel bus rate of only 4 MHz at a screen
resolution of 1280
×
1024. Although only a single bit is used, alteration of the palette page register at the
line frequency allows 256 different colors to be displayed on each screen with two colors for each line.
Submode 2 uses two bit-planes to address the color palette. The 2 bits are fed into the low-order address
bits of the palette with the six high-order address bits being defined by the palette page register (see
subsection 2.2.3). This mode allows a maximum multiplex ratio of 16:1 on the pixel bus and is essentially
a four-color alternative to submode 1.
Submode 3 uses four bit-planes to address the color palette. The 4 bits are fed into the low-order address
bits of the palette with the four high-order address bits being defined by the palette page register (see
subsection 2.2.3). This mode provides 16 pages of 16 colors and can be used at multiplex ratios of /1 to /8.
Submode 4 uses 8 bit-planes to address the color palette. Since all 8 bits of palette address are specified
from the pixel port, the page register is not used. This mode allows dot clock-to-LCLK ratios of 1:1 (8-bit bus),
2:1 (16-bit bus), or 4:1 (32-bit bus). Therefore, in a 32-bit configuration, a 1024
×
768 pixel screen can be
implemented with an external data rate of only 16 MHz.
NOTE:
When externally clocked frame-buffer timing is used (ACR3 = 0, see subsection
2.3.2), only multiplex ratios of 1:1 can be used (see subsection 2.4.6).
The auxiliary-window, port-select, and color-key switching functions must be
disabled and set for palette graphics when in the pseudo-color mode. This is the
default condition at reset (see Section 2.6).
2.4.4
Direct-Color Mode
When either VIP is operated in direct-color mode, 24, 16, 15, or 12 bits of data can be transferred directly
to the RGB DACs but with the same amount of pipeline delay as the overlay data and the control signals
(Blank and Syncs). Depending on which direct-color mode is selected, overlay is provided by utilizing the
remaining bits of the pixel bus to address the palette RAM. This results in a 24-bit RAM output that is then
used as overlay information to the DACs. The overlay capability is designed to work with the
auxiliary-window, port-select, and color-key switching functions to provide overlay in specific windows or
on a pixel-by-pixel basis on the direct-color display as discussed in Section 2.6 (see subsection 2.4.6 for
more details on selecting the direct-color modes).
The default condition after reset is for the auxiliary-window and port-select functions to be disabled
(ACR1 = ACR2 = 0). The color-key comparisons, which are controlled by the color-key control (CKC)
register bits 0–3, are also disabled (CKC0 = CKC1 = CKC2 = CKC3 = 0). Also, since multiplexer control
register 2 bit 7 = 1 and ACR0 = CKC4 = 1 at reset, the default is for VGA pass-through. This is because
multiplexer control register 2 bit 7 enables the VGA port and the switching functions (switch = color key =
1, see Section 2.6) are disabled and set for palette graphics as opposed to direct-color palette bypass.
Submode 1 is the 24-bit direct-color mode that uses 8 bits to represent each color and 8 bits for overlay. In
this mode, there are basically two different configurations: the 32-bit data is grouped either as overlay, red,
green, blue, or blue, green, red, overlay.
Pseudo-Color Mode