| delorie.com/archives/browse.cgi | search |
| 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 <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
| cc: | djgpp-workers AT delorie DOT com, Andrew Cottrell <acottrel AT ihug DOT com DOT au> |
| Subject: | Re: Alternate exit code to set psp |
| In-Reply-To: | <10112102349.AA16664@clio.rice.edu> |
| Message-ID: | <Pine.SUN.3.91.1011211102215.19P-100000@is> |
| MIME-Version: | 1.0 |
| 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 |
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)?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |