![](http://datasheet.mmic.net.cn/390000/TLC34076-110_datasheet_16838076/TLC34076-110_14.png)
2-2
2.2.1
To load the color palette RAM, the MPU must first write to the address register (write mode) with the address
where the modification is to start. This action is followed by three successive wwrites to the palette-holding
register with eight bits each of red, gree, and blue data. After the blue data write cycle, the three bytes of
color are concatenated into a 24-bit word and written to the color palette RAM location specified by the
address register. The address register then increments to point to the next color palette RAM location, which
the MPU may modify by simply wariting another sequence of red, green, and blue data bytes. A block of
color values in consecutive locations may be written to by writing the start address and performing
continuous red, gree, and blue write cycles until the entire block has been written.
Writing to the Color Palete RAM
2.2.2
Reading from the color palette RAM is performed by writing the location to be read to the address register.
This action initiates a transfer from the color palette RAM into the holding rgister followed by an increment
of the address register. Three successive MPU reads from the holding register produce red, green, and blue
color data (six or eight bits, depending on the 8/6 mode) for the specified location. Following the blue read
cycle, the contents of the color palette RAM at the address specified by the address register are copied into
the holding register and the address register is again incremented. As with writing to the color palette RAM,
a block of color values in consecutive locations may be read by writing the start address and performing
continuous red, green, and blue read cycles until the entire block has been read.
Reading From the Color Palette RAM
2.2.3
The 8-bit palette page register provides high-speed color changing by removing the need for color palette
RAM reloading. When using 1, 2, or 4 bit planes, the additional planes are provided by the palette page
register; e.g., when using four bit planes, the pixel inputs specify the lower four bits of the color palette RAM
address with the upper four bits being specified by the palette register. This provides the capability of
selecting from 16 palette pages with only one chip access, thus allowing all the screen colors to be changed
at the line frequency. A bit-to-bit correspondence is used; therefore, in the above configuration, palette page
register bits 7 through 4 map onto color palette RAM address bits 7 through 4, respectively. This is listed
in Table 2–2.
Palete Page Register
Since there is only one bit of overlay data in the 5-5-5 True Color modes, the page register is used to fill the
7 remaining MSB’s (same as 1 BIt Plane in Table 2–2). All 8 bits need to be 0 in order to enable True Color.
The additional bits from the palette page register are inserted before the read mask and hence, are subject
to masking.
Table 2–2. Allocation of Palette Page Register Bits
NUMBER OF
BIT PLANES
8
4
2
1
Pn = nth bit from palette page register
M = bit from pixel port
msb
M
P7
P7
P7
COLOR PALETTE RAM ADDRESS BITS
isb
M
M
M
M
M
P6
P6
P6
M
P5
P5
P5
M
P4
P4
P4
M
M
P3
P3
M
M
P2
P2
M
M
M
P1
2.3 Input/Output Clock Selection and Generation
The TLC34076 provides a maximum of five clock inputs. Three are dedicated to TTL inputs; the other two
can be selected as either one ECL input or two extra TTL inputs. The TTL and ECL inputs can be used for
video rates up to 135 MHz. The dual-mode clock input (ECL/TTL) is primarily an ECL input but can be used
as a TTL-compatible input if the input clock selection register is so programmed. The clock source used at