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 "SoSystem.h"Go to the source code of this file.
Defines | |
| #define | SO_MEM_MANAGER_VERIFY |
| Configuration -- If this symbol is defined, the library will verify arguments at RUN TIME. | |
| #define | SO_MEM_MANAGER_SINGLE_POOL_BASE |
| Configuration - starting address of the managed memory pool. | |
| #define | SO_MEM_MANAGER_SINGLE_POOL_SIZE |
| Configuration - the size of the managed memory pool in bytes. | |
| #define | SO_MEM_MANAGER_BLOCK_BITS |
| Configuration - the number of address bits in each allocation block (Allocation block size is equal to 1<<SO_MEM_MANAGER_BLOCK_BITS). | |
Functions | |
| void | SoMemManagerInit (void) |
| void * | SoMemManagerAlloc (u16 iSize) |
| void | SoMemManagerFree (void *pBuf) |
Variables | |
| u32 | g_u32MemPool [] |
| The single managed memory pool (must be provided by library user). | |