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 From: Peter Johnson Subject: Re: Comment on NT4 DPMI BUG (303h, Allocate Real-Mode Callback) Cc: Pierre Muller , djgpp AT delorie DOT com In-Reply-To: References: <199912151206 DOT NAA05912 AT cerbere DOT u-strasbg DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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