42 |
|
#include <stdio.h> |
43 |
|
#include <stdlib.h> |
44 |
|
#include <string.h> |
45 |
– |
#include <pthread.h> |
45 |
|
|
46 |
|
#ifdef HAVE_FCNTL_H |
47 |
|
# include <fcntl.h> |
59 |
|
#endif |
60 |
|
|
61 |
|
|
62 |
< |
/* Are the Mac and the host address space the same? */ |
62 |
> |
#ifdef ENABLE_NATIVE_M68K |
63 |
> |
|
64 |
> |
/* Mac and host address space are the same */ |
65 |
> |
#define REAL_ADDRESSING 1 |
66 |
> |
|
67 |
> |
/* Using 68k natively */ |
68 |
> |
#define EMULATED_68K 0 |
69 |
> |
|
70 |
> |
/* Mac ROM is not write protected */ |
71 |
> |
#define ROM_IS_WRITE_PROTECTED 0 |
72 |
> |
|
73 |
> |
#else |
74 |
> |
|
75 |
> |
/* Mac and host address space are distinct */ |
76 |
|
#define REAL_ADDRESSING 0 |
77 |
|
|
78 |
< |
/* Are we using a 68k emulator or the real thing? */ |
78 |
> |
/* Using 68k emulator */ |
79 |
|
#define EMULATED_68K 1 |
80 |
|
|
81 |
< |
/* Is the Mac ROM write protected? */ |
81 |
> |
/* Mac ROM is write protected */ |
82 |
|
#define ROM_IS_WRITE_PROTECTED 1 |
83 |
|
|
84 |
+ |
#endif |
85 |
+ |
|
86 |
|
/* ExtFS is supported */ |
87 |
|
#define SUPPORTS_EXTFS 1 |
88 |
|
|
89 |
+ |
|
90 |
|
/* Data types */ |
91 |
|
typedef unsigned char uint8; |
92 |
|
typedef signed char int8; |