Date: Sun, 9 Mar 1997 18:18:36 +0200 (IST) From: Eli Zaretskii To: Paul Hooper cc: djgpp AT delorie DOT com Subject: Re: HELP! INT21 - 3D problem!!!! In-Reply-To: <01bc2b7c$ce3fad70$7229cfa9@p590> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.)