
Genesis Microchip
gm5060 / gm5060-H Data Sheet
February 2002
C5060-DAT-01G
56
Bits 7 - 0: Character Index
Bits 23 - 20: Bits 7-4 of foreground colors
Bits 19 - 17: Bits 3-0 of foreground color 3 (pixel bit pattern "11")
Bits 15 - 12: Bits 3-0 of foreground color 2 (pixel bit pattern "10")
Bits 11 - 9: Bits 3-1 of foreground color 1 (pixel bit pattern "01")
Note that bit 0 of foreground color 1 is always "0"
Bit 8: A "1" indicates that this character blinks when blinking is enabled.
Note that the background color (pixel bit pattern "00") can be defined using the window method
as described in section in Section 4.15.1.3 below; alternatively it can be the same as foreground
color 2.
Character Map For Rotated OSD
When defining the color and character maps for a rotated OSD image, define the maps from the
bottom left hand corner. Note the difference in defining the CHARMAP_XSZ and
CHARMAP_YSZ registers for rotated OSD images when compared to non-rotated images.
4.15.1.2. Font Table
Font tables may be defined either in on-chip RAM (same RAM that character map is stored in) or
in an external frame buffer. Either way, fonts may be defined using one bit-per-pixel (one
foreground color and one background color) or two bits-per-pixel (three foreground colors and
one background color).
One Bit Per Pixel On-chip Programmable SRAM Based Fonts
The gm5060 OSD controller has SRAM available to store up to 256, one bit per pixel character
mapped fonts. Figure 47 shows the font definition for a character in the on chip SRAM font table,
using one bit per pixel protocol. Each font definition is up to 12 pixels horizontal by 18 pixels
vertical.
CHARMAP_FONTY=18
0
CHARMAP_FONTX =12
000000000000
000000000000
000011111000
000111111100
001100001100
001100001100
000000011000
000000110000
000001100000
000011000000
000110000000
001100000000
001111111100
000000000000
000000000000
001111111100
000000000000
Font BitMask
1
000000000000
Figure 47. Non-Rotated SRAM Resident Font