HARDWARE ManualVDP1 User's Manual
BackForward
VDP1 User's Manual / Chapter 6 Command Table

■ 6.7 CMDXA ~ CMDYD (vertex coordinate data)

Specify the coordinates, such as the coordinates of the clipping area and the coordinates of the vertex of the sprite drawing, in CMDXA to CMDYD. Up to 4 vertex coordinates (X coordinate, Y coordinate) can be specified as the coordinates that can be specified. Define in 16Byte (8word) from the start address + 0CH to + 1AH of the command table.

 15
 14
 13
 12
 11
 Ten
 9
 8
 7
 6
 5
 4
 3
 2
 1
 0
CMDXA
+ 0CH
Sign extension Vertex (A), X coordinate (XA)
CMDYA
+ 0EH
Sign extension Vertex (A), Y coordinate (YA)
CMDXB
+ 10H
Sign extension Vertex (B), X coordinate (XB) or display, X width
CMDYB
+ 12H
Sign extension Vertex (B), Y coordinate (YB) or display, Y width
CMDXC
+ 14H
Sign extension Vertex (C), X coordinate (XC)
CMDYC
+ 16H
Sign extension Vertex (C), Y coordinate (YC)
CMDXD
+ 18H
Sign extension Vertex (D), X coordinate (XD)
CMDYD
+ 1AH
Sign extension Vertex (D), Y coordinate (YD)

Table 6.6 Correspondence between commands and CMDXA to CMDYD
 command
 CMDXA
CMDYA
 CMDXB
CMDYB
 CMDXC
CMDYC
 CMDXD
CMDYD
 Fixed sprite drawing command
 Vertex (A)
 Rectangle sprite drawing command (there are two ways)
 Specify 2 coordinates
 Vertex (A)
 Vertex (C)
 Fixed point designation
 Fixed point coordinates
 Display width
 Transform sprite drawing command
 Vertex (A)
 Vertex (B)
 Vertex (C)
 Vertex (D)
 Polygon drawing command
 Vertex (A)
 Vertex (B)
 Vertex (C)
 Vertex (D)
 Polyline drawing command
 Vertex (A)
 Vertex (B)
 Vertex (C)
 Vertex (D)
 Line drawing command
 Vertex (A)
 Vertex (B)
 User clipping coordinate setting command
 Upper left coordinates
 Lower right coordinates
 System clipping coordinate setting command
 Lower right coordinates
 Relative coordinate setting command
 Relative coordinates
[Note]-is unused.


BackForward
HARDWARE ManualVDP1 User's Manual
Copyright SEGA ENTERPRISES, LTD., 1997