Jo Engine  9
Jo Sega Saturn Engine
Data Structures | Functions | Variables
vdp1_command_pipeline.h File Reference

VDP1 command table handling. More...

Go to the source code of this file.

Data Structures

struct  jo_vdp1_command
 32 byte VDP1 command table entry More...
 

Functions

enum __attribute__ ((__packed__))
 VDP1 commands. More...
 
static __jo_force_inline jo_vdp1_commandjo_vdp1_get_command_entry_from_link (unsigned short link)
 
static __jo_force_inline unsigned short jo_vdp1_command_index_to_link (int command_index)
 
static __jo_force_inline jo_vdp1_commandjo_vdp1_get_command_entry (int command_index)
 
static __jo_force_inline unsigned short jo_vdp1_command_to_link (jo_vdp1_command *command)
 
jo_vdp1_commandjo_vdp1_create_command (void)
 

Variables

unsigned int __jo_vdp1_command_index
 (internal engine usage) More...
 
 jo_vdp1_command_control
 

Detailed Description

VDP1 command table handling.

Author
Johannes Fetz
Bug:
No known bugs.

Data Structure Documentation

struct jo_vdp1_command

32 byte VDP1 command table entry

Data Fields
unsigned short colr
jo_vdp1_command_control ctrl
unsigned short grda
short jo_engine_reserved
unsigned short link
unsigned short pmod
unsigned short size
unsigned short srca
short xa
short xb
short xc
short xd
short ya
short yb
short yc
short yd

Function Documentation

enum __attribute__ ( (__packed__)  )

VDP1 commands.

static __jo_force_inline unsigned short jo_vdp1_command_index_to_link ( int  command_index)
static
static __jo_force_inline unsigned short jo_vdp1_command_to_link ( jo_vdp1_command command)
static
jo_vdp1_command* jo_vdp1_create_command ( void  )
static __jo_force_inline jo_vdp1_command* jo_vdp1_get_command_entry ( int  command_index)
static
static __jo_force_inline jo_vdp1_command* jo_vdp1_get_command_entry_from_link ( unsigned short  link)
static

Variable Documentation

unsigned int __jo_vdp1_command_index

(internal engine usage)

Warning
MC Hammer: don't touch this
jo_vdp1_command_control