#include <nitro/ctrdg.h>
void CTRDG_ReadAgbSram(u32 src, void* dst, u32 size);
Corresponding AGB function: void ReadSram(u8 *src,u8 *dst,u32 size)
| src | Source SRAM address to read (address on the AGB memory map) |
| dst | Represents the address of the work area to store data that was read (address on the AGB memory map) |
| size | Represents the size of data read in bytes |
None.
Reads data of the size given by "size" into the destination address given by "dst" from the SRAM address specified by argument.
The access cycle setting is created in the function and does not need to be set beforehand.
Note: The cartridge bus is locked for a set period by this function.
In addition, the AGB backup device cannot be accessed normally by the IS-NITRO-DEBUGGER.
However, be sure to check operations using an actual DS handheld unit since normal access is possible with actual DS units. (This will be fixed in a future version of IS-NITRO-DEBUGGER.)
04/07/2006 Initial version.
CONFIDENTIAL