dsp1.hpp 292 B

123456789101112131415161718
  1. #include "dsp1emu.hpp"
  2. class DSP1 : public Memory {
  3. private:
  4. Dsp1 dsp1;
  5. bool addr_decode(uint16 addr);
  6. public:
  7. void init();
  8. void enable();
  9. void power();
  10. void reset();
  11. uint8 read(unsigned addr);
  12. void write(unsigned addr, uint8 data);
  13. };
  14. extern DSP1 dsp1;