Adds a resident segment to the resident list
Source position: amigados.pas line 2570
function AddSegment( |
const Name: PChar; |
Seg: LongInt; |
Type_: LongInt |
):LongBool; |
Name |
|
Name of the segment. This is used by FindSegment(). Will be copied. |
Seg |
|
Segment to add. |
Type_ |
|
What type of segment (initial use count). (CMD_*) |
<> 0 = success, 0 = Error
Adds a program segment to the system resident list. You can later use these segments to run programs.
The type field determines the type of resident program. Normal programs should have type >= 0, system segments should have type = CMD_SYSTEM.
Note that all other values of type are reserved.
|
Finds a segment on the resident list |
|
|
Removes a resident segment from the resident list |
|
|
Scatterload a loadable file into memory |