www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/22/07:38:57

Message-ID: <012501c02489$9f93ffd0$293f8589@gv015029.bgo.nera.no>
From: "Gisle Vanem" <gvanem AT eunet DOT no>
To: <djgpp AT delorie DOT com>
Subject: Re: EMM386 and DPMI
Date: Fri, 22 Sep 2000 13:38:19 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

Dennis Katsonis <dennisk AT netspace DOT net DOT au> said:


>Could someone clear something up for me?  I though I knew quite a bit about
>DOS and DJGPP.  DJGPP programs for DOS need DPMI right?  To get DPMI you
>need to run the program in Windows (ugh!) or load a DPMI server in DOS, ie
>CWSDPMI or something.  However I find that loading EMM386.EXE in the
>CONFIG.SYS seems to be enough to get these programs working?  Is this
>correct, does EMM386 provide DPMI?


Do it doesn't. (but maybe FreeDOS's EmMM386 does have one built-in). What
usually happens is that CWSDPMI gets loaded (if no DPMI host was found) by 
the realmode stub present in all djgpp compiled .exe-programs. 

And because DOS doesn't grok COFF format, the stub then goes on to load the 
rest of the COFF image. 

>Long live DOS!
>
I second that...

Gisle V.

- Raw text -


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