mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-18 17:31:08 +00:00
Added AQUA symbol, made more like latest Unix version
This commit is contained in:
parent
a51ba44ffe
commit
a8b53dcb8e
@ -66,13 +66,33 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Symbol to distinguish Nigel's Aqua port from a normal Darwin X11 build */
|
||||||
|
/* (this sysdeps.h file is currently specific to the Mac OS X Aqua port) */
|
||||||
|
#define AQUA 1
|
||||||
|
|
||||||
|
/* Header which defines OS X version for selecting APIs */
|
||||||
#ifdef AVAILABILITYMACROS
|
#ifdef AVAILABILITYMACROS
|
||||||
# include <AvailabilityMacros.h>
|
# include <AvailabilityMacros.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Emulator and host address space are distinct */
|
|
||||||
|
#ifdef ENABLE_NATIVE_M68K
|
||||||
|
|
||||||
|
/* Mac and host address space are the same */
|
||||||
|
#define REAL_ADDRESSING 1
|
||||||
|
|
||||||
|
/* Using 68k natively */
|
||||||
|
#define EMULATED_68K 0
|
||||||
|
|
||||||
|
/* Mac ROM is not write protected */
|
||||||
|
#define ROM_IS_WRITE_PROTECTED 0
|
||||||
|
#define USE_SCRATCHMEM_SUBTERFUGE 1
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
/* Mac and host address space are distinct */
|
||||||
#ifndef REAL_ADDRESSING
|
#ifndef REAL_ADDRESSING
|
||||||
# define REAL_ADDRESSING 0
|
#define REAL_ADDRESSING 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Using 68k emulator */
|
/* Using 68k emulator */
|
||||||
@ -89,6 +109,8 @@
|
|||||||
# define ROM_IS_WRITE_PROTECTED 1
|
# define ROM_IS_WRITE_PROTECTED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Direct Addressing requires Video on SEGV signals */
|
/* Direct Addressing requires Video on SEGV signals */
|
||||||
#if DIRECT_ADDRESSING && !ENABLE_VOSF
|
#if DIRECT_ADDRESSING && !ENABLE_VOSF
|
||||||
# undef ENABLE_VOSF
|
# undef ENABLE_VOSF
|
||||||
@ -101,6 +123,7 @@
|
|||||||
/* BSD socket API supported */
|
/* BSD socket API supported */
|
||||||
#define SUPPORTS_UDP_TUNNEL 1
|
#define SUPPORTS_UDP_TUNNEL 1
|
||||||
|
|
||||||
|
|
||||||
/* Data types */
|
/* Data types */
|
||||||
typedef unsigned char uint8;
|
typedef unsigned char uint8;
|
||||||
typedef signed char int8;
|
typedef signed char int8;
|
||||||
|
Loading…
Reference in New Issue
Block a user