// $Id: MSXKanji12.hh 4909 2005-12-03 18:58:10Z arnoldmnl $ #ifndef MSXKANJI12_HH #define MSXKANJI12_HH #include "MSXDevice.hh" #include "MSXDeviceSwitch.hh" #include namespace openmsx { class Rom; class MSXKanji12 : public MSXDevice, public MSXSwitchedDevice { public: MSXKanji12(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time); virtual ~MSXKanji12(); 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: const std::auto_ptr rom; unsigned adr; }; } // namespace openmsx #endif