#ifdef __cplusplus
extern "C" {
#endif
/*
 *	IBM Personal Computer IX/AT
 *		Version 1.00
 *	LICENSED MATERIALS - PROPERTY OF IBM
*	(c) Copyright 1984, 1985, 1986, 1989 IBM Corp.
 *	(c) Copyright 1983, 1984, 1985, 1986 Microsoft Corporation
*	(c) Copyright 1983, 1984, 1985, 1986, 1989 Locus Computing Corporation
 *	All Rights Reserved
 */


/*	SCCSID(@(#)comcrt.h	16.5	LCC)	/* Modified: 19:52:54 7/3/90 */




/*
** 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_C40x25	23	/* vga color, 40 columns */
#define M_VGA_C80x25	24	/* vga color, 80 columns */
#define M_VGA_M80x25	25	/* vga monochrome, 80 columns */
#define M_VGA_M640x480	26	/* vga monochrome, hi-res graphics */
#define M_VGA_C640x480	27	/* vga color, hi-res graphics */
#define M_VGA_C320x200	28	/* vga color, lo-res graphics */
#define M_VGA_C80x28	29	/* vga color, 80 columns, 28 lines */
#define M_VGA_C80x30	30	/* vga color, 80 columns, 30 lines */
#define M_VGA_C80x32	31	/* vga color, 80 columns, 32 lines */
#define M_VGA_C80x34	32	/* vga color, 80 columns, 34 lines */
#define M_VGA_C80x40	33	/* vga color, 80 columns, 40 lines */
#define M_VGA_C80x48	34	/* vga color, 80 columns, 48 lines */
#define M_VGA_C80x50	35	/* vga color, 80 columns, 50 lines */
#define M_VGA_C80x60	36	/* vga color, 80 columns, 60 lines */
#define M_PS55		55	/* used by internal routines */
#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
#define EGAREG  6	/* not a real adaptor type */
#define EGAENH  7	/* not a real adaptor type */

/* function key max definition length */
#define	MAXFK	30

#ifdef __cplusplus
}
#endif
