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