aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii1998-08-13 10:09:28 +0000
committerEli Zaretskii1998-08-13 10:09:28 +0000
commitb42099b9ecc08d1f6c621508aa1131373d043b6d (patch)
treea7cdca64116d7daf4fdc5cbbbcd1bef36ced2777 /src
parent45926d06f4a1ea6885a08b49417b161f584be8ee (diff)
downloademacs-b42099b9ecc08d1f6c621508aa1131373d043b6d.tar.gz
emacs-b42099b9ecc08d1f6c621508aa1131373d043b6d.zip
(dos_set_keyboard): Set up stack and flags before
calling _go32_dpmi_simulate_int.
Diffstat (limited to 'src')
-rw-r--r--src/msdos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 31c3cc17850..42374ad3657 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -1284,6 +1284,7 @@ dos_set_keyboard (code, always)
1284 Note: calling Int 2Fh via int86 wedges the DOS box on some versions 1284 Note: calling Int 2Fh via int86 wedges the DOS box on some versions
1285 of Windows 9X! So don't do that! */ 1285 of Windows 9X! So don't do that! */
1286 regs.x.ax = 0xad80; 1286 regs.x.ax = 0xad80;
1287 regs.x.ss = regs.x.sp = regs.x.flags = 0;
1287 _go32_dpmi_simulate_int (0x2f, &regs); 1288 _go32_dpmi_simulate_int (0x2f, &regs);
1288 if (regs.h.al == 0xff) 1289 if (regs.h.al == 0xff)
1289 international_keyboard = 1; 1290 international_keyboard = 1;