The following table gives a brief description of the GP Memory functions.
Follow the links for details about each call.
_________________________________________________________________________
| |
| Function Description |
|=========================================================================|
| InitGPMem - Initialize the GP Memory system for use. |
| DumpGPMem - Create a text file mirroring the GP Memory region. |
| AvailGPMem& - Return the amount of free memory, given certain |
| conditions. |
|-------------------------------------------------------------------------|
| AllocGPMem& - Allocate memory with specified attributes. If an |
| application needs to allocate some memory, it will |
| usually use this function. |
| AllocGPMVec& - Allocate memory with specified attributes and keep |
| track of the size. |
| FreeGPMem - Free a memory block of specified size, allocated |
| with AllocGPMem&. |
| FreeGPMVec - Free a memory block allocated with AllocGPMVec&. |
|-------------------------------------------------------------------------|
| CreateGPMString& - Create a zero terminated string in GP Memory. |
| DisposeGPMString - Dispose a string created with CreateGPMString&. |
| AlignGPMSize& - Align any size to a multiple of the minimum block |
| size, this function is mainly for internal use. |
| FillGPMem - Fill a memory block with specified byte value, the |
| block can be non-aligned and of arbitrary length. |
| CompareGPMem& - Compare two memory blocks, which both can be non- |
| aligned and of arbitrary length. |
| CopyGPMem - Copy a memory block, source and destination can be |
| non-aligned and of arbitrary length. |
|-------------------------------------------------------------------------|
| PokeB - Write a byte value (8 bits) to memory. |
| PeekB%% - Read a byte value (8 bits) from memory. |
| PokeW - Write a word value (16 bits) to memory. |
| PeekW% - Read a word value (16 bits) from memory. |
| PokeL - Write a long value (32 bits) to memory. |
| PeekL& - Read a long value (32 bits) from memory. |
| PokeLL - Write a long long value (64 bits) to memory. |
| PeekLL&& - Read a long long value (64 bits) from memory. |
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -|
| PokeS - Write a single precision floating point value |
| (32 bits) to memory. |
| PeekS! - Read a single precision floating point value |
| (32 bits) from memory. |
| PokeD - Write a double precision floating point value |
| (64 bits) to memory. |
| PeekD# - Read a double precision floating point value |
| (64 bits) from memory. |
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -|
| PokeSTR - Write a string to memory and add zero termination. |
| PeekSTR$ - Read a string from memory until zero termination |
| is found. |
|_________________________________________________________________________|
Table 1: GP Memory Functions
Back to GPM Overview
Back to RSI-Docs