🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3781

Load Overlay Function

#3781
From: Daniel Helander
Date: Wed, 14 Oct 1992 11:15
27 lines
1237 bytes
I need help using the MS-DOS load overlay function (int 21h, funtion 4b03).

The parameter block passed in es:bx looks like:

LOADOVERLAY STRUC
	loStartSegment		dw ?
	loRelocationFactor	dw ?
LOADOVERLAY ENDS

The loStartSegment is set to the place where the overlay is being read to.

The Microsoft Programmers Reference says that the relocation factor
"is typically the same as the loStartSegment value", but:

  - What is this relocation factor?
    The Microsoft Programmers Reference and Ralph Browns Interrupt List
    tells nothing on how it can be used.

  - Can it be set to another value in order to relocate the overlay
    to another address than it was loaded to?


-- 
Daniel Helander				danne@dynas.se
DynaSoft AB				Phone: +46-8-726 85 60
Liljeholmsvagen 10
117 61 STOCKHOLM, SWEDEN		Fax: +46-8-18 11 45
Technical Details
Message-ID: <1992Oct14.111532.3601@dynas.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!gmd.de!Germany.EU.net!mcsun!sunic!seunet!dynas!danne

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!gmd.de!Germany.EU.net!mcsun!sunic!seunet!dynas!danne
From: danne@dynas.se (Daniel Helander)
Newsgroups: comp.os.msdos.programmer
Subject: Load Overlay Function
Message-ID: <1992Oct14.111532.3601@dynas.se>
Date: 14 Oct 92 11:15:32 GMT
Sender: news@dynas.se (News Administrator)
Organization: DynaSoft, Dynamic Software AB
Lines: 27