/*
 ***********************************************************************
 *
 *                           Coryright (c)
 *    © Digital Equipment Corporation 1996, 1997. All rights reserved.
 *
 *    Restricted Rights: Use, duplication, or disclosure by the U.S.
 *    Government is subject to restrictions as set forth in subparagraph
 *    (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR
 *    52.227-14 Alt. III, as applicable.
 *
 *    This software is proprietary to and embodies the confidential
 *    technology of Digital Equipment Corporation and other parties.
 *    Possession, use, or copying of this software and media is authorized
 *    only pursuant to a valid written license from Digital or an
 *    authorized sublicensor.
 *
 ***********************************************************************
 *    File Name:	defs.h
 *    Author:
 *    Creation Date:
 *
 *    Functionality:
 *    General defines ...
 *
 ***********************************************************************
 *    Revision History:
 *
 * Rev  Who     Date            Description
 * ---  -----   -----------     -------------------------------------------- 
 * 001  TEK		07/15/1995		added uppercase BITn defs..
 */

#ifndef	DEFSH
#define	DEFSH	1

#ifndef MSDOS
#define far
#define _far
#define _huge
#define _halloc malloc
//#define FAR
#define volatile
#define register	/* this should really be cased on a per machine basis - tfm */
#endif

#define	HUNGARY	1
#define	true	1
#define	false	0
#define	TRUE	1
#define	FALSE	0
#define	success	1
#define	failure	0
#define	SUCCESS	1
#define	FAILURE	0

#define	NULL_P		((unsigned int *)0)
#define	NULL_FP		((unsigned int far *)0L)

/*
 *  bit font short cuts ...
 */

#define		bit0		(0x0001)
#define		bit1		(0x0002)
#define		bit2		(0x0004)
#define		bit3		(0x0008)
#define		bit4		(0x0010)
#define		bit5		(0x0020)
#define		bit6		(0x0040)
#define		bit7		(0x0080)
#define		bit8		(0x0100)
#define		bit9		(0x0200)
#define		bit10		(0x0400)
#define		bit11		(0x0800)
#define		bit12		(0x1000)
#define		bit13		(0x2000)
#define		bit14		(0x4000)
#define		bit15		(0x8000)

#define		BIT0		(0x0001)
#define		BIT1		(0x0002)
#define		BIT2		(0x0004)
#define		BIT3		(0x0008)
#define		BIT4		(0x0010)
#define		BIT5		(0x0020)
#define		BIT6		(0x0040)
#define		BIT7		(0x0080)
#define		BIT8		(0x0100)
#define		BIT9		(0x0200)
#define		BIT10		(0x0400)
#define		BIT11		(0x0800)
#define		BIT12		(0x1000)
#define		BIT13		(0x2000)
#define		BIT14		(0x4000)
#define		BIT15		(0x8000)

#define		BIT00		(0x0001)
#define		BIT01		(0x0002)
#define		BIT02		(0x0004)
#define		BIT03		(0x0008)
#define		BIT04		(0x0010)
#define		BIT05		(0x0020)
#define		BIT06		(0x0040)
#define		BIT07		(0x0080)
#define		BIT08		(0x0100)
#define		BIT09		(0x0200)

#define		bit00		(0x0001)
#define		bit01		(0x0002)
#define		bit02		(0x0004)
#define		bit03		(0x0008)
#define		bit04		(0x0010)
#define		bit05		(0x0020)
#define		bit06		(0x0040)
#define		bit07		(0x0080)
#define		bit08		(0x0100)
#define		bit09		(0x0200)



#endif
