KallistiOS git master
Independent SDK for the Sega Dreamcast
|
SH4-to-AICA command queue. More...
#include <aica_comm.h>
Data Fields | |
uint32 | head |
Insertion point offset (in bytes) | |
uint32 | tail |
Removal point offset (in bytes) | |
uint32 | size |
Queue size (in bytes) | |
uint32 | valid |
1 if the queue structs are valid | |
uint32 | process_ok |
1 if it's ok to process the data | |
uint32 | data |
Pointer to queue data buffer. | |
SH4-to-AICA command queue.
Command queue; one of these for passing data from the SH-4 to the AICA, and another for the other direction. If a command is written to the queue and it is longer than the amount of space between the head point and the queue size, the command will wrap around to the beginning (i.e., queue commands can be split up).
uint32 aica_queue_t::data |
Pointer to queue data buffer.
uint32 aica_queue_t::head |
Insertion point offset (in bytes)
uint32 aica_queue_t::process_ok |
1 if it's ok to process the data
uint32 aica_queue_t::size |
Queue size (in bytes)
uint32 aica_queue_t::tail |
Removal point offset (in bytes)
uint32 aica_queue_t::valid |
1 if the queue structs are valid