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  

SoBkgMemManager.h File Reference

#include "SoSystem.h"
#include "SoTileSet.h"

Go to the source code of this file.

Functions

void SoBkgMemManagerPreInitialize (void)
 Performs first stage setup for the BKG memory manager.

void SoBkgMemManagerAllocTileSet (const SoTileSet *a_TileSet, u32 a_CharBase, u32 a_BaseIdx)
 Loads tile date into background VRAM.

void SoBkgMemManagerAllocBkg (u32 a_Options)
 reserves space for a BKG screen

void SoBkgMemManagerInitialize (void)
 Final setup for the BKG memory manager.

void SoBkgMemManagerSetTileSet (const SoTileSet *a_TileSet, u16 *a_TileMapBuffer)
 Specifies the tile data source for demand-loaded tiles.

u16 SoBkgMemManagerAllocTile (u32 a_TileIdx)
 maps a 256 color tile from active TileCache

void SoBkgMemManagerFreeTile (u32 a_TileIdx)
 releases a 256 color tile from active TileCache

u16 SoBkgMemManagerAllocTile16 (u32 a_TileIdx)
 maps a 16 color tile from active TileCache

void SoBkgMemManagerFreeTile16 (u32 a_TileIdx)
 releases a 16 color tile from active TileCache


Detailed Description

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

Author:
Mark Price
Date:
June 16 2002
See the SoBkgMemManager module for more information.


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