diff options
| author | Eli Zaretskii | 1998-08-13 10:09:28 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1998-08-13 10:09:28 +0000 |
| commit | b42099b9ecc08d1f6c621508aa1131373d043b6d (patch) | |
| tree | a7cdca64116d7daf4fdc5cbbbcd1bef36ced2777 /src | |
| parent | 45926d06f4a1ea6885a08b49417b161f584be8ee (diff) | |
| download | emacs-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.c | 1 |
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, ®s); | 1288 | _go32_dpmi_simulate_int (0x2f, ®s); |
| 1288 | if (regs.h.al == 0xff) | 1289 | if (regs.h.al == 0xff) |
| 1289 | international_keyboard = 1; | 1290 | international_keyboard = 1; |