59
59
#define SID_MODEL_8580R5_1489D 19
60
60
#define SID_MODEL_DEFAULT 99
62
/* these definitions are the only valid combinations of
63
software SID engines and model, and are used in the
64
UI and command line code. */
65
#define SID_FASTSID_6581 ((SID_ENGINE_FASTSID << 8) | SID_MODEL_6581)
66
#define SID_FASTSID_8580 ((SID_ENGINE_FASTSID << 8) | SID_MODEL_8580)
67
#define SID_RESID_6581 ((SID_ENGINE_RESID << 8) | SID_MODEL_6581)
68
#define SID_RESID_8580 ((SID_ENGINE_RESID << 8) | SID_MODEL_8580)
69
#define SID_RESID_8580D ((SID_ENGINE_RESID << 8) | SID_MODEL_8580D)
70
#define SID_RESID_DTVSID ((SID_ENGINE_RESID << 8) | SID_MODEL_DTVSID)
71
#define SID_CATWEASELMKIII (SID_ENGINE_CATWEASELMKIII << 8)
72
#define SID_HARDSID (SID_ENGINE_HARDSID << 8)
73
#define SID_PARSID_PORT1 (SID_ENGINE_PARSID_PORT1 << 8)
74
#define SID_PARSID_PORT2 (SID_ENGINE_PARSID_PORT2 << 8)
75
#define SID_PARSID_PORT3 (SID_ENGINE_PARSID_PORT3 << 8)
76
#define SID_RESIDFP_6581R3_4885 ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_6581R3_4885)
77
#define SID_RESIDFP_6581R3_0486S ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_6581R3_0486S)
78
#define SID_RESIDFP_6581R3_3984 ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_6581R3_3984)
79
#define SID_RESIDFP_6581R4AR_3789 ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_6581R4AR_3789)
80
#define SID_RESIDFP_6581R3_4485 ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_6581R3_4485)
81
#define SID_RESIDFP_6581R4_1986S ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_6581R4_1986S)
82
#define SID_RESIDFP_8580R5_3691 ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_8580R5_3691)
83
#define SID_RESIDFP_8580R5_3691D ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_8580R5_3691D)
84
#define SID_RESIDFP_8580R5_1489 ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_8580R5_1489)
85
#define SID_RESIDFP_8580R5_1489D ((SID_ENGINE_RESID_FP << 8) | SID_MODEL_8580R5_1489D)
62
87
extern BYTE REGPARM1 sid_read(WORD address);
63
88
extern BYTE REGPARM1 sid2_read(WORD address);
64
89
extern void REGPARM2 sid_store(WORD address, BYTE byte);
104
129
extern int sid_sound_machine_cycle_based(void);
105
130
extern int sid_sound_machine_channels(void);
106
131
extern void sid_sound_machine_enable(int enable);
132
extern int sid_set_engine_model(int engine, int model);