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_open http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   disp_open

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

   Description
   Initializes  the display package. The type of display and  the  screen
   memory  address  are  determined during this  call.  All  globals  are
   initialized.  This function MUST be called before any of  the  display
   package  functions  are  used  with  the  exception  of  disp_setmode,
   disp_set43, or disp_reset43  which MUST be called before disp_open.

   Example
   #include <disp.h>

   main();
   {
        disp_open();
        disp_printf("The base screen address is %5x",disp_base);
        disp_close();
   }


See Also: Display_package disp_close disp_flush

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