
M37221M4H/M6H/M8H/MAH–XXXSP/FP M37221EASP/FP
Rev.1.00 Oct 01, 2002 page 68 of 110
REJ03B0134-0100Z
8.11.5 Color Register
The color of a displayed character can be specified by setting the
color to one of the 4 registers (CO0 to CO3: addresses 00E616 to
00E916) and then specifying that color register with the OSD RAM.
There are 3 color outputs; R, G and B. By using a combination of
these outputs, it is possible to set 8 colors. However, since only 4
color registers are available, up to 4 colors can be disabled at one
time.
R, G and B outputs are set by using bits 1 to 3 in the color register. Bit
5 is used to specify whether a character output or blank output. Bits
4, 6 and 7 are used to specify character background color. Figure
8.11.12 shows the color register.
Fig. 8.11.13 Color Register i
7
6
5
4
3
2
1
0
o
o
r
r
e
g
s
t
e
r
=
0
t
o
3
r
e
s
s
e
s
0
0
6
1
6
t
o
0
0
9
1
6
ame
u
n
c
t
o
n
s
t
e
r
r
e
s
e
t
o
o
r
e
g
s
t
e
r
0 0
—
1
s
gna
output se
ect
on
bit (COi2)
0:
o c
aracter
s output
1: Character is output
0
2
s
g
n
a
o
u
t
p
u
t
s
e
e
c
t
o
n
b
i
t
(
C
O
i
3
)
0:
o c
aracter
s output
1: Character is output
3
s
g
n
a
o
u
t
p
u
t
a
c
g
r
o
u
n
s
e
l
e
c
t
i
o
n
b
i
t
(
C
O
i
4
)
(
S
e
e
n
o
t
e
1
)
0
:
o
a
c
g
r
o
u
n
c
o
o
r
s
o
u
t
p
u
t
1
:
B
a
c
k
g
r
o
u
n
d
c
o
l
o
r
i
s
o
u
t
p
u
t
4
1
s
g
n
a
o
u
t
p
u
t
c
o
n
t
r
o
t
(
C
O
i
5
)
(
S
e
e
n
o
t
e
s
1
,
2
)
0
:
a
r
a
c
t
e
r
s
o
u
t
p
u
t
1
:
B
l
a
n
k
i
s
o
u
t
p
u
t
5
s
g
n
a
o
u
t
p
u
t
a
c
g
r
o
u
n
s
e
l
e
c
t
i
o
n
b
i
t
(
C
O
i
6
)
(
S
e
e
n
o
t
e
1
)
0
:
o
a
c
g
r
o
u
n
c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