English
Language : 

SH7764 Datasheet, PDF (1189/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 23 G2D
3. Command Parameters
Color:
8- or 16-bit/pixel color specification. For 16-bit/pixel drawing, the
color specification should match the destination pixel format.
For 8-bit/pixel drawing, the same value should be set in the upper and
lower bytes.
n (n = 1 to 65,535): Number of vertices
W:
Line width. Set a 6-bit integer. Write 0 to the unused bits.
When 0 is set in W, a polygonal line of line width 1 is drawn. Setting
1 in W is prohibited.
DXn (n = 1 to 65,535): Rendering coordinate (relative coordinate). Negative number
expressed as two's complement.
DYn (n = 1 to 65,535): Rendering coordinate (relative coordinate). Negative number
expressed as two's complement.
LINK Address:
LINK absolute address (Longword address. Write 0 to bits A31 to
A29, A1, and A0.)
LINK relative address (Longword address. Negative number
expressed as two's complement. Bits A31 to A29 are used to extend
the sign in bit A28. Write 0 to bits A1 and A0.)
Note: Even in 32-bit addressing mode, write the values in bits 28 to 3 of the specified 32-bit
address to bits A28 to A3.
(c) Description
Draws a polygonal line comprising line segments (XC, YC) – (XC + DX1, YC + DY1), (XC +
DX1, YC + DY1) – (XC + DX1 + DX2, YC + DY1 + DY2), ..., (XC + ... + DXn – 1, YC + ... +
DYn – 1) – (XC + ... + DXn – 1 + DXn, YC + ... + DYn – 1 + DYn) to the coordinates specified
by the relative shift (DX, DY) from the current pointer values (XC, YC). When a value greater
than 1 is set in W, a bold line can be drawn. When LINKE = 1, the vertex coordinates are read
from the memory address specified by the LINK Address. The LINK Address can be specified
through the LREL bit as an absolute address or a relative address with respect to the memory
address at which the RLINEC command code is located.
The final coordinate point is stored as the current pointer values (XC, YC).
Rev. 1.00 Nov. 22, 2007 Page 1133 of 1692
REJ09B0360-0100