Basic Functions; Rendering Coordinate Systems - Hitachi HD64411 Q2 User Manual

Quick 2d graphics renderer
Table of Contents

Advertisement

DLSAR
4 . 3

Basic Functions

4 . 3 . 1

Rendering Coordinate Systems

The Q2 controls three 2-dimensional coordinate systems, for rendering coordinates, 8-bit/pixel or
16-bit/pixel (multi-valued) source coordinates, and work coordinates, and one 1-dimensional
coordinate system, for 1-bit/pixel (binary) source coordinates.
Rendering Coordinates: The size of the coordinate system is fixed, as shown in figure 4-2.
The correspondence to the frame buffers is also fixed, but depends on the installed memory capacity
and screen size. Make the appropriate selection with the rendering mode register. In an area other
than one containing a frame buffer, although drawing operations are performed, nothing is written.
Rendering coordinates that can be selected by the Q2 are within the range shown in figure 4-2
Therefore, when drawing is performed using the LCOFS command, coordinates after addition of the
offset set by the LCOFS command must be within the range shown in figure 4-2.
Command
sequence 1
JUMP
Command
sequence 2
GOSUB
TRAP
Figure 4-1
Display List Example
Subroutine
RET
(Subroutine depth is
limited to one level)
63

Advertisement

Table of Contents
loading

Table of Contents