
17-10
BitBLT Registers
`efmp69030 Databook
Revision 1.3 11/24/99
14
Color Transparency Enable
These bit is used to enable or disable color transparency.
When color transparency is enabled, the color value carried within bits 23-0 of either BR01
or BR09 is used as a key color to mask the writing of pixel data to the destination on a per-
pixel basis. Before each pixel at the destination is written, a comparison is made between
this key color and another color, and whether or not that given pixel at the destination will
actually be written depends upon the result of that comparison.
Whether BR01 or BR09 is used to supply the key color depends on the setting of bit 27 of
BR03 since the same register that is used to supply the key color for color transparency
also happens to be used to supply the background color for monochrome-to-color
expansion. Also, depending on the type of color transparency selected via bits 16-15 of
this register, the other color value to which the key color is compared may be the color value
resulting from the bit-wise operation selected via bits 7-0 of this register.
0: Disables color transparency.
1: Enables color transparency.
Note: Color transparency can be used only when the BitBLT engine is set to a color depth
of 8 or 16 bits per pixel, but not 24 bits per pixel. If the BitBLT engine has been set to a
color depth of 24 bits per pixel, then this bit should always remain set to 0 to disable color
transparency.
13
Monochrome Source Write-Masking
Note: This bit applies only when the source data is monochrome (determined by bit 12 of
this register).
This bit enables a form of per-pixel write-masking in which monochrome source data is
used as a pixel mask that controls which pixels at the destination will be written to by the
BitBLT engine.
0: This disables the use of monochrome source data as a write mask, allowing normal
operation of the BitBLT engine with regard to the use of monochrome source data.
1: Wherever a bit in monochrome source data carries the value of 0, the byte(s) of the
corresponding pixel at the destination are NOT written, thereby preserving any data already
carried by those bytes.
12
Source Color Depth
0: Specifies that the source data is in color, and therefore, can have a color depth of 8, 16,
or 24 bits per pixel.
1: Specifies that the source data is monochrome, and therefore, has a color depth of 1 bit
per pixel. This setting should be used only if bit 8 of this register is set to 0.
Note: This bit must be set to 0 whenever a bit-wise operation is selected (using bits 7-0 of
this register) that does not use source data.