X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Tue, 11 Dec 2001 10:22:57 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Charles Sandmann cc: djgpp-workers AT delorie DOT com, Andrew Cottrell Subject: Re: Alternate exit code to set psp In-Reply-To: <10112102349.AA16664@clio.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 10 Dec 2001, Charles Sandmann wrote: > If you are feeling frisky in dpmiexcp.c (in src/libc/go32) > line 629, change assembly lines so it looks like: > > asm volatile("movb $0x51, %%ah > int $0x21 > movb $0x50, %%ah > int $0x21 > > (so we don't pass the psp any more, we do a getpsp call to decide > what to set it to). Won't this do harm if the PSP you get is zeroed (by the same NTVDM bug we are trying to fix)?