Mail Archives: djgpp/1996/09/19/17:10:05
Alexander V. Lukyanov wrote:
>
> > You'd need to put some level of debug info in the executables, so as
> > to find them symbols, or change the stub to be a "runtime linker",
>
> It's better to load runtime linker as a simpler module at runtime.
I agree with this, but I was thinking you would still need a special stub. The new stub goes
into protected mode in the usual way, then checks to see if the loader is already present
(probably via the OEM dpmi extensions, or whatever they're called) and either invokes it with the
appropriate parameters to load the rest of the program, or loads it from somewhere on the path,
much the same as the stub does for cwsdpmi.
Of course all the above could be done in a 32 bit stub (written in your favourite language)
rather than using djasm (though it would only add a few dozen bytes to the stub and save on
double buffered transfers).
Bill
- Raw text -