/* Types.h */

#ifndef TYPES_H
#define TYPES_H

/* Define boolean type if it doesn't exist. */
#ifndef bool
typedef unsigned char bool;
#define true 1
#define false 0
#endif

#ifndef Byte
typedef unsigned char Byte;
#endif

#ifndef UInt32
typedef unsigned int UInt32;
#endif

#ifndef UInt16
typedef unsigned short UInt16; 
#endif

/* An actual Address type is easier to understand
   than two or more casts on integer pointers etc */
typedef UInt32 * Address;

#endif
