🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #6989

question about dos overlays

#6989
From: konigsfe
Date: Fri, 20 Jun 1986 08:49
18 lines
1583 bytes
Hello net,
	I've been having great difficulty trying to use dos to load
an overlay program properly.  It appears that the relocation factor
sent with function 4bh is being ignored or always set to zero.  The 
program is loaded in the right memory location but the segment 
references (which is what I thought are the values to be relocated)
all remain zero.  I tried the function call by two methods: the first
using the Microsoft C compiler and then eventually going to assembly
language which produced the same results.  I reduced my loaded program
down to one segment with one double word reference to a far label and
the segment value always turns up 0 no matter what the relocation 
factor.  I actually wrote a small program to view the relocation table
and it came up poining to the one segment reference of the original file.
Am I assuming something wrong here or is this another one of those "you'll
have to write your own program" problems?
				 Tired and frustrated,
				  Kris Konigsfeld
Technical Details
Message-ID: <22900002@uicsrd>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!lll-crg!seismo!gatech!akgua!whuxlm!whuxl!houxm!ihnp4!inuxc!pur-ee!uiucdcs!uicsrd!konigsfe

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!lll-crg!seismo!gatech!akgua!whuxlm!whuxl!houxm!ihnp4!inuxc!pur-ee!uiucdcs!uicsrd!konigsfe
From: konigsfe@uicsrd.CSRD.UIUC.EDU
Newsgroups: net.micro.pc
Subject: question about dos overlays
Message-ID: <22900002@uicsrd>
Date: Fri, 20-Jun-86 04:49:00 EDT
Article-I.D.: uicsrd.22900002
Posted: Fri Jun 20 04:49:00 1986
Date-Received: Sat, 28-Jun-86 04:37:14 EDT
Lines: 18
Nf-ID: #N:uicsrd:22900002:000:999
Nf-From: uicsrd.CSRD.UIUC.EDU!konigsfe    Jun 20 03:49:00 1986