Japanese
HARDWARE ManualVDP1 User's ManualChapter 7 Command
BackForward
VDP1 User's Manual/Chapter 7 Commands

■7.7 Polygon drawing commands

The polygon drawing commands draw rectangles into the frame buffer. Fills the inside of the rectangle with the specified color.
When the end bit is 0B and the command selection bit is 0100B, it is a polygon drawing command.
The contents of the command table are as follows:

 bit
 15
 14
 13
 12
 11
 10
 9
 8
 7
 6
 5
 4
 3
 2
 1
 0
CMDCTRL
+00
0 JP 0 0 0 0 0 0 Dir 0 1 0 0
CMDLINK
+02
LINK specification/8H 0 0
CMDPMOD
+04
M.O. 0 0 0 PC Cl Cm Me 1 1 0 0 0 color calculation
CMDCOLR
+06
non-textured color
+08
+0A
CMDXA
+0C
sign extension Vertex (A), X coordinate (XA)
CMDYA
+0E
sign extension Vertex (A), Y coordinate (YA)
CMDXB
+10
sign extension Vertex (B), X coordinate (XB)
CMDYB
+12
sign extension Vertex (B), Y coordinate (YB)
CMDXC
+14
sign extension Vertex (C), X coordinate (XC)
CMDYC
+16
sign extension Vertex (C), Y coordinate (YC)
CMDXD
+18
sign extension Vertex (D), X coordinate (XD)
CMDYD
+1A
sign extension Vertex (D), Y coordinate (YD)
CMDGRDA
+1C
Gouraud shading table/8H
【note】
is ignored (don't care)

The polygon drawing command is defined as follows.


BackForward
HARDWARE ManualVDP1 User's ManualChapter 7 Command
Copyright SEGA ENTERPRISES, LTD., 1997