home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Madness / VRMAD96_ONE.ISO / virtek / libex / libex057.c < prev    next >
C/C++ Source or Header  |  1995-08-24  |  402b  |  11 lines

  1.                                           // Example: 057 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. #include  <stdio.h>
  4. long    address;
  5. short  main(void)
  6. {
  7.   address = dddGetScreenBuffer2Address(); // Request the address of the 2nd  screen buffer
  8.   printf("Screen buffer 2 segment address is 0x%lX\n\n",address/65535&0xFFFF);
  9.   return 0;                               // Bye.
  10. }
  11.