// $Id: MSXFDC.hh 4724 2005-09-22 11:03:07Z m9710797 $ #ifndef MSXFDC_HH #define MSXFDC_HH #include "MSXDevice.hh" #include namespace openmsx { class Rom; class DiskDrive; class MSXFDC : public MSXDevice { public: virtual void powerDown(const EmuTime& time); virtual byte readMem(word address, const EmuTime& time); virtual byte peekMem(word address, const EmuTime& time) const; virtual const byte* getReadCacheLine(word start) const; protected: MSXFDC(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time); virtual ~MSXFDC(); std::auto_ptr rom; std::auto_ptr drives[4]; }; } // namespace openmsx #endif