Construct a library
Source position: exec.pas line 1911
function MakeLibrary( |
const Vectors: Pointer; |
const Structure: Pointer; |
const Init: Pointer; |
DataSize: LongWord; |
SegList: Pointer |
):PLibrary; |
DataSize |
|
the size of the library data area, including the standard library node data. This must be at leas SizeOf(TLibrary). |
SegList |
|
A pointer to an Amiga SegList (segment list). This is passed to a library's init code, and is used later for removing the library from memory. |
The reference address of the library. This is the address used in references to the library, not the beginning of the memory area allocated. If the library vector table require more system memory than is available, this function will return nil.
This function is used for constructing a library vector and data area. The same call is used to make devices. Space for the library is allocated from the system's free memory pool. The data portion of the library is initialized. Init may point to a library specific entry point.
|
Initialize memory from a table |
|
|
Initialize resident module |