home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / qc_prog / chap14 / grafchar.h_2 < prev    next >
Encoding:
Text File  |  1988-04-07  |  631 b   |  19 lines

  1. /* grafchar.h -- definitions for savescrn.c and       */
  2. /*               recall.c   Version 2                 */
  3. #define NUMCHARS 48
  4. #define SPACE '\040'
  5. #define BOTLINE 19  /* line # for end of drawing space */
  6. #define PAGE 0
  7. #define GCSTART 0xB0 /* ascii for first graphics char */
  8. #define BEEP '\a'
  9. #define ESC '\033'
  10. #define TRUE 1
  11. #define FALSE 0
  12.  
  13. #define CHARS (BOTLINE + 1) * 80  /*    number of     */
  14.                                /* character positions */
  15. typedef unsigned short (far * VIDMEM);
  16. #define MONMEM ((VIDMEM) (0xB000L << 16)) /* mono */
  17. #define CGAMEM ((VIDMEM) (0xB800L << 16)) /* cga */
  18.  
  19.