Hitachi HD64411 Q2 User Manual page 76

Quick 2d graphics renderer
Table of Contents

Advertisement

Y
Case where LH ← 8-bit data
Figure 4-9
Binary Source Data: Binary source data is arranged in linear fashion in the binary source area
in the UGM, and is managed as 2-dimensional coordinates (binary source coordinates) by TDX and
TDY in the POLYGON4B command. The left-hand screen pixel must be located at the LSB of the
binary source data when the binary source data area is viewed from the Q2.
However, the horizontal width (TDX) is specified in multiples of 8 pixels (1-byte units). an
example of binary source data is shown in figure 4-10.
A binary source is used for the definition of character data and line-type data. When drawing, 0s are
converted to COLOR0 data, and 1s to COLOR1 data (in transparent mode, only 1s are converted to
COLOR1 data for drawing).
LSB
Figure 4-10
Example of Kanji Font as Binary Source (TDX = 24, TDY = 24)
X
Multi-Valued Source Data Configuration
TDX
MSB
LSB
Example of kanji font as binary
source TDX=24, TDY=24
Data:
H'1C00, H'0E07, H'430C,
H'0C1C, H'D8E3, H'FFFF,
H'0C00, H'0003, H'030C,
H'0140, H'4718, H'3FFF,
H'636E, H'2C18, H'1863,
H'6320, H'3018, H'1FFF,
H'6310, H'1800, H'1860,
H'FF98, H'0C3F, H'0060,
H'600F, H'EC60, H'FFFF,
H'B00C, H'0C01, H'0338,
H'1C0C, H'0C0E, H'3C0E,
H'038C, H'ECF8, H'6000
69

Advertisement

Table of Contents
loading

Table of Contents