69 |
|
/* Is the Mac ROM write protected? */ |
70 |
|
#define ROM_IS_WRITE_PROTECTED 1 |
71 |
|
|
72 |
+ |
/* ExtFS is supported */ |
73 |
+ |
#define SUPPORTS_EXTFS 1 |
74 |
+ |
|
75 |
|
/* Data types */ |
76 |
|
typedef unsigned char uint8; |
77 |
|
typedef signed char int8; |
96 |
|
#if SIZEOF_LONG == 8 |
97 |
|
typedef unsigned long uint64; |
98 |
|
typedef long int64; |
99 |
+ |
#define VAL64(a) (a ## l) |
100 |
+ |
#define UVAL64(a) (a ## ul) |
101 |
|
#elif SIZEOF_LONG_LONG == 8 |
102 |
|
typedef unsigned long long uint64; |
103 |
|
typedef long long int64; |
104 |
+ |
#define VAL64(a) (a ## LL) |
105 |
+ |
#define UVAL64(a) (a ## uLL) |
106 |
|
#else |
107 |
|
#error "No 8 byte type, you lose." |
108 |
|
#endif |
114 |
|
typedef struct timeval tm_time_t; |
115 |
|
#endif |
116 |
|
|
117 |
+ |
/* Offset Mac->Unix time in seconds */ |
118 |
+ |
#define TIME_OFFSET 0x7c25b080 |
119 |
+ |
|
120 |
|
/* UAE CPU data types */ |
121 |
|
#define uae_s8 int8 |
122 |
|
#define uae_u8 uint8 |
124 |
|
#define uae_u16 uint16 |
125 |
|
#define uae_s32 int32 |
126 |
|
#define uae_u32 uint32 |
127 |
+ |
#define uae_s64 int64 |
128 |
+ |
#define uae_u64 uint64 |
129 |
|
typedef uae_u32 uaecptr; |
130 |
|
|
131 |
|
/* Alignment restrictions */ |
132 |
< |
#if defined(__i386__) || defined(__powerpc__) |
132 |
> |
#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) |
133 |
|
# define CPU_CAN_ACCESS_UNALIGNED |
134 |
|
#endif |
135 |
|
|