From: wolfer AT ihgp123e DOT ih DOT lucent DOT com (-Wolfson,P.D.) Newsgroups: comp.os.msdos.djgpp Subject: DPMI dumb question #46-B Date: 3 Mar 1997 18:07:33 GMT Organization: Lucent Technologies Lines: 44 Distribution: usa Message-ID: <5ff415$451@ssbunews.ih.lucent.com> NNTP-Posting-Host: ihgp123e.ih.lucent.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp A beginner's dumb question: I've been looking at the possibility of using DJGPP to port some large, curses-intensive games from UNIX to DOS. It seems to be the development environment I've been looking for since it could mean the end of those annoying messages about "data plus code segment greater than 64K." I have been looking at the "ADOM" game as a good example of successful porting from UNIX to DOS. One dumb question, though. - 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? >>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. Thanks for any insights, Paul Wolfson