changeset 23011:fe3128dafc96

(dos_set_keyboard): Set up stack and flags before calling _go32_dpmi_simulate_int.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 13 Aug 1998 10:09:28 +0000
parents 196f32d1873f
children 8cf1a05c1ced
files src/msdos.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Thu Aug 13 06:20:33 1998 +0000
+++ b/src/msdos.c	Thu Aug 13 10:09:28 1998 +0000
@@ -1284,6 +1284,7 @@
      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;