aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-01-25 17:12:45 +0000
committerRichard M. Stallman1996-01-25 17:12:45 +0000
commit8f44c55eccca3558a6a304e9d5af0d50556597fd (patch)
tree04f365b2d8412dcaf6ce2e18c168638562a0ba00 /src
parentdd7366bf5d5aff68832a5d01399db070f089114d (diff)
downloademacs-8f44c55eccca3558a6a304e9d5af0d50556597fd.tar.gz
emacs-8f44c55eccca3558a6a304e9d5af0d50556597fd.zip
(mode25, mode4350): Moved to `lisp/dos-fns.el'.
Diffstat (limited to 'src')
-rw-r--r--src/dosfns.c59
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
39DEFUN ("mode25", Fmode25, Smode25, 0, 0, "", "\
40Changes 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, &regs, &regs);
52 regs.x.ax = 0x1101;
53 regs.h.bl = 0;
54 int86 (0x10, &regs, &regs);
55 regs.x.ax = 0x1200;
56 regs.h.bl = 32;
57 int86 (0x10, &regs, &regs);
58 regs.x.ax = 3;
59 int86 (0x10, &regs, &regs);
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
67DEFUN ("mode4350", Fmode4350, Smode4350, 0, 0, "", "\
68Changes 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, &regs, &regs);
80 regs.x.ax = 0x1112;
81 regs.h.bl = 0;
82 int86 (0x10, &regs, &regs);
83 regs.x.ax = 0x1200;
84 regs.h.bl = 32;
85 int86 (0x10, &regs, &regs);
86 regs.x.ax = 0x0100;
87 regs.x.cx = 7;
88 int86 (0x10, &regs, &regs);
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
96DEFUN ("int86", Fint86, Sint86, 2, 2, 0, 39DEFUN ("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\
98Return the updated REGISTER vector.\n\ 41Return the updated REGISTER vector.\n\
@@ -369,8 +312,6 @@ init_dosfns ()
369 */ 312 */
370syms_of_dosfns () 313syms_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);