|
SH7764 Datasheet, PDF (1179/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series | |||
|
◁ |
Section 23 G2D
(5) RLINEA
(a) Function
Draws a polygonal line with any width in the destination area with a relative coordinate
specification from the current pointer value while referencing a multi-valued (8- or 16-bit/pixel)
source.
(b) Command Format
⢠REL = 0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OP CODE = 1011_0110
Reserve (all 0)
Draw Mode
000
Base Address (quad word address)
000
0000
TDX (8 ⤠TDX ⤠4088)
00 0 0 0 0 0
TDY (1 ⤠TDY ⤠4095)
0000
TXOFS (0 ⤠TXOFS ⤠TDX â 1)
n (1 ⤠n ⤠65535)
Reserve (all 0)
0 0 0 0 0 0 0 0 0 0 W (0,2 ⤠W ⤠63)
Sign DX2 (-128 ⤠DX2 ⤠127) Sign DY2 (-128 ⤠DY2 ⤠127) Sign DX1 (-128 ⤠DX1 ⤠127) Sign DY1 (-128 ⤠DY1 ⤠127)
Sign
:
Sign
:
Sign
:
Sign
:
Sign
:
Sign
:
Sign
:
Sign
:
Sign DXn (-128 ⤠DXn ⤠127) Sign DYn (-128 ⤠DYn ⤠127) Sign DXn-1 (-128 ⤠DXn-1 ⤠127) Sign DYn-1 (-128 ⤠DYn-1 ⤠127)
Notes: 1. When W = 0, set TDY to 1.
2. When n = 0, correct operation is not guaranteed.
3. When n is an odd number, insert a dummy word of 0 at the end.
Rev. 1.00 Nov. 22, 2007 Page 1123 of 1692
REJ09B0360-0100
|
▷ |