The Socrates Gameboy Advance Development Engine
The SGADE is a development library for the Nintendo Gameboy
Advance. It's free for all uses and is distributed without guarantees.
For more information visit
the SGADE page.
#include "SoFlashMem.h"#include "SoDebug.h"Defines | |
| #define | SO_SRAM_START_ADDRESS |
| Start of SRAM. | |
| #define | SO_SRAM_END_ADDRESS |
| End of SRAM. | |
Functions | |
| u16 | SoFlashMemSaveByte (u16 a_Offset, u8 a_Value) |
| Saves a byte (8 bit) into SRAM. | |
| u16 | SoFlashMemSaveHalfword (u16 a_Offset, u16 a_Value) |
| Saves a halfword (16 bit) into SRAM. | |
| u16 | SoFlashMemSaveWord (u16 a_Offset, u32 a_Value) |
| Saves a word (32 bit) into SRAM. | |
| u16 | SoFlashMemSaveBuffer (u16 a_Offset, u16 a_Length, u8 *a_Buffer) |
| Saves a buffer into SRAM. | |
| u8 | SoFlashMemLoadByte (u16 a_Offset) |
| Loads a byte (8 bit) from SRAM. | |
| u16 | SoFlashMemLoadHalfword (u16 a_Offset) |
| Loads a halfword (16 bit) from SRAM. | |
| u32 | SoFlashMemLoadWord (u16 a_Offset) |
| Loads a word (32 bit) from SRAM. | |
| u16 | SoFlashMemLoadBuffer (u16 a_Offset, u16 a_Length, u8 *a_Buffer) |
| Loads a buffer from SRAM. | |
|
|
End of SRAM.
For internal use only.
|
|
|
Start of SRAM.
For internal use only.
|