2000 Jun 30
76
Philips Semiconductors
Objective specification
Enhanced TV microcontrollers with
On-Screen Display (OSD)
SAA56xx
23.4.16 D
EFINING CHARACTERS
The DRC RAM is mapped into the 80C51 RAM address
space and starts at location 8800H. The character matrix
is 12 bits wide and therefore requires two bytes to be
written for each word. The first byte (even addresses),
addresses the lower eight bits and the lower nibble of the
second byte (odd addresses) addresses the upper four
bits.
For characters of 9, 10 or 16 lines high, the pixel
information starts in the first address and continues
sequentially for the required number of addresses.
Characters of 13 lines high are defined with an initial offset
of one address, to allow for the correct generation of
fringing across boundaries of clustered characters
(see Fig.31). The characters continue sequentially for
13 lines,afterwhichafurtherlinecanagainbeusedforthe
generation of correct fringing across boundaries of
clustered characters.
23.4.17 S
PECIAL GRAPHICS CHARACTERS
Several special graphics characters (see Fig.32 for an
example) are provided for improved OSD effects, to
provide a choice of four colours within a character cell, see
Table 30.
Table 30
Special graphics character colour allocation
By default, the colours are stored in the Character ROM
location of character codes 8XH and 9XH of the character
table (32 ROM characters), or in the DRCS RAM.
If TXT26.EXTENDED DRCS is set, the colours are stored
in character codes 8XH, 9XH, AXH and CXH, or in the
DRCs RAM, including the extended location
(64 characters). Each special graphics character uses two
consecutive normal characters.
OSD/TXT:
The SAA56xx family of devices allow for
16 special graphics characters if
TXT26.EXTENDED DRCS = 0 and 32 if
TXT26.EXTENDED DRCS = 1. The double plane
decoding for the special graphics is set by
TXT20.OSD PLANES in single window mode or for
Page A in double window mode, or by setting
TXT29.OSD PLANES B for Page B in double window
mode.
OSD/CC:
ForTXT20.5 = 0,theconditionsarethesameas
in OSD/TXT mode. For TXT20.5 = 1, any character
location can be used as special graphics using bit 14 of its
parallel code (see Table 31), extended special graphic
attributes.
Remark:
Fringing, underline, overline and smoothing are
not possible for special graphics.
If the screen colour is transparent (implicit in mixed mode)
and the box attribute is set inside the object, the object is
surrounded by video. If the box attribute is not set, the
background colour inside the object will also be displayed
as transparent.
handbook, halfpage
line
number
line 13 from
character above
line 1 from
character below
top left
pixel
MSB
LSB
MBK975
HEX
440
003
00C
030
0C0
300
C00
C00
300
0C0
030
00C
003
000
1A8
000
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fringing
top line
bottom right
pixel
bottom line
fringing
line not used
Fig.31 13-line high DRCs character format.
PLANE 1
PLANE 0
COLOUR ALLOCATION
0
0
1
1
0
1
0
1
background colour
foreground colour
CLUT entry 6
CLUT entry 7