// $Id: Rom4kBBlocks.hh 4858 2005-11-12 21:53:21Z m9710797 $ #ifndef ROM4KBBLOCKS_HH #define ROM4KBBLOCKS_HH #include "MSXRom.hh" namespace openmsx { class Rom4kBBlocks : public MSXRom { public: virtual byte readMem(word address, const EmuTime& time); virtual const byte* getReadCacheLine(word start) const; protected: Rom4kBBlocks(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time, std::auto_ptr rom); void setBank(byte region, const byte* adr); void setRom(byte region, int block); const byte* bank[16]; }; } // namespace openmsx #endif