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

Usage

   #include <disp.h>
   void disp_move(int row,int col);

Description


   Moves the Display package output position to the row and column
   specified. The home position is 0,0 which is the upper left corner of the
   display. Does not update the hardware cursor position unless disp_usebios
   has been called previously to force output to go through the BIOS. To
   explicitly update the hardware cursor, to ensure that it reflects the
   current Display package output position, use disp_flush.

Example 

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

   int main()
   {
       disp_open();
       disp_move(0,0);
       disp_eeop();
       disp_move(5,10);
       disp_printf("hello there\n");
       disp_close();

       return EXIT_SUCCESS;
   }





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