49/84
ST6365, ST6375, ST6385 ST6367, ST6377, ST6387
ON-SCREEN DISPLAY (Cont’d)
Table 15. Format Character Register Colour
Setting.
Table 16. Format Character Register Size
Display Character Register (DCR)
See Data RAM table description for Specific Ad-
dress - Write only
Caution: This register contains at least one write
only bit. Single bit instructions (SET, RES, INC
and DEC) should not be used.
D7. This bit is not used.
D6. This bit is fixed to “0”.
C5-C0. Character type. The 6 character type bits
define one of the 64 available character types.
These character types are shown on the following
pages.
Character Types
The character set is user defined as ROM mask
option.
Register and RAM Addressing
The OSD contains seven registers and 80 RAM lo-
cations. The seven registers are the Vertical Start
Address register, Horizontal Start Address regis-
ter, Vertical Space register, Horizontal Space reg-
ister, Background Control register, Global Enable
register and Character Bank Select register. The
Global Enable register can be written at any time
by the ST63 Core. The other six registers and the
RAM can only be read or written to if the global en-
able is zero.
The six registers and the RAM are located on two
pages of the paged memory of the ST638x MCUs;
the Character Bank Select register is located out-
side the paged memory at address EDh. Each
page contains 64 memory locations. This paged
memory is at memory locations 00h to 3Fh in the
ST638x memory map. A page of memory is ena-
bled by setting the desired page bit, located in the
Data Ram Bank Register, to a one. The page reg-
ister is location E8h. A one in bit five selects page
5, located on the OSD and a one in bit 6 selects
page 6 on the OSD. Table 17 shows the address-
es of the OSD registers and RAM.
Table 17. OSD Control Registers and Data RAM
Addressing
R
G
B
Colour
0
Black
0
1
Blue
0
1
0
Green
0
1
Cyan
1
0
Red
1
0
1
Magenta
1
0
Yellow
1
White
GS2
GS1
S
Vertical
Height
Horizontal
length
0
18H
6 TDOT
0
1
36H
12 TDOT
0
1
0
18H
6 TDOT
0
1
54H
18 TDOT
1
0
36H
12 TDOT
1
0
1
54H
18 TDOT
1
0
36H
12 TDOT
1
72H
24 TDOT
70
-
“0”
C5
C4
C3
C2
C1
C0
Page
Address
Register or RAM
5
00h - 3Fh
RAM Locations 00h - 3Fh
6
00h - 0Fh
RAM Locations 00h - 0Fh
6
10h
Vertical Start Register
6
11h
Horizontal Start Register
6
12h
Vertical Space Register
6
13h
Horizontal Space Register
6
14h
Background Control Register
6
17h
Global Enable Register
No Page
EDh
Character Bank Select Register