English
Language : 

SH7764 Datasheet, PDF (1147/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 23 G2D
(10) Source Coordinate Relative Address Specification (REL)
Setting the REL bit to 1 in the POLYGON4A, POLYGON4B, BITBLTA, BITBLTB, LINEA,
LINEB, RLINEA, RLINEB, JUMP, and GOSUB commands enables source referencing and
branching to be performed at an address relative to (before or after) the command code. Clear the
SS bit to 0 in the POLYGON4A or BITBLTA command; correct operation is not guaranteed when
the SS bit is set to 1.
The command code address is the origin of the relative address (longword address).
Note:
With the POLYGON4A, POLYGON4B, BITBLTA, BITBLTB, LINEA, LINEB,
RLINEA, and RLINEB commands, adding the address (longword: 32-bit units) where the
command code is located to the source start relative address (longword: 32-bit units) must
result in a quad word address (64-bit units).
(11) Edge Drawing (EDG)
With the FTRAP and RFTRAP commands, setting the EDG bit to 1 enables edge lines to be
drawn after completion of trapezoid painting to the work area. Whether edge line drawing is
performed with 0 or with 1 is specified by the EOS bit.
(12) Color Offset (COOF)
The color offset specification can be used with the POLYGON4 type, LINEA, LINEB, LINEC,
RLINEA, RLINEB, RLINEC, BITBLT type, and AAFA commands. In 16-bit/pixel drawing, if
the rendering attribute COOF bit is set to 1, the result of adding the value in COFSR to the value
of the source data (color expanded data for a binary source and the specified color for the
monochrome specification) is drawn. In 8-bit/pixel drawing, the COOF bit should be cleared to 0.
When the source pixel format is ARGB, the A value is not used in operation.
(13) Source Direction X, Y (SRCDIRX, SRCDIRY)
The source direction X, Y specification can be used with the BITBLTA and BITBLTB
commands. The directions in which to scan the source data are selected.
(TXS, TYS) or the Base Address specifies the top-left corner of the rectangle source, regardless of
the source scan directions.
Rev. 1.00 Nov. 22, 2007 Page 1091 of 1692
REJ09B0360-0100