OXYGENHUB
◆ main openmsx / src / fdc / SanyoFDC.hh
660 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
e8555c89 Andy McCall 1
#ifndef SANYOFDC_HH
2
#define SANYOFDC_HH
3
4
#include "WD2793BasedFDC.hh"
5
6
namespace openmsx {
7
8
class SanyoFDC final : public WD2793BasedFDC
9
{
10
public:
11
	explicit SanyoFDC(DeviceConfig& config);
12
13
	[[nodiscard]] byte readMem(uint16_t address, EmuTime time) override;
14
	[[nodiscard]] byte peekMem(uint16_t address, EmuTime time) const override;
15
	void writeMem(uint16_t address, byte value, EmuTime time) override;
16
	[[nodiscard]] const byte* getReadCacheLine(uint16_t start) const override;
17
	[[nodiscard]] byte* getWriteCacheLine(uint16_t address) override;
18
19
	template<typename Archive>
20
	void serialize(Archive& ar, unsigned version);
21
};
22
23
} // namespace openmsx
24
25
#endif