OXYGENHUB
◆ main openmsx / src / fdc / SVIFDC.hh
497 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef SVIFDC_HH
2
#define SVIFDC_HH
3
4
#include "WD2793BasedFDC.hh"
5
6
namespace openmsx {
7
8
class SVIFDC final : public WD2793BasedFDC
9
{
10
public:
11
	explicit SVIFDC(DeviceConfig& config);
12
13
	[[nodiscard]] byte readIO(uint16_t port, EmuTime time) override;
14
	[[nodiscard]] byte peekIO(uint16_t port, EmuTime time) const override;
15
	void writeIO(uint16_t port, byte value, EmuTime time) override;
16
17
	template<typename Archive>
18
	void serialize(Archive& ar, unsigned version);
19
};
20
21
} // namespace openmsx
22
23
#endif