// $Id: RomHydlide2.hh 4486 2005-06-16 19:35:31Z m9710797 $ #ifndef ROMHYDLIDE2_HH #define ROMHYDLIDE2_HH #include "RomAscii16kB.hh" namespace openmsx { class SRAM; class RomHydlide2 : public RomAscii16kB { public: RomHydlide2(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time, std::auto_ptr rom); virtual ~RomHydlide2(); virtual void reset(const EmuTime& time); virtual byte readMem(word address, const EmuTime& time); virtual const byte* getReadCacheLine(word address) const; virtual void writeMem(word address, byte value, const EmuTime& time); virtual byte* getWriteCacheLine(word address) const; private: const std::auto_ptr sram; byte sramEnabled; }; } // namespace openmsx #endif