/*
 * Types definitions for Tom's Beeb Emulator
 */

#ifndef TYPES_H
#define TYPES_H

#define BYTE char
#define WORD short
#define DWORD int

typedef unsigned BYTE byte;
typedef unsigned WORD u16;
typedef unsigned DWORD u32;
typedef signed BYTE sbyte;
typedef signed WORD s16;
typedef signed DWORD s32;

typedef union
{
	u16 w;
	struct
	{
		byte lo, hi;
	} b;
} wordu;

#endif /* TYPES_H */

/* End of file. */
