/*
*	Global type define
*
*	92.10.18.	Ogochan	V0.0 create & release
*/

#ifndef	_INCLUDE_TYPES_H
#define	_INCLUDE_TYPES_H
#ifndef	byte
#define	byte		unsigned char
#endif

#ifndef	word
#define	word		unsigned short
#endif

#ifndef	dword
#define	dword		unsigned long
#endif

#ifndef	ushort
#define	ushort		unsigned short
#endif

#ifndef	uint
#define	uint		unsigned int
#endif

#ifndef	ulong
#define	ulong		unsigned long
#endif

#ifndef	Bool
#define	Bool		int
#endif

#ifndef	FALSE
#define	FALSE		0
#endif

#ifndef	TRUE
#define	TRUE		(!FALSE)
#endif

#define	LOWBYTE(c)		(0x00FF & (c))
#define	HIGHBYTE(c)		((0xFF00 & (c)) >> 8)

#endif

