Mail Archives: opendos/1997/04/21/04:26:36
Once upon a time (on 18 Apr 97 at 16:39) Pierre Phaneuf said:
> > > I think we should put this off a little, as the Right Way to do DLL
> > > loaders is in the kernel or close to it, so it can manage multiple
> > > programs using the same DLL (not loading the same stuff multiple times).
> > Hmm... in case of DOS it's rather in EMM386 (or similar pmode server)
> > hands...
>
> Huh? EMM386 isn't a pmode server AFAIK... Well, not a DPMI server at
> least. The code for a DLL loader should be at the very same place the code
Wrong. In OD EMM386 replaces both HIMEM.SYS (thus it is a pmode server) and a
DPMI 1.0 server (although it is a bit buggy - it doesn't work with DJGPP)
> to load .EXE files is. Probably in the DOS kernel. In Linux, the code to
That would be the best solution *if* the kernel works in Pmode.
> load ELF binaries, both executables and shared libraries (both cases shares
> code) is in the same module.
Exactly.
==================================================
Stand straight, look me in the eye and say goodbye
Stand straight, we drifted past the point of
reasons why.
Yesterday starts tommorow, tommorow starts today
And the problems seem to be we're picking up the
pieces of a ricochet...
- Raw text -