#ifndef SVIFDC_HH
#define SVIFDC_HH

#include "WD2793BasedFDC.hh"

namespace openmsx {

class SVIFDC final : public WD2793BasedFDC
{
public:
	SVIFDC(const DeviceConfig& config);

	byte readIO(word port, EmuTime::param time) override;
	byte peekIO(word port, EmuTime::param time) const override;
	void writeIO(word port, byte value, EmuTime::param time) override;

	template<typename Archive>
	void serialize(Archive& ar, unsigned version);
};

} // namespace openmsx

#endif
