68 |
|
#define POWERPC_ROM 1 |
69 |
|
|
70 |
|
#if EMULATED_PPC |
71 |
+ |
// Handle interrupts asynchronously? |
72 |
+ |
#define ASYNC_IRQ 0 |
73 |
|
// Mac ROM is write protected when banked memory is used |
74 |
|
#if REAL_ADDRESSING || DIRECT_ADDRESSING |
75 |
|
# define ROM_IS_WRITE_PROTECTED 0 |
77 |
|
#else |
78 |
|
# define ROM_IS_WRITE_PROTECTED 1 |
79 |
|
#endif |
80 |
+ |
// Configure PowerPC emulator |
81 |
+ |
#define PPC_CHECK_INTERRUPTS (ASYNC_IRQ ? 0 : 1) |
82 |
+ |
#define PPC_NO_LAZY_PC_UPDATE 1 |
83 |
+ |
//#define PPC_NO_DECODE_CACHE 1 |
84 |
+ |
#define PPC_FLIGHT_RECORDER 1 |
85 |
|
#else |
86 |
|
// Mac ROM is write protected |
87 |
|
#define ROM_IS_WRITE_PROTECTED 1 |
289 |
|
#define HAVE_SPINLOCKS 1 |
290 |
|
typedef int spinlock_t; |
291 |
|
|
292 |
< |
const spinlock_t SPIN_LOCK_UNLOCKED = 0; |
292 |
> |
static const spinlock_t SPIN_LOCK_UNLOCKED = 0; |
293 |
|
|
294 |
|
static inline void spin_lock(spinlock_t *lock) |
295 |
|
{ |