diff options
| author | Richard M. Stallman | 1996-01-25 17:12:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-01-25 17:12:45 +0000 |
| commit | 8f44c55eccca3558a6a304e9d5af0d50556597fd (patch) | |
| tree | 04f365b2d8412dcaf6ce2e18c168638562a0ba00 /src | |
| parent | dd7366bf5d5aff68832a5d01399db070f089114d (diff) | |
| download | emacs-8f44c55eccca3558a6a304e9d5af0d50556597fd.tar.gz emacs-8f44c55eccca3558a6a304e9d5af0d50556597fd.zip | |
(mode25, mode4350): Moved to `lisp/dos-fns.el'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dosfns.c | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/dosfns.c b/src/dosfns.c index 71149c78c60..6030f0696c3 100644 --- a/src/dosfns.c +++ b/src/dosfns.c | |||
| @@ -36,63 +36,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 36 | #include "msdos.h" | 36 | #include "msdos.h" |
| 37 | #include <go32.h> | 37 | #include <go32.h> |
| 38 | 38 | ||
| 39 | DEFUN ("mode25", Fmode25, Smode25, 0, 0, "", "\ | ||
| 40 | Changes the number of rows to 25.") | ||
| 41 | () | ||
| 42 | { | ||
| 43 | union REGS regs; | ||
| 44 | |||
| 45 | #ifdef HAVE_X_WINDOWS | ||
| 46 | if (!inhibit_window_system) | ||
| 47 | return Qnil; | ||
| 48 | #endif | ||
| 49 | mouse_off (); | ||
| 50 | regs.x.ax = 3; | ||
| 51 | int86 (0x10, ®s, ®s); | ||
| 52 | regs.x.ax = 0x1101; | ||
| 53 | regs.h.bl = 0; | ||
| 54 | int86 (0x10, ®s, ®s); | ||
| 55 | regs.x.ax = 0x1200; | ||
| 56 | regs.h.bl = 32; | ||
| 57 | int86 (0x10, ®s, ®s); | ||
| 58 | regs.x.ax = 3; | ||
| 59 | int86 (0x10, ®s, ®s); | ||
| 60 | Fset_frame_size (Fselected_frame (), ScreenCols (), ScreenRows ()); | ||
| 61 | Frecenter (Qnil); | ||
| 62 | Fredraw_display (); | ||
| 63 | if (have_mouse) mouse_init (); | ||
| 64 | return Qnil; | ||
| 65 | } | ||
| 66 | |||
| 67 | DEFUN ("mode4350", Fmode4350, Smode4350, 0, 0, "", "\ | ||
| 68 | Changes the number of rows to 43 (EGA) or 50 (VGA).") | ||
| 69 | () | ||
| 70 | { | ||
| 71 | union REGS regs; | ||
| 72 | |||
| 73 | #ifdef HAVE_X_WINDOWS | ||
| 74 | if (!inhibit_window_system) | ||
| 75 | return Qnil; | ||
| 76 | #endif | ||
| 77 | mouse_off (); | ||
| 78 | regs.x.ax = 3; | ||
| 79 | int86 (0x10, ®s, ®s); | ||
| 80 | regs.x.ax = 0x1112; | ||
| 81 | regs.h.bl = 0; | ||
| 82 | int86 (0x10, ®s, ®s); | ||
| 83 | regs.x.ax = 0x1200; | ||
| 84 | regs.h.bl = 32; | ||
| 85 | int86 (0x10, ®s, ®s); | ||
| 86 | regs.x.ax = 0x0100; | ||
| 87 | regs.x.cx = 7; | ||
| 88 | int86 (0x10, ®s, ®s); | ||
| 89 | Fset_frame_size (Fselected_frame (), ScreenCols (), ScreenRows ()); | ||
| 90 | Frecenter (Qnil); | ||
| 91 | Fredraw_display (); | ||
| 92 | if (have_mouse) mouse_init (); | ||
| 93 | return Qnil; | ||
| 94 | } | ||
| 95 | |||
| 96 | DEFUN ("int86", Fint86, Sint86, 2, 2, 0, | 39 | DEFUN ("int86", Fint86, Sint86, 2, 2, 0, |
| 97 | "Call specific MSDOS interrupt number INTERRUPT with REGISTERS.\n\ | 40 | "Call specific MSDOS interrupt number INTERRUPT with REGISTERS.\n\ |
| 98 | Return the updated REGISTER vector.\n\ | 41 | Return the updated REGISTER vector.\n\ |
| @@ -369,8 +312,6 @@ init_dosfns () | |||
| 369 | */ | 312 | */ |
| 370 | syms_of_dosfns () | 313 | syms_of_dosfns () |
| 371 | { | 314 | { |
| 372 | defsubr (&Smode25); | ||
| 373 | defsubr (&Smode4350); | ||
| 374 | defsubr (&Sint86); | 315 | defsubr (&Sint86); |
| 375 | defsubr (&Sdos_memget); | 316 | defsubr (&Sdos_memget); |
| 376 | defsubr (&Sdos_memput); | 317 | defsubr (&Sdos_memput); |