delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/19/22:32:06

From: Charles Sandmann <sandmann AT praline DOT no DOT NeoSoft DOT com>
Subject: Re: DPMI/Windows
To: pdasilva AT tpone DOT telepac DOT pt
Date: Fri, 19 May 1995 20:51:09 -0500 (CDT)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> I have just finished converting an application to DJGPP. I didn't implement
> the RM interrupt hendlers beacause DJGPP 2.x will use DPMI.
> 
> The program works fine in a DOS window (WINDOWS 3.1). It didn't run
> if called directly from DOS. Has this something to do with DPMI, i.e.
> when running in a DOS Window is it under DPMI?

Yes, a DOS session under Windows will run with DPMI.  Directly from DOS
it will run under "GO32" (which behaves differently wrt HW interrupts).

There are a few fixes for your short term problem:
 1) Get QEMM+QDPMI or 386MAX (or continue to run under Windows).
 2) Get CWSDPMI (the free DPMI which will come with V2).  You can ftp it
    from ftp.neosoft.com:/pub/users/s/sandmann/cwsdpmi*.zip and with this
    you can run under DPMI from DOS.  V2 will automatically load this 
    DPMI provider if you don't already have one.

- Raw text -


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