[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.   |
 |________________________________________________________________________|