--- SheepShaver/src/Unix/sysdeps.h 2003/09/29 08:27:56 1.6 +++ SheepShaver/src/Unix/sysdeps.h 2003/11/11 11:32:24 1.14 @@ -68,6 +68,8 @@ #define POWERPC_ROM 1 #if EMULATED_PPC +// Handle interrupts asynchronously? +#define ASYNC_IRQ 0 // Mac ROM is write protected when banked memory is used #if REAL_ADDRESSING || DIRECT_ADDRESSING # define ROM_IS_WRITE_PROTECTED 0 @@ -75,6 +77,10 @@ #else # define ROM_IS_WRITE_PROTECTED 1 #endif +// Configure PowerPC emulator +#define PPC_CHECK_INTERRUPTS (ASYNC_IRQ ? 0 : 1) +#define PPC_DECODE_CACHE 1 +#define PPC_FLIGHT_RECORDER 1 #else // Mac ROM is write protected #define ROM_IS_WRITE_PROTECTED 1 @@ -282,7 +288,7 @@ static inline int testandset(int *p) #define HAVE_SPINLOCKS 1 typedef int spinlock_t; -const spinlock_t SPIN_LOCK_UNLOCKED = 0; +static const spinlock_t SPIN_LOCK_UNLOCKED = 0; static inline void spin_lock(spinlock_t *lock) {