From: locke AT mcs DOT net (Peter Johnson) Newsgroups: comp.os.msdos.djgpp Subject: Re: NT4 DPMI BUG (303h, Allocate Real-Mode Callback)--ATTN: DJ Deloie, Shawn Hargreaves, Eli Zaretskii Date: Sat, 11 Dec 1999 00:38:00 -0600 Organization: BiLogic Productions Lines: 26 Message-ID: References: <82rhm3$sst$1 AT news DOT u-strasbg DOT fr> NNTP-Posting-Host: isr4186.urh.uiuc.edu X-Newsreader: MicroPlanet Gravity v2.12 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <82rhm3$sst$1 AT news DOT u-strasbg DOT fr>, muller AT ics DOT u-strasbg DOT fr says... > I used a simpler workaround : > > allocate space for the register in the v2prt0.as file > (which is the Free Pascal equivalent of crt0.S) > as this file is allways loaded first the address is allways below > the 64K limit and all works fine under NT ! > > Having several different register structs has no point as > the values of the registers are only garantued inside the call ! > (See Ralph Brown Interrupt List !) Unfortunately we cannot use this workaround without changing how the interface works (unless we just ignore the passed registers structure, which would be bad form, perhaps.. comments, Eli?). > By the way it would be great to notify Ralph Brown about this bug. Hmm, good idea. I'll do that. -- Peter Johnson locke AT mcs DOT net :Windows: Where do you want to go today? :Linux: Where do you want to go tomorrow? :FreeBSD: Are you guys coming or what?