www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/11/19:46:52

Date: Wed, 11 Dec 1996 17:32:19 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
cc: DJGPP AT delorie DOT com
Subject: Re: v2 dpmi double-trouble
In-Reply-To: <5F41B004AA@fs2.mt.umist.ac.uk>
Message-ID: <Pine.SUN.3.91.961211172129.9242C-100000@is>
MIME-Version: 1.0

On Tue, 10 Dec 1996, A.Appleyard wrote:

>   So I tried PMODE/DJ, prefixing PMODSTUB.EXE to A.OUT to make an independent
> .EXE . This ran OK under DOS, but under Windows it jammed tight on entry. I
> suspect that, as Windows is a DPMI, and PMODSTUB.EXE is a DPMI, (calling my
> program by clicking it in File-Manager in Windows) tried to install a DPMI on
> top of another DPMI, and thus caused a ghastly jam-up. Does PMODSTUB.EXE check
> if there is a DPMI there already before it tries to install its own?

Yes, it does check if there is already DPMI available, so this should work
both on DOS and Windows.  It works on my machine: I can run a program
bound with PMODE/DJ either on DOS, on Windows from COMMAND prompt in a DOS
box, by clicking on it inside File Manager, or from the Windows File|Run
menu.  So this must be something specific to either the program you are
trying to run this way, or (less probable) to your system setup.  Did you
try PMODE with a trivial Hello world program, and if so, did it also lock
up? 

Personally, I think PMODE falls short of providing a general-purpose 
solution to DJGPP, because it doesn't support virtual memory, so you 
can't use it in a program that needs significant amounts of memory and 
should run on any machine out there.  I also fail to see why the 
``nuisance'' of distributing CWSDPMI with the program is so disturbing.  
If Quake can bring CWSDPMI with it, and most other games come with an 
extender such as DOS4GW.EXE, why can't you do the same?

- Raw text -


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