GX_LoadBG2Bmp


C Specification

#include <nitro/gx/gx_load.h

void GX_LoadBG2Bmp(
    const void*  pSrc, 
            u32  offset, 
            u32  szByte );

Description

For 256 color bitmap BGs, direct color bitmap BGs and large screen 256-bit colormap BGs, this function DMA transfers bitmap data to the BG2 screen base address in the BG-VRAM of the main 2-D engine. You can specify an offset to the transfer destination address. The DMA channel used is GX_DMAID (defined in gxcommon.h).offset and szByte need to be multiples of 2. The transfer destination address is (u32) G2_GetBG2ScrPtr() + offset. GX_LoadBG2Scr is called internally.

Notes:

Arguments

pSrc

Transfer source pointer

offset  

Offset

szByte

Transfer Size (in bytes)

Return Values

None.

See Also

GX_LoadBGPltt, GX_LoadBG2Scr

Revision History

03/23/2004 Initial Version