73 |
|
#else |
74 |
|
|
75 |
|
/* Mac and host address space are distinct */ |
76 |
+ |
#ifndef REAL_ADDRESSING |
77 |
|
#define REAL_ADDRESSING 0 |
78 |
+ |
#endif |
79 |
|
|
80 |
|
/* Using 68k emulator */ |
81 |
|
#define EMULATED_68K 1 |
82 |
|
|
83 |
+ |
/* The m68k emulator uses a prefetch buffer ? */ |
84 |
+ |
#define USE_PREFETCH_BUFFER 0 |
85 |
+ |
|
86 |
|
/* Mac ROM is write protected */ |
87 |
< |
#define ROM_IS_WRITE_PROTECTED 1 |
87 |
> |
#if REAL_ADDRESSING || DIRECT_ADDRESSING |
88 |
> |
# define ROM_IS_WRITE_PROTECTED 0 |
89 |
> |
# define USE_SCRATCHMEM_SUBTERFUGE 1 |
90 |
> |
#else |
91 |
> |
# define ROM_IS_WRITE_PROTECTED 1 |
92 |
> |
#endif |
93 |
|
|
94 |
|
#endif |
95 |
|
|
96 |
+ |
/* Direct Addressing requires Video on SEGV signals */ |
97 |
+ |
#if DIRECT_ADDRESSING && !ENABLE_VOSF |
98 |
+ |
# undef ENABLE_VOSF |
99 |
+ |
# define ENABLE_VOSF 1 |
100 |
+ |
#endif |
101 |
+ |
|
102 |
|
/* ExtFS is supported */ |
103 |
|
#define SUPPORTS_EXTFS 1 |
104 |
|
|
137 |
|
#else |
138 |
|
#error "No 8 byte type, you lose." |
139 |
|
#endif |
140 |
+ |
#if SIZEOF_VOID_P == 4 |
141 |
+ |
typedef uint32 uintptr; |
142 |
+ |
typedef int32 intptr; |
143 |
+ |
#elif SIZEOF_VOID_P == 8 |
144 |
+ |
typedef uint64 uintptr; |
145 |
+ |
typedef int64 intptr; |
146 |
+ |
#else |
147 |
+ |
#error "Unsupported size of pointer" |
148 |
+ |
#endif |
149 |
|
|
150 |
|
/* Time data type for Time Manager emulation */ |
151 |
|
#ifdef HAVE_CLOCK_GETTIME |