Hitachi HD64411 Q2 User Manual page 68

Quick 2d graphics renderer
Table of Contents

Advertisement

Table 4-1 Drawing Commands (cont)
T y p e
Command Name
Register setting
MOVE
RMOVE
LCOFS
RLCOFS
SCLIP
UCLIP
Sequence
JUMP
control
GOSUB
RET
NOP3
Drawing end
TRAP
The following items (basic functions) are available for drawing command parameter specifications.
The items that can be specified depend on the command.
• Rendering coordinate system
The position of all coordinate system origins, excluding binary source coordinates, can be
assigned to the pixel position at which x = 0 and y is a multiple of 128, counting from the
start of the unified graphics memory (UGM) in pixel units.
 Rendering coordinates (2-dimensional coordinate system)
These are the coordinates at which the Q2 performs drawing. For rendering coordinates, a
512-pixel × 512-pixel or 1024-pixel × 512-pixel coordinate system can be selected
according to the size of the UGM.
 Multi-valued source coordinates (2-dimensional coordinate system)
These are the coordinates for natural image and other color map data. A maximum of 1024
× 1024 size positive coordinates can be used. The size of the coordinates that can be used is
determined by the size of the UGM. Also, the maximum number of colors that can be
handled with multi-valued source coordinates is normally the same as for rendering
coordinates. Multi-valued source coordinates can be superimposed on rendering coordinates.
Function
Current pointer setting (absolute coordinate
specification)
Current pointer setting (relative coordinate specification)
Local offset value setting (absolute coordinate
specification)
Local offset value setting (relative coordinate
specification)
Sets rectangle with diagonal designated by origin and
specified coordinate point as clipping area.
Sets rectangle with diagonal designated by two
coordinate points as clipping area.
Command sequence jump (branch)
Subroutine call (branch)
Subroutine return
No operation: no processing executed.
Ends drawing processing and generates CPU interrupt.
61

Advertisement

Table of Contents
loading

Table of Contents