#include <nitro/gx/gx_load.h>
void GX_LoadBG2Char(const void *pSrc, u32 offset, u32 szByte);
This function uses DMA to transfer character data to the BG2 character data base address in the Main 2D Engine BG-VRAM. An offset can be specified for the transfer destination address. The DMA channel that is used is GX_DMAID (defined in gxcommon.h). Both offset and szByte must be 4-byte aligned. The transfer destination address is (u32) G2_GetBG2CharPtr() + offset.
Notes:
DC_FlushRange
prior to the process.pSrc |
Pointer to transfer source |
offset |
Offset |
szByte |
Transfer size (in bytes) |
None
02/09/2004 Revised and added to the description
01/19/2004 Initial Version