On-Screen Display
Setting Up the OSD
MN102H75K/F75K/85K/F85K LSI User Manual Panasonic Semiconductor Development Company
189
Panasonic
7.10.4 Setting Up the OSD Display Position
This section describes how to control the positioning of the OSD.
■
To set up the horizontal position:
Cursor
♦ Write the horizontal position of the cursor to the SHP[9:0] field
(x’007F12’).
♦ Valid range: SHP ≥ x’0C’
Graphics
♦ Write the horizontal position of the first line in the display to the
GIHP[9:0] field (x’007F16’).
♦ Write the position of the second and all following lines in the GHP[9:0]
field of the graphics display RAM data for the preceding line.
♦ Valid ranges: x’0C’ ≤ GHP ≤ HP
max
and x’0C’ ≤ GIHP ≤ HP
max
Text
♦ Write the horizontal position of the first line in the display to the
CIHP[9:0] field (x’007F1A’).
♦ Write the position of the second and all following lines in the CHP[9:0]
field of the text display RAM data for the preceding line.
♦ Valid ranges: x’0C’ ≤ CHP ≤ HP
max
and x’0C’ ≤ CIHP ≤ HP
max
■ To set up HP
max
equations, write:
♦ HP
max
= (T
hsync
− T
hw
− 0.8 µs)/T
dot
− (N
char.
× 16 × H
sz
); or
♦ HP
max
= 1024 − (N
char.
× 16 × H
sz
)
When setting up the horizontal
position, you must allow at least
0.8 µs between the end of a line
and the leading edge of HSYNC,
or the display will flicker.
T
hsync
is the HSYNC cycle, T
hw
is the HSYNC pulse width, N
char.
is the number
of characters in the line including repeated characters and blank spaces, T
dot
is
the dot clock cycle, and H
sz
is the horizontal size. The HP
max
limit ensures that
there is at least 0.8 µs between the end of a line and the leading edge of HSYNC.
■
About the horizontal start position on the screen
The horizontal position, or HP settings (SHP, GHP, and CHP) determine where
the left side of cursor, graphics, and text lines start on the screen. You can set this
value for all of the layers in 1-pixel units.
Figure 7-29 HP
max
of Horizontal Display Position
HSYNC
RGB, YM, YS
T
hw
T
hsync
0.8 µs