delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/06/00:31:12

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 32bit DOS protection mode
Date: Fri, 06 Feb 1998 00:00:26 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 33
Message-ID: <34DA98EA.199E@cs.com>
References: <6b1bfd$qrn AT news DOT csie DOT nctu DOT edu DOT tw> <34D49F97 DOT 6345 AT cs DOT com> <6bd2bd$hj6$3 AT cadmium DOT aware DOT nl>
NNTP-Posting-Host: ppp219.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Rick wrote:
> 
> And when I reverse the question( like BTW the original author might
> have ment it): does csdpmi comes with an api which can be used by
> "any" program to make use of this dosextender, or alternativaly what
> would be the startupcode to put in that "any" program to make it a
> valid "csdpmi program " ?? I am sorry to ask this while I of course
> could have looked it up in the sources, but maybe someone knows
> this from memory( which would spare me a lot of time/wasted effort),

The DPMI standard is fully described by the DPMI specification, which
can be found on http://www.delorie.com/djgpp/.  There are two major
standards:  0.9 and 1.0.  DPMI 0.9 is supported by a majority of the
DPMI hosts out there (including Windows), while 1.0 is only supported by
a few hosts (386MAX, and some features implemented by cwsdpmi).

However, there are some known compatibility problems when running
programs designed specifically for a different "proprietary" DPMI host,
such as DOS/4GW programs running under cwsdpmi, or vice versa.  In
general, there's no reason to modify a Borland program to make use of
cwsdpmi.exe.  If you want to take the source and port it to DJGPP, then
the recompiled binaries would use cwsdpmi automatically without any work
on your part.

I hope this answers your question.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "It may be better to be a live jackal|
|       aka Fighteer I       | than a dead lion, but it is better   |
|   mailto:fighteer AT cs DOT com   | still to be a live lion."            |
| http://www.cs.com/fighteer |                - Lazarus Long        |
---------------------------------------------------------------------

- Raw text -


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