![](http://datasheet.mmic.net.cn/390000/M37225ECSP_datasheet_16817037/M37225ECSP_83.png)
83
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
M37225M6–XXXSP, M37225M8–XXXSP
M37225ECSP
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
8.10.3 Raster Display
The raster display is displayed on the lower layer than the SPRITE
and block layers. There are 2 kinds of displays; the flat display and
the patterning display.
In the raster flat display, an entire screen (raster) can be colored by
setting the following bits; bits 5 to 7 of the OSD I/O polarity register
and bits 6 and 7 of the OSD control register. Since each of the R, G,
B, OUT1, and OUT2 pins can be switched to raster coloring output, 8
raster colors can be obtained.
In the raster patterning display, SPRITE fonts are displayed repeat-
edly on an entire screen (raster). At this time, set “1” to bits 6 and 7 of
the SPRITE control register.
Horizontal display start positions of the raster patterning display are
set by the SPRITE H register. At this time, setting value is synchro-
nized with V
SYNC
signal.
Characters for patterning are set by bits 4 and 5 of the SPRITE con-
trol register and coloring are set by bits 0 to 3. The raster color is
output on the background of SPRITE font.
Fig. 8.10.36 Raster Flat Display Example
Note that the raster patterning display and the SPRITE display can-
not be used at the same time.
When the character color/the character background color overlaps
with the raster color, the color (R, G, B, OUT1, OUT2), specified for
the character color/the character background color, takes priority of
the raster color. This ensures that the character color/the character
background color is not mixed with the raster color.
The raster flat display example is shown in Figure 8.10.36, the raster
patterning display example is shown in Figure 8.10.37.
H
S
Y
N
C
A
'
A
O
U
T
1
R
G
B
:
:
:
:
C
B
h
o
a
r
r
a
e
c
r
t
c
e
r
l
c
o
o
r
l
“
o
B
r
L
“
R
A
E
C
D
K
”
(
(
O
R
U
+
O
1
U
+
T
O
1
+
T
O
2
U
)
T
2
)
d
o
”
T
U
B
a
c
k
g
r
o
u
n
d
c
o
l
o
r
“
M
A
G
E
N
T
A
”
(
R
+
B
+
O
U
T
1
+
O
U
T
2
)
R
a
s
t
e
r
c
o
l
o
r
“
B
L
U
E
”
(
R
+
O
U
T
1
+
O
U
T
2
)
S
a
A
i
g
r
-
A
n
o
'
a
s
l
s
c
s
O
U
T
2