#ifndef TYPES_H
#define TYPES_H

typedef unsigned int   u32;
typedef          int   i32;
typedef unsigned short u16;
typedef          short i16;
typedef unsigned char  u8;
typedef          char  i8;

#define high16(i32) (i32 & 0xffff)
#define low16(i32) ((i32>>16) & 0xffff)

#define TRUE 1
#define FALSE 0
#define NULL 0
 
#endif