#define _BASE_TYPE_

#ifndef ACK
#define ACK                 0x6
#endif
#define NACK                0x15
#define ESC                 0x1b
#ifndef SPACE
#define SPACE               0x20
#define FALSE               0x00000000
#define TRUE                !FALSE
#define YES                 TRUE
#define NO                  FALSE
#define ON                  TRUE
#define OFF                 FALSE
#define SUCCESS             0
#endif
#define GOOD                0


/* Microsoft-style keywords */
#define PASCAL         pascal
#define EXPORT         FAR PASCAL
#define STATIC         static
#define CONST          const
#define PRIVATE        STATIC

/* primary typedef's */
#ifndef VOID
typedef void           VOID;
#endif
#ifndef CHAR
typedef char           CHAR;
#endif
#ifndef U8
typedef unsigned char  U8;
#endif
#ifndef S8
typedef signed   char  S8;
#endif
#ifndef U16
typedef unsigned int   U16;
#endif
#ifndef S16
typedef signed   int   S16;
#endif
#ifndef U32
typedef unsigned long  U32;
#endif
#ifndef S32
typedef signed   long  S32;
#endif
#ifndef RETCODE
typedef S16            RETCODE;
#endif
typedef unsigned int   LOOP_VAR;  /* used only as a loop index */
typedef U8             BOOLEAN;
typedef unsigned char  *STRING;
typedef S16            STATUS;
typedef U8             HW_STATUS;
typedef STATUS         ERROR;
