--- BasiliskII/src/Unix/sysdeps.h 2000/04/10 18:53:08 1.10 +++ BasiliskII/src/Unix/sysdeps.h 2000/07/22 18:12:34 1.12 @@ -42,7 +42,6 @@ #include #include #include -#include #ifdef HAVE_FCNTL_H # include @@ -60,18 +59,34 @@ #endif -/* Are the Mac and the host address space the same? */ +#ifdef ENABLE_NATIVE_M68K + +/* Mac and host address space are the same */ +#define REAL_ADDRESSING 1 + +/* Using 68k natively */ +#define EMULATED_68K 0 + +/* Mac ROM is not write protected */ +#define ROM_IS_WRITE_PROTECTED 0 + +#else + +/* Mac and host address space are distinct */ #define REAL_ADDRESSING 0 -/* Are we using a 68k emulator or the real thing? */ +/* Using 68k emulator */ #define EMULATED_68K 1 -/* Is the Mac ROM write protected? */ +/* Mac ROM is write protected */ #define ROM_IS_WRITE_PROTECTED 1 +#endif + /* ExtFS is supported */ #define SUPPORTS_EXTFS 1 + /* Data types */ typedef unsigned char uint8; typedef signed char int8; @@ -133,6 +148,10 @@ typedef uae_u32 uaecptr; # define CPU_CAN_ACCESS_UNALIGNED #endif +/* Timing functions */ +extern uint64 GetTicks_usec(void); +extern void Delay_usec(uint32 usec); + /* UAE CPU defines */ #ifdef WORDS_BIGENDIAN