delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/09/11:33:45

Date: Sun, 9 Mar 1997 18:18:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Paul Hooper <unitech AT execpc DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: HELP! INT21 - 3D problem!!!!
In-Reply-To: <01bc2b7c$ce3fad70$7229cfa9@p590>
Message-ID: <Pine.SUN.3.91.970309181811.26812Y-100000@is>
MIME-Version: 1.0

On 8 Mar 1997, Paul Hooper wrote:

> brains over this problem.  Can someone tell me what is going on??  I cannot
> get a simple Int21 function 3D  (open a file to work), using the CWSDPMI. 
[snip] 
> I really look forward to hearing from someone about this.  I feel like I am
> missing.something really obvious.

You miss the DJGPP FAQ list.  Section 18.1 explains why you shouldn't
expect INT 21h to work from protected mode, and then sections
18.2-18.4 tell you how you should do it in DJGPP.

If you tried this with Windows and it worked, that's because Windows
is not only a DPMI host, it is also a DOS extender: it traps all the
Int 21h functions and processes them by transparently moving the data
between your program and DOS.  You didn't expect such trickery from
CWSDPMI which is a 25K program, did you?

(Btw, the FAQ is available as v2/faq210b.zip from the same place you
get DJGPP.)

- Raw text -


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