
2004 Apr 05
69
Philips Semiconductors
Product specification
XGA dual input flat panel controller
SAA6713H
handbook, full pagewidth
MHC227
S
E
M
fg = 16
M
fg = 16
M
fg = 7
M
fg = 0
colour 0 (BG)
colour 1 (FG)
colour 2 (FG)
colour 3 (FG)
offset
border
gap
OSDT_FR_X
OSDT_FR_Y
Fig.20 Multicolour slider generation.
When putting together a slider with multiple characters
(see Fig.20), a slider always consists of three basic parts:
a start part (S), a middle part (M) with different fill grades
(fg) and an ending part (E).
The start part is always located at address 1D2H
(horizontal)respectively1F6H(vertical)andtheendpartis
always located at 1E3H respectively 1E4H.
The characters in between the start and the end character
correspond to different fill grades of the middle part that
are needed to give a subcharacter precision in a custom
slider. In this system the middle part uses a natural
resolution of 16 pixel per character which is resulting in
17 differentcharactersfromemptytofull.Ifthedisplaysize
is different from the natural resolution, either some fill
grades will be skipped or some fill grades will be doubled
within the 17 characters that are reserved to represent the
middle parts. Anyhow mathematically, it is always correct
to use the slider resolution of 16 to calculate the fill grade
of the last partly filled slider part and use this value directly
to index to the correct middle part. Using this approach
results in an overall slider resolution equal to the number
of used middle characters multiplied by 16 to graphically
display any values within an OSM either with a fill bar or a
single marker.
To achieve more flexibility in the OSD look, 4 kbyte of user
definable RAM can be used in addition to the ROM/GEN
characters. This font definition RAM can contain a
downloadable mixed multicolour or single colour font
whichisin terms of character size freelyprogrammable via
OSDT_FR_X and OSDT_FR_Y registers but has to be
between 8
×
8 and 32
×
32 pixels. This font resolution is
validforallcharactersinsidetheRAM,nomatteriftheyare
defined in single colour or multicolour but a single colour
pixel can be stored with one while a multicolour pixel
occupies two bits inside the font RAM. For single colour
characters a pixel of value ‘0’ will be displayed as
background and a pixel data of value ‘1’ will be displayed
asforegroundaccordingto thedefinedcolourvaluesin the
OSDT_PROP registers and the OSD colour definitions on
register page 9. For multicolour characters always two bits
are taken for each pixel that directly map to the four colour
value inside the selected multicolour palette which is also
defined in register page 9 and is selected within
OSDT_PROP.
The font RAM (see Table 47) can store a maximum
number of 512 8
×
8 single colour characters which
corresponds to the 9-bit charcode in the OSDT_PROP
registers. Using multicolour definitions that need two bits
per pixel and/or larger font resolution reduces of course
the number of possible characters to be stored in the font
RAM.