Mail Archives: djgpp/1996/04/01/22:51:03
Note: You are correct in your first impression: *all* djgpp programs
require a DPMI host to run. You don't notice it because either you have a
DPMI host already resident (such as the one that comes with QEMM for
instance), or your programs find CWSDPMI in your path and spawn it (or
fork it if you prefer) in order to provide DPMI services. I think it works
kind of a bit like that stub executable dos4gw.exe that every program
compiled under the Rational Systems DOS extender needs in order to run
(DOOM bound that file into their own exe). btw, don't you think it's much
better than having to remember to run cwsdpmi every time you need it, or
having it stay resident in memory and cause possible conflicts with other
programs? For instance, a DOS/16M or DOS/4G program won't run, and in fact
will cause a GP fault if you have CWSDPMI resident.
-------------------------------------------------------------------------
University of the Philippines Rafael R. Sevilla
PABX/OVCA: Diliman Networking Project rsevilla AT sauron DOT upd DOT edu DOT ph
-------------------------------------------------------------------------
- Raw text -