~ubuntu-branches/ubuntu/trusty/vice/trusty

« back to all changes in this revision

Viewing changes to src/arch/win32/watcom/siddefs-fp.h

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2013-07-28 20:38:23 UTC
  • mfrom: (1.1.10) (9.2.7 sid)
  • Revision ID: package-import@ubuntu.com-20130728203823-1h8s6bcv22oundul
Tags: 2.4.dfsg-1
* New upstream release (closes: #693065, #693641).
* Drop vice-ffmpeg.patch , applied upstream.
* Disable architecture specific compilation (closes: #686400, #714136).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//  ---------------------------------------------------------------------------
2
 
//  This file is part of reSID, a MOS6581 SID emulator engine.
3
 
//  Copyright (C) 1999  Dag Lem <resid@nimrod.no>
4
 
//
5
 
//  This program is free software; you can redistribute it and/or modify
6
 
//  it under the terms of the GNU General Public License as published by
7
 
//  the Free Software Foundation; either version 2 of the License, or
8
 
//  (at your option) any later version.
9
 
//
10
 
//  This program is distributed in the hope that it will be useful,
11
 
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
//  GNU General Public License for more details.
14
 
//
15
 
//  You should have received a copy of the GNU General Public License
16
 
//  along with this program; if not, write to the Free Software
17
 
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 
//  ---------------------------------------------------------------------------
19
 
 
20
 
#ifndef VICE__SIDDEFS_FP_H__
21
 
#define VICE__SIDDEFS_FP_H__
22
 
 
23
 
#ifndef M_PI
24
 
#define M_PI 3.14159265358979323846
25
 
#endif
26
 
 
27
 
#ifndef M_LN2
28
 
#define M_LN2 0.69314718055994530942
29
 
#endif
30
 
 
31
 
typedef unsigned char reg4;
32
 
typedef unsigned char reg8;
33
 
typedef unsigned short reg12;
34
 
typedef unsigned short reg16;
35
 
typedef unsigned int reg24;
36
 
typedef unsigned int reg32;
37
 
 
38
 
typedef int cycle_count;
39
 
 
40
 
enum chip_model {
41
 
    MOS6581FP=1,
42
 
    MOS8580FP
43
 
};
44
 
 
45
 
enum sampling_method {
46
 
    SAMPLE_INTERPOLATE=1,
47
 
    SAMPLE_RESAMPLE_INTERPOLATE
48
 
};
49
 
 
50
 
extern "C"
51
 
{
52
 
#ifndef __VERSION_CC__
53
 
extern const char* resid_version_string;
54
 
#else
55
 
const char* resid_version_string = VERSION;
56
 
#endif
57
 
}
58
 
 
59
 
// Inlining on/off.
60
 
#define RESID_INLINE inline
61
 
 
62
 
#if defined(__SSE__) || (defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(WINIA64))
63
 
#define RESID_USE_SSE 1
64
 
#else
65
 
#define RESID_USE_SSE 0
66
 
#endif
67
 
 
68
 
#endif // not VICE__SIDDEFS_FP_H__