ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/sysdeps.h
(Generate patch)

Comparing BasiliskII/src/MacOSX/sysdeps.h (file contents):
Revision 1.7 by nigel, 2004-01-20T23:35:47Z vs.
Revision 1.8 by nigel, 2004-01-26T12:06:02Z

# Line 66 | Line 66
66   #endif
67  
68  
69 + /* Symbol to distinguish Nigel's Aqua port from a normal Darwin X11 build */
70 + /* (this sysdeps.h file is currently specific to the Mac OS X Aqua port)  */
71 + #define AQUA 1
72 +
73 + /* Header which defines OS X version for selecting APIs */
74   #ifdef AVAILABILITYMACROS
75   # include <AvailabilityMacros.h>
76   #endif
77  
78 < /* Emulator and host address space are distinct */
78 >
79 > #ifdef ENABLE_NATIVE_M68K
80 >
81 > /* Mac and host address space are the same */
82 > #define REAL_ADDRESSING 1
83 >
84 > /* Using 68k natively */
85 > #define EMULATED_68K 0
86 >
87 > /* Mac ROM is not write protected */
88 > #define ROM_IS_WRITE_PROTECTED 0
89 > #define USE_SCRATCHMEM_SUBTERFUGE 1
90 >
91 > #else
92 >
93 > /* Mac and host address space are distinct */
94   #ifndef REAL_ADDRESSING
95 < # define REAL_ADDRESSING 0
95 > #define REAL_ADDRESSING 0
96   #endif
97  
98   /* Using 68k emulator */
# Line 89 | Line 109
109   # define ROM_IS_WRITE_PROTECTED 1
110   #endif
111  
112 + #endif
113 +
114   /* Direct Addressing requires Video on SEGV signals */
115   #if DIRECT_ADDRESSING && !ENABLE_VOSF
116   # undef  ENABLE_VOSF
# Line 101 | Line 123
123   /* BSD socket API supported */
124   #define SUPPORTS_UDP_TUNNEL 1
125  
126 +
127   /* Data types */
128   typedef unsigned char uint8;
129   typedef signed char int8;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines