www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/01/22:51:03

Date: Tue, 2 Apr 1996 11:48:43 -0800 (GMT)
From: "Rafael R. Sevilla" <rsevilla AT upd DOT edu DOT ph>
To: baddog AT wpi DOT edu, DJGPP newsgroup mail <djgpp AT delorie DOT com>
Subject: Re: Why you probably *need* CWSDPMI
Message-ID: <Pine.SOL.3.91.960402113829.1945A-100000@sauron>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019