2011-06-12 08:25:22 +02:00
|
|
|
#include "SPC_DSP.h"
|
|
|
|
|
|
|
|
class DSP : public Processor {
|
|
|
|
public:
|
|
|
|
enum { Threaded = false };
|
|
|
|
alwaysinline void synchronize_smp();
|
|
|
|
|
|
|
|
uint8 read(uint8 addr);
|
|
|
|
void write(uint8 addr, uint8 data);
|
|
|
|
|
|
|
|
void power();
|
|
|
|
void reset();
|
|
|
|
|
|
|
|
void channel_enable(unsigned channel, bool enable);
|
|
|
|
|
|
|
|
DSP();
|
|
|
|
|
|
|
|
SPC_DSP spc_dsp;
|
2011-06-18 12:31:44 +02:00
|
|
|
|
|
|
|
private:
|
2011-06-12 08:25:22 +02:00
|
|
|
bool channel_enabled[8];
|
|
|
|
};
|
|
|
|
|
|
|
|
extern DSP dsp;
|