Japanese
PROGRAMMER'S GUIDEVDP1 library
BackForward
VDP1 library

4.VDP1 basic processing reference


4.1 Data specifications

 Title
data specifications
 Data
Status return area pointer
 Data Name
SprSpStatus
 No
typedef struct SprSpStatus {
      Uint16 frameChgMode; /* Frame change mode *1 */
      Uint16 frameEraseMode; /* Frame erase mode *2 */
      Uint16 vbInterval; /* V-BLANK interval number */
      Uint16 eraseData; /* Frame buffer erase data */
      Uint16 eraseLeftX; /* Frame buffer erase position left end */
      Uint16 eraseTopY; /* Frame buffer erase position top edge */
      Uint16 eraseRightX; /* Frame buffer erase position right edge */
      Uint16 eraseBotY; /* Frame buffer erase position bottom edge */
} SprSpStatus;

*1 Frame change mode
#define AUTO_FRAME_CHG 0 /* Auto change */
#define MANUAL_FRAME_CHG 1 /* Fixed interval manual change */
#define NO_INTER_FRAME_CHG 2 /* Indeterminate interval manual change */
#define NO_INTER_VBE_FRAME_CHG 3 /* Undefined due to V blank erase */
                                     /* Interval manual change */

*2 Frame erase mode
#define OFF 0 /* Frame erase off */
#define ON 1 /* Frame erase on */


BackForward
PROGRAMMER'S GUIDEVDP1 library
Copyright SEGA ENTERPRISES, LTD., 1997