GXInitFifoPtrs

C Specification

#include <revolution/gx.h>
void GXInitFifoPtrs(
GXFifoObj*  fifo,
void*       read_ptr, 
void*       write_ptr );

Arguments

fifo A pointer to the fifo structure
read_ptr Pointer used to set the FIFO read pointer, 32-byte aligned.
write_ptr Pointer used to set the FIFO write pointer, 32-byte aligned.

Return Values

None.

Description

The function will set the fifo read and write pointers. This is normally done only during initialization of the FIFO. After that, the graphics hardware manages the FIFO pointers.

Note: For safety, this will cause an assert macro to fail if fifo is already connected to the CPU or GP.

See Also

GXInitFifoBase
GXInitFifoLimits

GXSetCPUFifo

GXSetGPFifo

Revision History

03/01/2006 Initial version.