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