konigsfe@uicsrd.CSRD.UIUC.EDU (06/20/86)
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