Adds a resident segment to the resident list
Source position: amigados.pas line 2151
function AddSegment( |
name: PChar; |
seg: LongInt; |
system: LongInt |
):LongBool; |
name |
|
Name of the segment. This is used by FindSegment(). Will be copied. |
seg |
|
Segment to add. |
<> 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 |