Date: Mon, 29 Mar 1999 15:08:28 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Samir Barjoud cc: djgpp-workers AT delorie DOT com Subject: Re: building emacs - hard freeze In-Reply-To: <3.0.6.32.19990328174648.0079d180@pop.miami.mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 28 Mar 1999, Samir Barjoud wrote: > I'm compiling Emacs 19.34 with DJGPP 2.02 - the newest courtesy of DJ's CVS > setup. Okay, I think it's the same problem as with _dpmi_yield, only in another place. (The current Emacs sources already correct this.) Please apply the following change and see if the problem goes away: *** src/msdos.c~9 Sun Apr 6 16:18:40 1997 --- src/msdos.c Mon Mar 29 14:31:26 1999 *************** dos_set_keyboard (code, always) *** 1180,1190 **** int always; { int i; ! union REGS regs; ! /* See if Keyb.Com is installed (for international keyboard support). */ regs.x.ax = 0xad80; ! int86 (0x2f, ®s, ®s); if (regs.h.al == 0xff) international_keyboard = 1; --- 1180,1193 ---- int always; { int i; ! _go32_dpmi_registers regs; ! /* See if Keyb.Com is installed (for international keyboard support). ! Note: calling Int 2Fh via int86 wedges the DOS box on some versions ! of Windows 9X! So don't do that! */ regs.x.ax = 0xad80; ! regs.x.ss = regs.x.sp = regs.x.flags = 0; ! _go32_dpmi_simulate_int (0x2f, ®s); if (regs.h.al == 0xff) international_keyboard = 1;