www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/15/15:17:48

Message-Id: <4.2.1.19991215135503.00afb9c0@ews.uiuc.edu>
X-Sender: locke AT popmail DOT mcs DOT net
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.1
Date: Wed, 15 Dec 1999 14:00:04 -0600
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
From: Peter Johnson <locke AT mcs DOT net>
Subject: Re: Comment on NT4 DPMI BUG (303h, Allocate Real-Mode Callback)
Cc: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>, djgpp AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.991215140754.20241A-100000@is>
References: <199912151206 DOT NAA05912 AT cerbere DOT u-strasbg DOT fr>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

At 02:16 PM 12/15/99 +0200, Eli Zaretskii wrote:
>Or are you telling that the new selector is loaded into ES when the
>callback is *invoked* (when the interrupt fires)?  If so, this is also
>not a problem, because the wrapper can be modified slightly to load
>the DS alias into ES.  It already does that for DS, and it already
>pushes ES on the stack.

Actually, the wrapper already loads the DS alias into ES :).  But I do need 
to add an instruction to set EDI to the offset of the real-mode registers 
structure within the DS alias (right now it just uses the DPMI-passed 
EDI).  It's somewhat strange that it does one but not the other, actually..

Peter Johnson

- Raw text -


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