P.62
Bit 2
If the previous bit-0 is set to logical 1 , then this bit is used to select the color key type for PC video
Overlay . A logical 1 forces TP6508 use external color key signals and enables PC video Overlay on
color key. A logical uses the following color compare
Reserved.
registers to generate the color key .
Bit 3-7
Extended Indexed Register SREG DA : Color Key Compare Register 0
This is a read/write register.
Port address is Hex 3C5.
Default value after hardware reset is Hex 00.
D0-7 Color compare data bit 0 to 7
Bit 0-7
These bits are compared to bit 0 to 7 of background video stream. They are in conjunction with color
compare bit 8 to 15 and color compare bit 16 to 23 to compare with color key data. When all the
enabled bits that are set by mask regs. SREG DB/DC/DD matches the relation color key data bits and
the key is enabled, external video sent to the screen.
Extended Indexed Register SREG DB : Color Key Compare Register 1
This is a read/write register.
Port address is Hex 3C5.
Default value after hardware reset is Hex 00.
D0-7 Color compare data bit 8 to 15
Bit 0-7
These bits are compared to bit 8 to 15 of background video stream. They are in conjunction with color
compare bit 0 to 7 and color compare bit 16 to 23 to compare with color key data. When all the
enabled bits that are set by mask regs. SREG DB/DC/DD matches the relation color key data bits and
the key is enabled, external video sent to the screen.
Extended Indexed Register SREG DC : Color Key Compare Register 2
This is a read/write register.
Port address is Hex 3C5.
Default value after hardware reset is Hex 00.
D0-7 Color compare data bit 16 to 23
Bit 0-7
These bits are compared to bit 16 to 23 of background video stream. They are in conjunction with
color compare bit 0 to 7 and color compare bit 8 to 15 to compare with color key data . When all the
enabled bits that are set by mask regs. SREG DB/DC/DD matches the relation color key data bits and
the key is enabled, external video sent to the screen.
Extended Indexed Register SREG DD : Color Key Mask Register 0
This is a read/write register.
Port address is Hex 3C5.
Default value after hardware reset is Hex 00.
D0-7 Color compare mask bit 0 to 7
Bit 0-7
These bits are used to select which bits of the background video data stream are used in
the comparsion with the color compare data bit 0 to 23. This register control bits 0 to 7.
The mask data bits format are as follow:
0:
Data does particpate in compare operation
1:
Data mask in compare operation