delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/29/08:11:45

Date: Mon, 29 Mar 1999 15:08:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Samir Barjoud <samir AT mindspring DOT com>
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: <Pine.SUN.3.91.990329150809.9091Q-100000@is>
MIME-Version: 1.0
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

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, &regs, &regs);
    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, &regs);
    if (regs.h.al == 0xff)
      international_keyboard = 1;
  

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019