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

■ 7.4 Fixed sprite drawing command

The fixed sprite drawing command draws a character pattern in the framebuffer. When drawing, the character pattern can be flipped vertically or horizontally to the specified coordinates.
This is a standard sprite drawing command when the end bit is 0B and the command selection bit is 0000B. Fixed sprites cannot be rotated 90 °. If you want to rotate it 90 °, specify it with the transform sprite drawing command.
The contents of the command table are as follows:

 bit
 15
 14
 13
 12
 11
 Ten
 9
 8
 7
 6
 5
 4
 3
 2
 1
 0
CMDCTRL
+00
0 JP 0 0 0 0 0 0 Dir 0 0 0 0
CMDLINK
+02
LINK designation / 8H 0 0
CMDPMOD
+04
MO 0 0 0 Pc Cl Cm Me EC SP Color mode Color calculation
CMDCOLR
+06
Color bank, color look-up table / 8H (LSB fixed to 00)
CMDSRCA
+08
Character address / 8H
CMDSIZE
+ 0A
0 0 Character size X / 8 Character size Y / 8
CMDXA
+ 0C
Sign extension Vertex (A), X coordinate (XA)
CMDYA
+ 0E
Sign extension Vertex (A), Y coordinate (YA)
+10
+12
+14
+16
+18
+ 1A
CMDGRDA
+ 1C
Gouraud shading table / 8H
【note】
Is ignored (don't care)

The standard sprite drawing command is defined as follows.


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