delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/04/06:35:31

From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DPMI dumb question #46-B
Date: 4 Mar 1997 10:23:22 GMT
Organization: Oxford University
Lines: 44
Distribution: usa
Message-ID: <5fgt6q$r28@news.ox.ac.uk>
References: <5ff415$451 AT ssbunews DOT ih DOT lucent DOT com>
NNTP-Posting-Host: mc31.merton.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

-Wolfson,P.D. (wolfer AT ihgp123e DOT ih DOT lucent DOT com) wrote:
: In the docs for this game, it says DPMI is required. I tried
: running the game under DOS and it ran fine without the CWSDPMI.EXE
: program installed as a TSR. I initially thought that EMM386 was
: providing this, but then I read in this newsgroup that
: this was not the case. 

: So what's providing DPMI? HIMEM.SYS? 

What version of DOS are you running? Some provide it internally (e.g. 
dosemu if you count it). Even so, if your program doesn't detect a DPMI 
server it will try to use CWSDPMI; I think it looks in the current
directory, the directory your program is in, and all through the PATH.
You don't need to explicitly run CWSDPMI. Consequently, if you distribute
your program all you need to do is distribute the CWSDPMI package along
with it.

: >>On 03 Feb 97 22:31:00 GMT, jacob AT wombaz DOT robin DOT de (Frank Jacob) wrote:
:  
: >You are right, but how do I manage to use Smartdrv ? It needs EMM386.
:  
: >No I wasn't right ;) As Eli pointed out, EMM386 isn't a DMPI server.
: >However, it is playing around with your memory, faking EMS, etc, which
: >might be confusing CWSDPMI.
:  
: >SmartDrive doesn't need EMM386.EXE; it just needs HIMEM.SYS, which in
: >my experience doesn't affect DJGPP program performance. Depending upon
: >your system's RAM size, you might benefit from using a RAM disk and
: >setting this to be gcc's temporary directory. This is all explained in
: >the FAQ, along with other performance issues.
:
: Well, now I'm totally confused. And I couldn't find an entry
: level explanation about DPMI under the FAQs, just function
: technical descriptions. If I missed it, I'm
: sorry. Please someone provide me with the direct web link, or 
: let me know what comes with out-of-the-box DOS to provide DPMI.

Don't worry about it too much. Just follow the instructions, and all will
be well. The FAQ (and readme.1st of course) are packed full of information
on DJGPP; if it isn't in there, you probably don't need to know it.

-- 
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.

- Raw text -


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