#define FAIL	(-1)
#define OK	0
#define FALSE   1
#define	TRUE	0
#define Busy    2
#define ON      1
#define OFF     0


#define	MAXIRQNO	14	/* 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 */

typedef	unsigned int		WORD;
typedef	unsigned long		DWORD;
typedef	unsigned char		BYTE;
typedef char			CHAR;
typedef	int 			INT;
typedef unsigned long		ULONG;
typedef unsigned char far * 	FBYTE;
typedef unsigned char far * 	FUCHAR;
typedef unsigned far *		FINT;
typedef unsigned far *		FUSHORT;
typedef unsigned far *        USHORT;
typedef	unsigned char		UCHAR;
typedef double                  DOUB;


#define  B110      0x0000
#define  B150      0x0001
#define  B300      0x0002
#define  B600      0x0003
#define  B1200     0x0004
#define  B2400     0x0005
#define  B4800     0x0006
#define  B9600     0x0007
#define  B19200    0x0008
#define  B38400    0x0009
#define  B57600    0x000A
#define  B115200   0x000B
#define  B50       0x000C
#define  B75       0x000D
#define  B100      0x000E
#define  B200      0x000F 

#define  NOPARITY    0x0000
#define  ODDPARITY   0x0010
#define  EVENPARITY  0x0020

#define  CHR5   0x0000
#define  CHR6   0x0100
#define  CHR7   0x0200
#define  CHR8   0x0300

#define  STOP1    0x0000
#define  STOP2    0x1000

#define  XON_XOFF      0x01
#define  CTS_RTS       0x02

/*****	END OF FILE  *****/
