Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

NewLoadSeg

Improved version of LoadSeg for stacksizes

Declaration

Source position: amigados.pas line 2143

function NewLoadSeg(

  file1: PChar;

  tags: Pointer

):LongInt;

Arguments

tags

  

Pointer to tagitem array

Function result

Seglist loaded, or nil

Description

Does a LoadSeg on a file, and takes additional actions based on the tags supplied.

Clears unused portions of Code and Data hunks (as well as BSS hunks). (This also applies to InternalLoadSeg() and LoadSeg()).

See also

LoadSeg

  

Scatterload a loadable file into memory

UnLoadSeg

  

Unload a seglist previously loaded by LoadSeg()

InternalLoadSeg

  

Low-level load routine


Documentation generated on: 2021-07-30