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_open</b> 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>
   #include <stdlib.h>

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

See Also

   Display package, disp_close, disp_flush



See Also: disp_close disp_flush

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