# CTRDG_DmaCopy*

## C Specification

      #include <nitro/ctrdg.h>

      BOOL CTRDG_DmaCopy16( u32 dmaNo, const void* src, void* dest, u32 size );
      BOOL CTRDG_DmaCopy32( u32 dmaNo, const void* src, void* dest, u32 size );

## Arguments

dmaNo | The DMA number (0-3) that is used in the transfer.
src | The transfer source address.
dest | The transfer destination address.
size | The transfer size (in bytes).

## Return Values

Returns a value of TRUE if the transfer succeeds. Returns a value of FALSE when there is no Game Pak or if the transfer fails.

## Description

These functions transfer data that is on the Game Pak using DMA.

`CTRDG_DmaCopy16()` transfers data using MI_DmaCopy16().
`CTRDG_DmaCopy32()` transfers data using MI_DmaCopy32().

These functions do not set the access cycle. The access cycle must be set in advance.

## See Also

`CTRDG_Init`, `CTRDG_CpuCopy*`, `CTRDG_Read*`, `CTRDG_Write*`

## Revision History

09/17/2004 Initial Version

CONFIDENTIAL