| CTRDG_Init | Initializes the Game Pak library. |
|---|
| CTRDG_IsExisting | Checks whether a Game Pak is inserted. |
|---|---|
| CTRDG_IsPulledOut | Detects a Game Pak removal. |
| CTRDG_SetPulledOutCallback | Sets the Game Pak removal callback. |
| CTRDG_TerminateForPulledOut | Stops both the ARM9 processor and the ARM7 processor when a Game Pak removal is detected. |
| CTRDG_IsAgbCartridgePulledOut | Detects AGB Game Pak removal. |
| CTRDG_IsOptionCartridgePulledOut | Detects removal of option Game Pak. |
| CTRDG_CheckPulledOut | Immediately carries out Game Pak removal detection from ARM9. |
| CTRDG_IsAgbCartridge | Returns a BOOLEAN value to indicate if an AGB Game Pak is present. |
|---|---|
| CTRDG_IsOptionCartridge | Returns a BOOLEAN value to indicate if an Option Pak with peripherals is installed. |
| CTRDG_IsBitID | Returns whether the peripheral device identified by the bit ID is mounted in the Cartridge Slot. |
| CTRDG_IsNumberID | Returns whether the peripheral device identified by the number ID is mounted in the Cartridge Slot. |
| CTRDG_GetAgbMakerCode | Returns the AGB Game Pak's maker code. |
|---|---|
| CTRDG_GetAgbGameCode | Returns the game code (initial code) of AGB Game Pak. |
| CTRDG_IsEnabled | Retrieves whether access to the AGB cartridge is enabled or disabled. |
| CTRDG_Enable | Toggles whether access to the AGB cartridge is enabled or disabled. |
| CTRDG_CheckEnabled | Determines whether access to the AGB cartridge is enabled. |
| CTRDG_DmaCopy* | Transfers data using DMA. |
|---|---|
| CTRDG_CpuCopy* | Transfers data using the CPU. |
| CTRDG_Read* | Reads data from the Game Pak area. |
| CTRDG_Write* | Writes data to the Game Pak area. |
| CTRDG_IdentifyAgbBackup | Identifies the backup device and initializes settings. |
|---|---|
| CTRDG_SetTaskThreadPriority | Changes the priority of a task thread. |
| Correspondence Table | This table shows the correspondence between AGB backup access functions for the DS and backup access functions for the AGB. |
| CTRDG_ReadAgbFlash | Reads backup device data. |
|---|---|
| CTRDG_EraseAgbFlashChip | Erases backup device data on the flash chip. |
| CTRDG_EraseAgbFlashSector | Erases backup device data in a sector. |
| CTRDG_WriteAgbFlashSector | Writes data in sector units to the backup device. |
| CTRDG_VerifyAgbFlash | Verifies data on the backup device in byte units. |
| CTRDG_WriteAndVerifyAgbFlash | Writes data to the backup device in sector units and verifies that data in byte units . |
| CTRDG_ReadAgbFlashAsync | Asynchronously reads backup device data. |
| CTRDG_EraseAgbFlashChipAsync | Asynchronously erases backup device data on the flash chip. |
| CTRDG_EraseAgbFlashSectorAsync | Asynchronously erases backup device data in a sector. |
| CTRDG_WriteAgbFlashSectorAsync | Asynchronously writes data in sector units to the backup device. |
| CTRDG_VerifyAgbFlashAsync | Asynchronously verifies data on the backup device in byte units. |
| CTRDG_WriteAndVerifyAgbFlashAsync | Asynchronously writes data to the backup device in sector units and verifies that data in byte units. |
| CTRDG_ReadAgbSram | Reads backup device data. |
|---|---|
| CTRDG_WriteAgbSram | Writes data in sector units to the backup device. |
| CTRDG_VerifyAgbSram | Verifies data on the backup device in byte units. |
| CTRDG_WriteAndVerifyAgbSram | Writes data to the backup device in sector units and verifies that data in byte units . |
| CTRDG_ReadAgbSramAsync | Asynchronously reads backup device data. |
| CTRDG_WriteAgbSramAsync | Asynchronously writes data in sector units to the backup device. |
| CTRDG_VerifyAgbSramAsync | Asynchronously verifies data on the backup device in byte units. |
| CTRDG_WriteAndVerifyAgbSramAsync | Asynchronously writes data to the backup device in sector units and verifies that data in byte units. |
| CTRDG_SetPhiClock | This function sets the PHI output terminal. |
|---|---|
| CTRDG_GetPhiClock | This function gets PHI output terminal setting values. |
CONFIDENTIAL