# HG changeset patch # User Richard M. Stallman # Date 822589965 0 # Node ID 7a6088de282f0c37b7c4ed49db42cab4af34f198 # Parent 4576517667663f72426222f93153f948a98f0377 (mode25, mode4350): Moved to `lisp/dos-fns.el'. diff -r 457651766766 -r 7a6088de282f src/dosfns.c --- a/src/dosfns.c Thu Jan 25 10:40:02 1996 +0000 +++ b/src/dosfns.c Thu Jan 25 17:12:45 1996 +0000 @@ -36,63 +36,6 @@ #include "msdos.h" #include -DEFUN ("mode25", Fmode25, Smode25, 0, 0, "", "\ -Changes the number of rows to 25.") - () -{ - union REGS regs; - -#ifdef HAVE_X_WINDOWS - if (!inhibit_window_system) - return Qnil; -#endif - mouse_off (); - regs.x.ax = 3; - int86 (0x10, ®s, ®s); - regs.x.ax = 0x1101; - regs.h.bl = 0; - int86 (0x10, ®s, ®s); - regs.x.ax = 0x1200; - regs.h.bl = 32; - int86 (0x10, ®s, ®s); - regs.x.ax = 3; - int86 (0x10, ®s, ®s); - Fset_frame_size (Fselected_frame (), ScreenCols (), ScreenRows ()); - Frecenter (Qnil); - Fredraw_display (); - if (have_mouse) mouse_init (); - return Qnil; -} - -DEFUN ("mode4350", Fmode4350, Smode4350, 0, 0, "", "\ -Changes the number of rows to 43 (EGA) or 50 (VGA).") - () -{ - union REGS regs; - -#ifdef HAVE_X_WINDOWS - if (!inhibit_window_system) - return Qnil; -#endif - mouse_off (); - regs.x.ax = 3; - int86 (0x10, ®s, ®s); - regs.x.ax = 0x1112; - regs.h.bl = 0; - int86 (0x10, ®s, ®s); - regs.x.ax = 0x1200; - regs.h.bl = 32; - int86 (0x10, ®s, ®s); - regs.x.ax = 0x0100; - regs.x.cx = 7; - int86 (0x10, ®s, ®s); - Fset_frame_size (Fselected_frame (), ScreenCols (), ScreenRows ()); - Frecenter (Qnil); - Fredraw_display (); - if (have_mouse) mouse_init (); - return Qnil; -} - DEFUN ("int86", Fint86, Sint86, 2, 2, 0, "Call specific MSDOS interrupt number INTERRUPT with REGISTERS.\n\ Return the updated REGISTER vector.\n\ @@ -369,8 +312,6 @@ */ syms_of_dosfns () { - defsubr (&Smode25); - defsubr (&Smode4350); defsubr (&Sint86); defsubr (&Sdos_memget); defsubr (&Sdos_memput);