GX_LoadBG0Scr


C Specification

#include <nitro/gx/gx_load.h>
void GX_LoadBG0Scr(const void *pSrc, u32 offset, u32 szByte);

Description

This function uses DMA to transfer screen data to the BG0 screen 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 2-byte aligned. The transfer destination address is (u32) G2_GetBG0ScrPtr() + offset.

Notes:

Arguments

pSrc Pointer to transfer source
offset Offset
szByte Transfer size (in bytes)

Return Values

None

See Also

GX_LoadBGPltt, GX_LoadBG0Char

Revision History

01/19/2004 Initial Version