
OSD PRESSOR FOR MONITOR (PRELIMINARY)
S5D2510
21
COLORING
If you have an intensity feature, the number of possible colors you can express becomes doubled. In other words,
the number of colors you can represent with three colors blue, green, and red is 8 (= 2
3
), but with the intensity
feature, it is 16 (= 2
4
).
Character Color
Character Color is assigned for each font, and the 4 components for expressing a color are listed below.
Blue
Green
Red
Intensity
CB
bit [A] of "Character & Attribute Registers"
CG
bit [9] of "Character & Attribute Registers"
CR
bit [8] of "Character & Attribute Registers"
CINT bit of extended code set in "Frame Control Register 3" which is set by CTL1:CTL0 bits
[F:E] in "Character & Attribute Registers".
Raster Color
Blue
Green
Red
Intensity
RB
bit [D] of "Character & Attribute Registers"
RG
bit [C] of "Character & Attribute Registers"
RR
bit [B] of "Character & Attribute Registers"
RINT bit of extended code set in "Frame Control Register 3" which is set by CTL1:CTL0 bits
[F:E] in "Character & Attribute Registers".
If the extended code is enabled by setting ExEN bit in "Frame Control Register 0" to '1', that the extended code is
set in "Frame Control Register 3" is selected by [F:E] bits of "Character & Attribute Registers". So, you can select
attribute with font unit by the various composition of Blink, Shadow, Raster Color Intensity, and Character Color
Intensity. Otherwise, you can select just blink and shadow attributes with font base. Therefore, if you want to
express 16 colors, you must enable ExEN bit and also set RINT and CINT bits of extended code set in "Frame
Control Register 3" to '1'.
Multi-Color Font
The multi-color fonts supported in S5D2510 is composed of 3 fonts (red, green, and blue) as the structure in "III-
4.2 ROM Fonts"(21p) and can express 16 colors as single-color fonts is did 'OR' operation.
The reason for using such multi-color fonts is that it makes it possible to express different colors within one font.
Therefore, if one font's character, symbol and background (raster) are each composed of a single color, you don't
need to use a multi-color font. Let's take a look at an example.
When making a single-color font, the dots make up a font's character or symbol, and the other undotted areas are
called raster (background without character or symbol). If we think of this in a binary format, the dotted areas are
'1', and the undotted areas are '0'. If we decide upon a character color, it will only influence the areas that are '1',
and if you select a raster color, it will only influence the areas that are '0'.
For example, in the standard font file, the font of 020h doesn't have any part that is '1'. So even if you select a
character color for this font, there will be no changes since there are no '1' areas. But if you select a raster color
for this font, since all areas are '0', the entire font area will become the selected raster color.