00001 // 00002 // Libsidplay compile time definitions. 00003 // 00004 // Programmer's note: If you don't include ``player.h'' only, 00005 // do not forget to include this in every file that uses libsidplay. 00006 // 00007 00008 #ifndef __CONFIG_H 00009 #define __CONFIG_H 00010 00011 // 00012 // Specifies the endianess of your CPU's hardware. 00013 // 00014 #define IS_LITTLE_ENDIAN 00015 //#define IS_BIG_ENDIAN 00016 00017 // 00018 // Speed optimization. 00019 // 00020 // To gain speed (must not work on every hardware). Uses a union to access 00021 // integer fixpoint operands in memory. This makes an assumption about the 00022 // hardware and software architecture and therefore is considered a hack! 00023 // Try it. You will notice if it doesn't work ;) 00024 // 00025 // However, this option is highly used and tested. A failing little endian 00026 // system has not been reported so far. 00027 // 00028 #define DIRECT_FIXPOINT 00029 // 00030 // This will cause little(big) endian machines to directly access little(big) 00031 // endian values in memory structures or arrays, disregarding alignment. 00032 // 00033 //#define OPTIMIZE_ENDIAN_ACCESS 00034 00035 // 00036 // Possible speed optimization on high-end machines. 00037 // 00038 // To calculate envelope with floating point precision. High-end FPU is 00039 // strongly recommended, otherwise this may not be faster. Forget about 00040 // the Pentium FPU. 00041 // 00042 //#define SID_FPUENVE 00043 //#define SID_FPUMIXERINIT // TODO enabled by default 00044 00045 // 00046 // Don't touch these ! 00047 // 00048 #define NO_STDIN_LOADER //ALFRED 00049 #define SIDEMU_TIME_COUNT 00050 00051 //#define SIDEMU_OLD_WAVE30 00052 //#define SIDEMU_OLD_WAVE50 00053 00054 //#define SID_LINENVE 00055 //#define SID_REFTIMES 00056 //#define SID_EXPENVE 00057 00058 #define LESS_CODE_BUT_ABIT_SLOWER 00059 00060 #endif