Return to previous page Return to menu Go to next page

12.2 Special color calculation function

The special color calculation function is a function that specifies color calculation enable not only for the entire screen but also for each character or dot, and has the following four modes.

 (1) Color calculation enable is specified for each screen
(2) Specify color calculation enable for each character.
(3) Specify color calculation enable for each dot.
(4) Color calculation enable is specified by the most significant bit of color data  

When specifying color calculation enable for each screen, color calculation is performed when the value of the color calculation enable bit in the color calculation control register corresponding to each scroll screen is 1.
When specifying for each character, color calculation is performed only for the character pattern whose special color calculation bit value is 1 in the pattern name data on the scroll screen where the color calculation enable bit is set to 1. Refer to 4.6 Pattern Name Table (Page) for the special color operation bits in the pattern name data.
When specifying for each dot, the dot specified in the special function code in the character pattern in which the value of the special color calculation bit in the pattern name data of the scroll screen with the color calculation enable bit set to 1 is specified. Color calculation is performed only on dots that match the color code. Do not set this mode when the scroll screen color format is RGB. For special function codes, please refer to “ 10.3 Special Function Codes ”.
When specifying the most significant bit of color data, when the scroll screen with the color calculation enable bit set to 1 is in palette format, color calculation is performed only for dots using color data with the most significant bit set to 1. Do. If this mode is specified when the scroll screen with the color calculation enable bit set to 1 is in RGB format, color calculation is always performed.
⿟ When mode 1 or 2 is specified on the scroll screen with the bitmap format, the special color calculation bit of the bitmap palette number register is used instead of the special color calculation bit in the pattern name data.
Special color calculation modes are shown in Table 12.3.


Return to previous page Return to menu Go to next page