#include <nitro/gx/gx_load.h>
void GXS_LoadOBJExtPltt(const void *pSrc, u32 destSlotAddr, u32 szByte);
This function uses DMA to transfer OBJ palette data to the sub 2D Engine's OBJ Extended palette. The transfer destination address (in the OBJ Extended palette) can be specified. The DMA channel that is used is GX_DMAID (defined in gxcommon.h). Both destSlotAddr and szByte must be 4-byte aligned. Call between
GXS_BeginLoadOBJExtPltt and GXS_EndLoadOBJExtPltt.
Notes:
DC_FlushRange or some similar function.GX_SetBankForSubOBJExtPltt,
GX_ResetBankForSubOBJExtPltt, or
GX_DisableBankForSubOBJExtPltt between
GXS_BeginLoadOBJExtPltt and
GXS_EndLoadOBJExtPltt.pSrc |
Pointer to transfer source |
destSlotAddr |
Address to inside of the transfer source OBJ Extended palette slot |
szByte |
Transfer size (in bytes) |
None
GXS_BeginLoadOBJExtPltt,
GXS_EndLoadOBJExtPltt
02/09/2004 Initial Version