| e8555c89 Andy McCall |
1 |
#ifndef SNPSG_HH |
| 2 |
#define SNPSG_HH |
| 3 |
|
| 4 |
#include "MSXDevice.hh" |
| 5 |
#include "SN76489.hh" |
| 6 |
|
| 7 |
namespace openmsx { |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
class SNPSG final : public MSXDevice |
| 13 |
{ |
| 14 |
public: |
| 15 |
explicit SNPSG(const DeviceConfig& config); |
| 16 |
|
| 17 |
void reset(EmuTime time) override; |
| 18 |
void writeIO(uint16_t port, byte value, EmuTime time) override; |
| 19 |
|
| 20 |
template<typename Archive> |
| 21 |
void serialize(Archive& ar, unsigned version); |
| 22 |
|
| 23 |
private: |
| 24 |
SN76489 sn76489; |
| 25 |
}; |
| 26 |
|
| 27 |
} |
| 28 |
|
| 29 |
#endif |