// $Id: PhilipsFDC.hh 4856 2005-11-12 20:32:42Z m9710797 $ #ifndef PHILIPSFDC_HH #define PHILIPSFDC_HH #include "WD2793BasedFDC.hh" namespace openmsx { class PhilipsFDC : public WD2793BasedFDC { public: PhilipsFDC(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time); virtual void reset(const EmuTime& time); virtual byte readMem(word address, const EmuTime& time); virtual byte peekMem(word address, const EmuTime& time) const; virtual void writeMem(word address, byte value, const EmuTime& time); virtual const byte* getReadCacheLine(word start) const; virtual byte* getWriteCacheLine(word address) const; private: bool brokenFDCread; byte sideReg; byte driveReg; }; } // namespace openmsx #endif