//////////////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////////////
//
//
//
//
//
//
//////////////////////////////////////////////////////////////////////////////

#ifndef __TYPES_H__
#define __TYPES_H__

#define FRAME_CYCLES		755
#define WS_SYSTEM_MONO		0
#define WS_SYSTEM_COLOR		1
#define FILTER_NORMAL		0
#define LCD_SEGMENT_WIDTH	8
#define DS_1		1

#ifndef FALSE
#define FALSE 0
#define TRUE 1
#endif

#define O_RDONLY       0x0000  /* open for reading only */
#define O_WRONLY       0x0001  /* open for writing only */
#define O_RDWR         0x0002  /* open for reading and writing */
#define O_APPEND       0x0008  /* writes done at eof */

#define O_CREAT        0x0100  /* create and open file */
#define O_BINARY       0x8000  /* file mode is binary (untranslated) */

#define BOOL int

#define UINT8	unsigned char
#define UINT16	unsigned short
#define UINT32	unsigned long

#define INT8	char
#define INT16	short
#define INT32	long

#define COLOUR_SCHEME_DEFAULT	0
#define COLOUR_SCHEME_AMBER		1
#define COLOUR_SCHEME_GREEN		2

#define DWORD unsigned long
#define WORD unsigned short

#define CHAR char
#define SHORT short
#define LONG long

#define BOOL int
#define INT int
#define UINT unsigned int

typedef unsigned char BYTE;
typedef BYTE  BOOLEAN;
typedef UINT8 *LPBYTE;
typedef void *HANDLE;

typedef void  *LPVOID;

#endif