39.6.10.5.1 Source Color Keying
If the masked overlay color matches the color key, the iterated color is selected and Source Color Keying is activated using the following configuration sequence:
- Select the overlay to blit.
- Write a ‘0’ to DSTKEY.
- Activate Color Keying by writing a ‘1’ to CRKEY.
- Configure the Color Key by writing RKEY, GKEY and BKEY fields.
- Configure the Color Mask by writing RKEY, GKEY and BKEY fields.
When the field RMASK, GMASK, or BMASK is configured to ‘0’, the comparison is disabled and the raster operation is activated.