/*****************************************************************************

			       XCopilot

This code is part of XCopilot, a port of copilot

     Portions of this code are Copyright (C) 1997 Ivan A. Curtis
		       icurtis@radlogic.com.au

The original MS-Windows95 copilot emulator was written by Greg Hewgill.
The following copyright notice appeared on the original copilot sources:

		  Copyright (c) 1996 Greg Hewgill

 MC68000 Emulation code is from Bernd Schmidt's Unix Amiga Emulator.
       The following copyright notice appeared in those files:

	  Original UAE code Copyright (c) 1995 Bernd Schmidt

This code must not be distributed without these copyright notices intact.

*******************************************************************************
*******************************************************************************

Filename:	sysdeps.h

Description:	Global include file used by all code originally from UAE.

Update History:   (most recent first)
   Gene McCulley 6-May-98 16:03 -- modified to use bit-sized types
   Ian Goldberg 11-Sep-97 09:48 -- added bus error support
   I. Curtis    26-Feb-97 15:02 -- added this header

******************************************************************************/
#ifndef SYSDEPS_H_INCLUDED
#define SYSDEPS_H_INCLUDED

#include <sys/types.h>

#ifndef NULL
#define NULL 0
#endif

#define CPU_LEVEL 0

/* #define NO_EXCEPTION_3 */

/* If char has more then 8 bits, good night. */
typedef u_int8_t UBYTE;
typedef int8_t BYTE;

typedef u_int16_t UWORD;
typedef int16_t WORD;

typedef u_int32_t ULONG;
typedef int32_t LONG;

typedef ULONG CPTR;

#ifndef MAP_FILE
#define MAP_FILE 0
#endif

#endif
