// $Id: MSXBunsetsu.hh 4871 2005-11-15 20:03:46Z m9710797 $ #ifndef MSXBUNSETSU_HH #define MSXBUNSETSU_HH #include "MSXDevice.hh" #include namespace openmsx { class Rom; class MSXBunsetsu : public MSXDevice { public: MSXBunsetsu(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time); virtual ~MSXBunsetsu(); virtual void reset(const EmuTime& time); virtual byte readMem(word address, const EmuTime& time); virtual void writeMem(word address, byte value, const EmuTime& time); virtual const byte* getReadCacheLine(word start) const; virtual byte* getWriteCacheLine(word start) const; private: std::auto_ptr bunsetsuRom; std::auto_ptr jisyoRom; int jisyoAddress; }; } // namespace openmsx #endif