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.1 by nigel, 2002-03-16T04:00:31Z vs.
Revision 1.3 by nigel, 2002-10-31T08:52:59Z

# Line 62 | Line 62
62   #endif
63  
64  
65 + #ifdef AVAILABILITYMACROS
66 + # include <AvailabilityMacros.h>
67 + #endif
68 +
69   /* Emulator and host address space are distinct */
70   #ifndef REAL_ADDRESSING
71 < #define REAL_ADDRESSING 0
71 > # define REAL_ADDRESSING 0
72   #endif
73  
74   /* Linear address translation (i.e. just an offset between Emulator & host)  */
75   #ifndef DIRECT_ADDRESSING
76 < #define DIRECT_ADDRESSING 1
76 > # ifdef MAC_OS_X_VERSION_10_2
77 > /* For some reason, compiling on 10.2 with DIRECT_ADDRESSING enabled gives an   */
78 > /* app that never writes to its screen! (i.e. it never calls most of video.cpp) */
79 > #  define DIRECT_ADDRESSING 1
80 > //#  define DIRECT_ADDRESSING 0
81 > # else
82 > #  define DIRECT_ADDRESSING 1
83 > # endif
84   #endif
85  
86   /* Using 68k emulator */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines