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++ 3.0r4 - <b>disp_usebios</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
disp_usebios

Usage

   #include <disp.h>
   void disp_usebios(void);

Description

   Sets up the Display package to write characters to the screen using the
   BIOS, instead of writing directly to the display. This increases
   portability while reducing speed. This should be called after disp_open.
   When output is forced through the BIOS the hardware cursor will always
   reflect the Display package's current output position. This function
   should not be used under OS/2.


Example 

   #include <disp.h>
   #include <stdlib.h>

   int main()
   {
       disp_open();
       disp_move(0,0);
       disp_eeop();
       disp_puts("This writes directly to the display");
       disp_usebios();
       disp_puts("This example writes through the BIOS");
       disp_close();
       return EXIT_SUCCESS;
   }

See Also

   Display package, disp_flush




See Also: disp_flush

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