|
|
1.1.1.2 root 1: /*
2: Hatari - sysconfig.h
3:
1.1.1.3 ! root 4: This file is distributed under the GNU General Public License, version 2
! 5: or at your option any later version. Read the file gpl.txt for details.
1.1.1.2 root 6:
7: This file contains needed auto generated includes and defines needed by WinUae CPU core.
8: The aim is to have minimum changes in WinUae CPU core for next updates
9: */
10:
11: #ifndef HATARI_SYSCONFIG_H
12: #define HATARI_SYSCONFIG_H
13:
14: #define SUPPORT_THREADS
15: #define MAX_DPATH 1000
16:
17: //#define X86_MSVC_ASSEMBLY
18: //#define X86_MSVC_ASSEMBLY_MEMACCESS
19: #define OPTIMIZED_FLAGS
20: //#define __i386__
21:
22: #ifndef UAE_MINI
23:
24: //#define DEBUGGER
25: #define FILESYS /* filesys emulation */
26: #define UAE_FILESYS_THREADS
27: //#define AUTOCONFIG /* autoconfig support, fast ram, harddrives etc.. */
28: //#define JIT /* JIT compiler support */
29: #define NATMEM_OFFSET natmem_offset
30: #define USE_NORMAL_CALLING_CONVENTION 0
31: #define USE_X86_FPUCW 1
32: #define WINDDK /* Windows DDK available, keyboard leds and harddrive support */
33: #define CATWEASEL /* Catweasel MK2/3 support */
34: #define AHI /* AHI sound emulation */
35: #define ENFORCER /* UAE Enforcer */
36: #define ECS_DENISE /* ECS DENISE new features */
37: #define AGA /* AGA chipset emulation (ECS_DENISE must be enabled) */
38: #define CD32 /* CD32 emulation */
39: #define CDTV /* CDTV emulation */
40: #define D3D /* D3D display filter support */
41: //#define OPENGL /* OpenGL display filter support */
42: #define PARALLEL_PORT /* parallel port emulation */
43: #define PARALLEL_DIRECT /* direct parallel port emulation */
44: #define SERIAL_PORT /* serial port emulation */
45: #define SERIAL_ENET /* serial port UDP transport */
46: #define SCSIEMU /* uaescsi.device emulation */
47: #define UAESERIAL /* uaeserial.device emulation */
48: #define FPUEMU /* FPU emulation */
49: #define FPU_UAE
50: #define MMUEMU /* Aranym 68040 MMU */
51: #define FULLMMU /* Aranym 68040 MMU */
52: #define CPUEMU_0 /* generic 680x0 emulation */
53: #define CPUEMU_11 /* 68000+prefetch emulation */
54: #define CPUEMU_12 /* 68000 cycle-exact cpu&blitter */
55: #define CPUEMU_20 /* 68020 "cycle-exact" + blitter */
56: #define CPUEMU_21 /* 68030 (040/060) "cycle-exact" + blitter */
57: #define CPUEMU_31 /* 68040 Aranym MMU */
1.1.1.3 ! root 58: #define CPUEMU_32 /* 68030 with MMU */
1.1.1.2 root 59: //#define ACTION_REPLAY /* Action Replay 1/2/3 support */
60: #define PICASSO96 /* Picasso96 display card emulation */
61: #define UAEGFX_INTERNAL /* built-in libs:picasso96/uaegfx.card */
62: #define BSDSOCKET /* bsdsocket.library emulation */
63: #define CAPS /* CAPS-image support */
64: #define FDI2RAW /* FDI 1.0 and 2.x image support */
65: #define AVIOUTPUT /* Avioutput support */
66: #define PROWIZARD /* Pro-Wizard module ripper */
67: #define ARCADIA /* Arcadia arcade system */
68: #define ARCHIVEACCESS /* ArchiveAccess decompression library */
69: #define LOGITECHLCD /* Logitech G15 LCD */
70: //#define SAVESTATE /* State file support */
71: #define A2091 /* A590/A2091 SCSI */
72: #define A2065 /* A2065 Ethernet card */
73: #define NCR /* A4000T/A4091 SCSI */
74: #define SANA2 /* SANA2 network driver */
75: #define AMAX /* A-Max ROM adapater emulation */
76: #define RETROPLATFORM /* Cloanto RetroPlayer support */
77:
78: #else
79:
80: /* #define SINGLEFILE */
81:
82: #define CUSTOM_SIMPLE /* simplified custom chipset emulation */
83: #define CPUEMU_0
84: #define CPUEMU_68000_ONLY /* drop 68010+ commands from CPUEMU_0 */
85: #define ADDRESS_SPACE_24BIT
86: #ifndef UAE_NOGUI
87: #define D3D
88: #define OPENGL
89: #endif
90: #define CAPS
91: #define CPUEMU_12
92: #define CPUEMU_11
93:
94:
95: #endif
96:
97: #ifdef _DEBUG
98: #define _CRTDBG_MAP_ALLOC
99: #include <stdlib.h>
100: #include <crtdbg.h>
101: #endif
102:
103: #ifdef WIN64
104: #undef X86_MSVC_ASSEMBLY
105: #undef JIT
106: #define X64_MSVC_ASSEMBLY
107: #define CPU_64_BIT
108: #define SIZEOF_VOID_P 8
109: #else
110: #define SIZEOF_VOID_P 4
111: #endif
112:
113: #if !defined(AHI)
114: #undef ENFORCER
115: #endif
116:
117:
118: /* Define if utime(file, NULL) sets file's timestamp to the present. */
119: #define HAVE_UTIME_NULL 1
120:
121: /* Define as __inline if that's what the C compiler calls it. */
122: /* #undef inline */
123: #define __inline__ __inline
124: #define __volatile__ volatile
125:
126: /* Define as the return type of signal handlers (int or void). */
127: #define RETSIGTYPE void
128:
129: /* Define if you have the ANSI C header files. */
130: #define STDC_HEADERS 1
131:
132: /* Define if you can safely include both <sys/time.h> and <time.h>. */
133: #ifdef __GNUC__
134: #define TIME_WITH_SYS_TIME 1
135: #endif
136:
137: #ifdef _WIN32_WCE
138: #define NO_TIME_H 1
139: #endif
140:
141: /* Define if the X Window System is missing or not being used. */
142: #define X_DISPLAY_MISSING 1
143:
144: /* The number of bytes in a __int64. */
145: #define SIZEOF___INT64 8
146:
147: /* The number of bytes in a char. */
148: #define SIZEOF_CHAR 1
149:
150: /* The number of bytes in a int. */
151: #define SIZEOF_INT 4
152:
153: /* The number of bytes in a long. */
154: #define SIZEOF_LONG 4
155:
156: /* The number of bytes in a long long. */
157: #define SIZEOF_LONG_LONG 8
158:
159: /* The number of bytes in a short. */
160: #define SIZEOF_SHORT 2
161:
162: #define SIZEOF_FLOAT 4
163: #define SIZEOF_DOUBLE 8
164:
165: #define HAVE_ISNAN
166: #define HAVE_ISINF
167:
168:
169: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.