Main Page | Modules | Related Pages

BIOS Functions

Functions


Detailed Description

Description ...

The BIOS Functions Module can be used to execute functions from the GBA's BIOS. Several functions expect halfword or word-aligned memoryaddresses to work probably.

The debug library contains a memoryaddress-checking-mechanism which will display an error when a parameter contains an invalid memoryaddress. Invalid in sense of wrong alignment.


Function Documentation

void hel_SwiLZ77UnCompVram void *  pDst,
const void *  pSrc
 

Expand LZ77-compressed data.

Parameters:
pDst Destination address, must be halfword aligned!
pSrc Source address, must be word aligned and data size must be multiple 4.

void hel_SwiLZ77UnCompWram void *  pDst,
const void *  pSrc
 

Expand LZ77-compressed data.

Parameters:
pDst Destination address.
pSrc Source address, must be word aligned and data size must be multiple 4.

void hel_SwiRLUnCompVram void *  pDst,
const void *  pSrc
 

Expand Run-Length-Encoded data.

Parameters:
pDst Destination address, must be halfword aligned!
pSrc Source address, must be word aligned and data size must be multiple 4.

void hel_SwiRLUnCompWram void *  pDst,
const void *  pSrc
 

Expand Run-Length-Encoded data.

Parameters:
pDst Destination address.
pSrc Source address, must be word aligned and data size must be multiple 4.

void hel_SwiUnComp void *  pDst,
const void *  pSrc,
u32  CompressionType
 

Expand compressed data.

Parameters:
pDst Destination address
pSrc Source address
CompressionType Compression-type of source data. This can be one of the following predefines values:
  • COMPRESSION_TYPE_LZ77VRAM
  • COMPRESSION_TYPE_LZ77WRAM
  • COMPRESSION_TYPE_RLEVRAM
  • COMPRESSION_TYPE_RLEWRAM
Note:
The destination and source addresses have to be aligned. Please see corresponding decompress function such as hel_SwiLZ77UnCompVram, hel_SwiLZ77UnCompWram, hel_SwiRLUnCompVram, hel_SwiRLUnCompWram


Generated on Mon Aug 22 20:43:41 2005 by DoxyGen 1.4.4