The SGADE Documentation

the SGADE 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.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoFlashMem.c File Reference

#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.


Detailed Description

Copyright (C) 2002 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt

Author:
Gabriele Scibilia
Date:
Dec 9 2001
Implementation of SoFlashMem.h


Define Documentation

#define SO_SRAM_END_ADDRESS
 

End of SRAM.

For internal use only.

#define SO_SRAM_START_ADDRESS
 

Start of SRAM.

For internal use only.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.