00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef VICE__SIDDEFS_FP_H__
00021 #define VICE__SIDDEFS_FP_H__
00022
00023 #ifndef M_PI
00024 # define M_PI 3.14159265358979323846
00025 #endif
00026
00027
00028 #define RESID_HAVE_BOOL 1
00029
00030 #if !RESID_HAVE_BOOL
00031 typedef int bool;
00032 const bool true = 1;
00033 const bool false = 0;
00034 #endif
00035
00036 typedef unsigned char reg4;
00037 typedef unsigned char reg8;
00038 typedef unsigned short reg12;
00039 typedef unsigned short reg16;
00040 typedef unsigned int reg24;
00041 typedef unsigned int reg32;
00042
00043 namespace reSIDfp {
00044
00045 typedef enum chip_model { MOS6581=1, MOS8580 } ChipModel;
00046
00047 typedef enum sampling_method { DECIMATE=1, RESAMPLE } SamplingMethod;
00048 }
00049
00050
00051 extern "C"
00052 {
00053 #ifndef __VERSION_CC__
00054 extern const char* residfp_version_string;
00055 #else
00056 const char* residfp_version_string = "0.0.2";
00057 #endif
00058 }
00059
00060
00061 #define RESID_INLINING 1
00062 #define RESID_INLINE inline
00063
00064 #endif // not __SIDDEFS_H__