MI_DispMemDmaCopy

Syntax

#include <nitro/mi.h>

void MI_DispMemDmaCopy( u32 dmaNo, const void* src );

Arguments

dmaNo DMA channel used.
src The transfer source address.

Return Values

None.

Description

This function performs DMA memory transfers in the main memory display startup mode.

When using this mode, the access right to main memory should be set to "ARM9 Priority." Otherwise, the screen may not display properly because of a delay as ARM7 accesses main memory and starts up DMA memory. The access right priority can be specified with MI_SetMainMemoryPriority.

Internal Operation

Uses the following IO registers: DMAn source register (0x40000B0 + 12n), DMAn destination register (0x40000B4 + 12n), and DMAn control register (0x40000B8 + 12n). (n is the DMA channel used.)

See Also

MI_DmaCopy*
MI_SetMainMemoryPriority

Revision History

2004/08/26 Added description about the setting of the ARM9 priority to access the main memory when using DMA memory.
2003/12/01 Initial version.


CONFIDENTIAL