// $Id: MSXMoonSound.hh 4909 2005-12-03 18:58:10Z arnoldmnl $ #ifndef MSXMOONSOUND_HH #define MSXMOONSOUND_HH #include "MSXDevice.hh" #include namespace openmsx { class YMF262; class YMF278; class MSXMoonSound : public MSXDevice { public: MSXMoonSound(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time); virtual ~MSXMoonSound(); virtual void reset(const EmuTime& time); virtual byte readIO(word port, const EmuTime& time); virtual byte peekIO(word port, const EmuTime& time) const; virtual void writeIO(word port, byte value, const EmuTime& time); private: std::auto_ptr ymf262; std::auto_ptr ymf278; int opl3latch; byte opl4latch; }; } // namespace openmsx #endif