Ich kann's auch ganz einfach hier posten

defines.h
Code:
#ifndef __DEFINES_H__
#define __DEFINES_H__

#define true  1
#define false 0

typedef unsigned char           bool;
typedef unsigned char           BYTE;
typedef unsigned short          WORD;
typedef unsigned long           DWORD;
typedef volatile unsigned char  VBYTE;
typedef volatile unsigned short VWORD;
typedef volatile unsigned long  VDWORD;

#define SetBit(ADDRESS,BIT) ((ADDRESS) |= (1<<(BIT)))
#define ClrBit(ADDRESS,BIT) ((ADDRESS) &= ~(1<<(BIT)))

#define LOBYTE(w)           ((BYTE)(w))
#define HIBYTE(w)           ((BYTE)(((WORD)(w) >> 8) & 0xFF))

#define MAKEWORD(lo, hi)    ((WORD)(((BYTE)(lo)) | ((WORD)((BYTE)(hi))) << 8))


#endif // !__DEFINES_H__
Gruß,
askazo