Annotation of hatari/src/cpu/sysconfig.h, revision 1.1.1.1

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 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 */
                     58: //#define ACTION_REPLAY /* Action Replay 1/2/3 support */
                     59: #define PICASSO96 /* Picasso96 display card emulation */
                     60: #define UAEGFX_INTERNAL /* built-in libs:picasso96/uaegfx.card */
                     61: #define BSDSOCKET /* bsdsocket.library emulation */
                     62: #define CAPS /* CAPS-image support */
                     63: #define FDI2RAW /* FDI 1.0 and 2.x image support */
                     64: #define AVIOUTPUT /* Avioutput support */
                     65: #define PROWIZARD /* Pro-Wizard module ripper */
                     66: #define ARCADIA /* Arcadia arcade system */
                     67: #define ARCHIVEACCESS /* ArchiveAccess decompression library */
                     68: #define LOGITECHLCD /* Logitech G15 LCD */
                     69: //#define SAVESTATE /* State file support */
                     70: #define A2091 /* A590/A2091 SCSI */
                     71: #define A2065 /* A2065 Ethernet card */
                     72: #define NCR /* A4000T/A4091 SCSI */
                     73: #define SANA2 /* SANA2 network driver */
                     74: #define AMAX /* A-Max ROM adapater emulation */
                     75: #define RETROPLATFORM /* Cloanto RetroPlayer support */
                     76: 
                     77: #else
                     78: 
                     79: /* #define SINGLEFILE */
                     80: 
                     81: #define CUSTOM_SIMPLE /* simplified custom chipset emulation */
                     82: #define CPUEMU_0
                     83: #define CPUEMU_68000_ONLY /* drop 68010+ commands from CPUEMU_0 */
                     84: #define ADDRESS_SPACE_24BIT
                     85: #ifndef UAE_NOGUI
                     86: #define D3D
                     87: #define OPENGL
                     88: #endif
                     89: #define CAPS
                     90: #define CPUEMU_12
                     91: #define CPUEMU_11
                     92: 
                     93: 
                     94: #endif
                     95: 
                     96: #ifdef _DEBUG
                     97: #define _CRTDBG_MAP_ALLOC
                     98: #include <stdlib.h>
                     99: #include <crtdbg.h>
                    100: #endif
                    101: 
                    102: #ifdef WIN64
                    103: #undef X86_MSVC_ASSEMBLY
                    104: #undef JIT
                    105: #define X64_MSVC_ASSEMBLY
                    106: #define CPU_64_BIT
                    107: #define SIZEOF_VOID_P 8
                    108: #else
                    109: #define SIZEOF_VOID_P 4
                    110: #endif
                    111: 
                    112: #if !defined(AHI)
                    113: #undef ENFORCER
                    114: #endif
                    115: 
                    116: 
                    117: /* Define if utime(file, NULL) sets file's timestamp to the present.  */
                    118: #define HAVE_UTIME_NULL 1
                    119: 
                    120: /* Define as __inline if that's what the C compiler calls it.  */
                    121: /* #undef inline */
                    122: #define __inline__ __inline
                    123: #define __volatile__ volatile
                    124: 
                    125: /* Define as the return type of signal handlers (int or void).  */
                    126: #define RETSIGTYPE void
                    127: 
                    128: /* Define if you have the ANSI C header files.  */
                    129: #define STDC_HEADERS 1
                    130: 
                    131: /* Define if you can safely include both <sys/time.h> and <time.h>.  */
                    132: #ifdef __GNUC__
                    133: #define TIME_WITH_SYS_TIME 1
                    134: #endif
                    135: 
                    136: #ifdef _WIN32_WCE
                    137: #define NO_TIME_H 1
                    138: #endif
                    139: 
                    140: /* Define if the X Window System is missing or not being used.  */
                    141: #define X_DISPLAY_MISSING 1
                    142: 
                    143: /* The number of bytes in a __int64.  */
                    144: #define SIZEOF___INT64 8
                    145: 
                    146: /* The number of bytes in a char.  */
                    147: #define SIZEOF_CHAR 1
                    148: 
                    149: /* The number of bytes in a int.  */
                    150: #define SIZEOF_INT 4
                    151: 
                    152: /* The number of bytes in a long.  */
                    153: #define SIZEOF_LONG 4
                    154: 
                    155: /* The number of bytes in a long long.  */
                    156: #define SIZEOF_LONG_LONG 8
                    157: 
                    158: /* The number of bytes in a short.  */
                    159: #define SIZEOF_SHORT 2
                    160: 
                    161: #define SIZEOF_FLOAT 4
                    162: #define SIZEOF_DOUBLE 8
                    163: 
                    164: #define HAVE_ISNAN
                    165: #define HAVE_ISINF
                    166: 
                    167: 
                    168: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.