delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/06/13:20:26

Message-ID: <004e01bf3ff3$23853b00$0201a8c0@pv1.ca.home.com>
From: "Dave Bloodgood" <dabldgd AT home DOT com>
To: <djgpp AT delorie DOT com>
Cc: "Peter Johnson" <locke AT mcs DOT net>, "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 991205125445 DOT 11787B-100000 AT is>
Subject: Re: NT4 DPMI BUG (303h, Allocate Real-Mode Callback)--ATTN: DJ Deloie, Shawn Hargreaves, Eli Zaretskii
Date: Mon, 6 Dec 1999 06:06:49 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Reply-To: djgpp AT delorie DOT com

Some months ago you ( Eli ) and I had a "discussion" about a similar problem
with exception handling in
windows NT - in particular, I can't install a custom exception handler -
without getting a similar sounding
Dr Watson session. Is there a chance that this is a the heart of that
problem also ?

Dave
----- Original Message -----
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
To: Peter Johnson <locke AT mcs DOT net>
Cc: <djgpp AT delorie DOT com>
Sent: Sunday, December 05, 1999 2:55 AM
Subject: Re: NT4 DPMI BUG (303h, Allocate Real-Mode Callback)--ATTN: DJ
Deloie, Shawn Hargreaves, Eli Zaretskii


>
> On Fri, 3 Dec 1999, Peter Johnson wrote:
>
> > 1) Get a selector from DPMI (function 0000h)
> > 2) Get the base address of the DS selector (DPMI function 0006h)
> > 3) Set the base address of the selector allocated in 1) to the value
> > found in 2) plus the offset of the registers variable (ARG2).
> > 4) Set the limit of the selector allocated in 1) to 32h (the size of the
> > dpmi registers structure).
> > 5) Pass the created selector and offset 0 as ES:EDI to 303h
> >
> > Obviously, this selector should be saved somewhere so d0304.s can free
> > it.
> >
> > I'm not very proficient in GAS assembly (I'm a NASM fan), but if no one
> > else wants to I can write a patch for the library files.
>
> Please post a patch for d0303.S and d0304.S.  Thanks!

- Raw text -


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