// $Id: MSXRom.hh 5049 2006-01-16 17:59:50Z m9710797 $ #ifndef MSXROM_HH #define MSXROM_HH #include "MSXDevice.hh" #include namespace openmsx { class Rom; class MSXCPU; class MSXRom : public MSXDevice { public: virtual ~MSXRom(); virtual void writeMem(word address, byte value, const EmuTime& time); virtual byte* getWriteCacheLine(word address) const; protected: MSXRom(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time, std::auto_ptr rom); const std::auto_ptr rom; MSXCPU& cpu; }; } // namespace openmsx #endif