Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - disp_set43 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   disp_set43

   Usage
   #include <disp.h>
   void  disp_set43(void);

   Description
   Sets display mode to 80 by 43 EGA text mode (80 by 50 on a VGA).  This
   function  should NOT be used while display package is open. An EGA  or
   VGA  display  adaptor and compatible display are needed  for  this  to
   work. The actual resulting # of lines is stored in disp_numrows.

   Example
   #include <stdio.h>
   #include <conio.h>
   #include <disp.h>

   main()
   {
        disp_set43();
        disp_open();
        disp_printf("The display should be in 43 line mode\n");
        disp_printf("Press a key when ready\n");
        disp_flush();
        getch();
        disp_close();
        disp_reset43();
        printf("Back to the original screen mode\n");
   }


See Also: Display_package disp_reset43 disp_setmode disp_getmode

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson