Mail Archives: djgpp-workers/1999/03/29/08:11:45
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;
- Raw text -