delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/09/09/14:55:53

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <3f5e1d11$0$170$cc7c7865@news.luth.se>
From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: Two real address in __dpmi_int call
Newsgroups: comp.os.msdos.djgpp
References: <XTo5b.25699$S_ DOT 24410 AT fed1read01>
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha))
Date: 09 Sep 2003 18:33:53 GMT
Lines: 25
NNTP-Posting-Host: speedy.ludd.luth.se
X-Trace: 1063132433 news.luth.se 170 130.240.16.13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Don Duttweiler <duttweiler AT stanfordalumni DOT org> wrote:
: My basic approach for this has been to use one region of __tb for
: passing the structure to the real mode interrupt and another region
: of __tb for the disk read buffer.  It doesn't work.  Whether executing

You are on the right track.

: from a DOS box or executing in DOS mode, the program
: hangs on the call to __dpmi_int.

...

: The one titled dpmimode.c is my translation of realmode.c to a protected
: mode program to compile under DJGPP.  As noted above it hangs
: on the call to __dpmi_int.  I've tried zeroing some of the unused registers
: in __dpmi_regs as suggested in section 18.3 of the FAQ.  That doesn't
: seem to make any difference.  I've also tried using

It does make a difference because otherwise you'll be using unknown ss
and (e)sp (IIRC).


Right,

						MartinS

- Raw text -


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