|
|
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
1.1.1.4 ! root 18: #define X86_MSVC_ASSEMBLY_MEMACCESS
1.1.1.2 root 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
1.1.1.4 ! root 50: //#define WITH_SOFTFLOAT
1.1.1.2 root 51: #define MMUEMU /* Aranym 68040 MMU */
52: #define FULLMMU /* Aranym 68040 MMU */
1.1.1.4 ! root 53: #define CPUEMU_0 /* generic 680x0 emulation with direct memory access */
! 54: #define CPUEMU_11 /* 68000/68010 prefetch emulation */
! 55: #define CPUEMU_13 /* 68000/68010 cycle-exact cpu&blitter */
! 56: #define CPUEMU_20 /* 68020 prefetch */
! 57: #define CPUEMU_21 /* 68020 "cycle-exact" + blitter */
! 58: #define CPUEMU_22 /* 68030 prefetch */
! 59: #define CPUEMU_23 /* 68030 "cycle-exact" + blitter */
! 60: #define CPUEMU_24 /* 68060 "cycle-exact" + blitter */
! 61: #define CPUEMU_25 /* 68040 "cycle-exact" + blitter */
! 62: #define CPUEMU_31 /* Aranym 68040 MMU */
! 63: #define CPUEMU_32 /* Previous 68030 MMU */
! 64: #define CPUEMU_33 /* 68060 MMU */
! 65: #define CPUEMU_40 /* generic 680x0 with indirect memory access */
1.1.1.2 root 66: //#define ACTION_REPLAY /* Action Replay 1/2/3 support */
67: #define PICASSO96 /* Picasso96 display card emulation */
68: #define UAEGFX_INTERNAL /* built-in libs:picasso96/uaegfx.card */
69: #define BSDSOCKET /* bsdsocket.library emulation */
70: #define CAPS /* CAPS-image support */
71: #define FDI2RAW /* FDI 1.0 and 2.x image support */
72: #define AVIOUTPUT /* Avioutput support */
73: #define PROWIZARD /* Pro-Wizard module ripper */
74: #define ARCADIA /* Arcadia arcade system */
75: #define ARCHIVEACCESS /* ArchiveAccess decompression library */
76: #define LOGITECHLCD /* Logitech G15 LCD */
1.1.1.4 ! root 77: #define SAVESTATE /* State file support */
1.1.1.2 root 78: #define A2091 /* A590/A2091 SCSI */
79: #define A2065 /* A2065 Ethernet card */
1.1.1.4 ! root 80: #define NCR /* A4000T/A4091, 53C710/53C770 SCSI */
! 81: #define NCR9X /* 53C9X SCSI */
1.1.1.2 root 82: #define SANA2 /* SANA2 network driver */
83: #define AMAX /* A-Max ROM adapater emulation */
84: #define RETROPLATFORM /* Cloanto RetroPlayer support */
85:
86: #else
87:
88: /* #define SINGLEFILE */
89:
90: #define CUSTOM_SIMPLE /* simplified custom chipset emulation */
91: #define CPUEMU_0
92: #define CPUEMU_68000_ONLY /* drop 68010+ commands from CPUEMU_0 */
93: #define ADDRESS_SPACE_24BIT
94: #ifndef UAE_NOGUI
95: #define D3D
96: #define OPENGL
97: #endif
98: #define CAPS
1.1.1.4 ! root 99: #define CPUEMU_13
1.1.1.2 root 100: #define CPUEMU_11
101:
102:
103: #endif
104:
1.1.1.4 ! root 105: #define WITH_SCSI_IOCTL
! 106: #define WITH_SCSI_SPTI
! 107:
! 108: #define UAE_RAND_MAX RAND_MAX
! 109:
1.1.1.2 root 110: #ifdef _DEBUG
111: #define _CRTDBG_MAP_ALLOC
112: #include <stdlib.h>
113: #include <crtdbg.h>
114: #endif
115:
116: #ifdef WIN64
1.1.1.4 ! root 117: #undef X86_MSVC_ASSEMBLY_MEMACCESS
1.1.1.2 root 118: #undef X86_MSVC_ASSEMBLY
119: #undef JIT
120: #define X64_MSVC_ASSEMBLY
121: #define CPU_64_BIT
122: #define SIZEOF_VOID_P 8
123: #else
124: #define SIZEOF_VOID_P 4
125: #endif
126:
127: #if !defined(AHI)
128: #undef ENFORCER
129: #endif
130:
131: /* Define if utime(file, NULL) sets file's timestamp to the present. */
132: #define HAVE_UTIME_NULL 1
133:
134: /* Define as __inline if that's what the C compiler calls it. */
135: /* #undef inline */
136: #define __inline__ __inline
137: #define __volatile__ volatile
138:
139: /* Define as the return type of signal handlers (int or void). */
140: #define RETSIGTYPE void
141:
142: /* Define if you have the ANSI C header files. */
143: #define STDC_HEADERS 1
144:
145: /* Define if you can safely include both <sys/time.h> and <time.h>. */
146: #ifdef __GNUC__
147: #define TIME_WITH_SYS_TIME 1
148: #endif
149:
150: #ifdef _WIN32_WCE
151: #define NO_TIME_H 1
152: #endif
153:
154: /* Define if the X Window System is missing or not being used. */
155: #define X_DISPLAY_MISSING 1
156:
157: /* The number of bytes in a __int64. */
158: #define SIZEOF___INT64 8
159:
160: /* The number of bytes in a char. */
161: #define SIZEOF_CHAR 1
162:
163: /* The number of bytes in a int. */
164: #define SIZEOF_INT 4
165:
166: /* The number of bytes in a long. */
167: #define SIZEOF_LONG 4
168:
169: /* The number of bytes in a long long. */
170: #define SIZEOF_LONG_LONG 8
171:
172: /* The number of bytes in a short. */
173: #define SIZEOF_SHORT 2
174:
175: #define SIZEOF_FLOAT 4
176: #define SIZEOF_DOUBLE 8
177:
178: #define HAVE_ISNAN
179: #define HAVE_ISINF
180:
1.1.1.4 ! root 181: /* Define to 1 if `S_un' is a member of `struct in_addr'. */
! 182: #define HAVE_STRUCT_IN_ADDR_S_UN 1
1.1.1.2 root 183:
184: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.