[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

The following are brief descriptions of the Exec functions that handle
memory management.  See the Amiga ROM Kernel Reference Manual: Includes
and Autodocs for details on each call.


                    Table 20-1: Exec Memory Functions
  ________________________________________________________________________
 |                                                                        |
 |  Memory Function               Description                             |
 |========================================================================|
 |      AllocMem()  Allocate memory with specified attributes.  If an     |
 |                  application needs to allocate some memory, it will    |
 |                  usually use this function.                            |
 |    AddMemList()  Add memory to the system free pool.                   |
 |      AllocAbs()  Allocate memory at a specified location.              |
 |      Allocate()  Allocate memory from a private memory pool.           |
 |    AllocEntry()  Allocate multiple memory blocks.                      |
 |      AllocVec()  Allocate memory with specified attributes and keep    |
 |                  track of the size (V36).                              |
 |      AvailMem()  Return the amount of free memory, given certain       |
 |                  conditions.                                           |
 |       CopyMem()  Copy memory block, which can be non-aligned and of    |
 |                  arbitrary length.                                     |
 |  CopyMemQuick()  Copy aligned memory block.                            |
 |    Deallocate()  Return memory block allocated, with Allocate() to the |
 |                  private memory pool.                                  |
 |     FreeEntry()  Free multiple memory blocks, allocated with           |
 |                  AllocEntry().                                         |
 |       FreeMem()  Free a memory block of specified size, allocated with |
 |                  AllocMem().                                           |
 |       FreeVec()  Free a memory block allocated with AllocVec().        |
 |    InitStruct()  Initialize memory from a table.                       |
 |     TypeOfMem()  Determine attributes of a specified memory address.   |
 |________________________________________________________________________|