home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * @(#) comcrt.h 2.2 88/05/18
- *
- * Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987.
- * Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
- * This Module contains Proprietary Information of
- * The Santa Cruz Operation, Microsoft Corporation
- * and AT&T, and should be treated as Confidential.
- */
-
- /*
- ** Definitions used by crt driver and by stty() ioctls
- */
-
- /* mode definitions */
- #define M_B40x25 0 /* black & white 40 columns */
- #define M_C40x25 1 /* color 40 columns */
- #define M_B80x25 2 /* black & white 80 columns */
- #define M_C80x25 3 /* color 80 columns */
- #define M_BG320 4 /* black & white graphics 320x200 */
- #define M_CG320 5 /* color graphics 320x200 */
- #define M_BG640 6 /* black & white graphics 640x200 hi-res */
- #define M_EGAMONO80x25 7 /* ega-mono 80x25 */
- #define M_CG320_D 13 /* ega mode D */
- #define M_CG640_E 14 /* ega mode E */
- #define M_EGAMONOAPA 15 /* ega mode F */
- #define M_CG640x350 16 /* ega mode 10 */
- #define M_ENHMONOAPA2 17 /* ega mode F with extended memory */
- #define M_ENH_CG640 18 /* ega mode 10* */
- #define M_ENH_B40x25 19 /* ega enhanced black & white 40 columns */
- #define M_ENH_C40x25 20 /* ega enhanced color 40 columns */
- #define M_ENH_B80x25 21 /* ega enhanced black & white 80 columns */
- #define M_ENH_C80x25 22 /* ega enhanced color 80 columns */
- #define M_VGA_40x25 23 /* vga 8x16 font on color */
- #define M_VGA_80x25 24 /* vga 8x16 font on color */
- #define M_VGA_M80x25 25 /* vga 8x16 font on mono */
- #define M_VGA11 26 /* vga 640x480 2 colors */
- #define M_VGA12 27 /* vga 640x480 16 colors */
- #define M_VGA13 28 /* vga 640x200 256 colors */
- #define M_ENH_B80x43 0x70 /* ega black & white 80x43 */
- #define M_ENH_C80x43 0x71 /* ega color 80x43 */
- #define M_HGC_P0 0xe0 /* hercules graphics - page 0 @ B0000 */
- #define M_HGC_P1 0xe1 /* hercules graphics - page 1 @ B8000 */
- #define M_MCA_MODE 0xff /* monochrome adapter mode */
-
- /* display/adapter defines */
- #define MONO 1
- #define CGA 2
- #define PGA 3
- #define EGA 4
- #define VGA 5
- /* function key max definition length */
- #define MAXFK 30
-