openMSX
RenShaTurbo.hh
Go to the documentation of this file.
1#ifndef RENSHATURBO_HH
2#define RENSHATURBO_HH
3
4#include "Autofire.hh"
5#include "EmuTime.hh"
6#include <optional>
7
8namespace openmsx {
9
10class MSXMotherBoard;
11class XMLElement;
12
21{
22public:
23 RenShaTurbo(MSXMotherBoard& motherBoard,
24 const XMLElement& machineConfig);
25
30 [[nodiscard]] bool getSignal(EmuTime::param time);
31
32 template<typename Archive>
33 void serialize(Archive& ar, unsigned version);
34
35private:
36 // The Autofire circuit
37 std::optional<Autofire> autofire;
38};
39
40} // namespace openmsx
41
42#endif
Ren-Sha Turbo is the autofire in several MSX 2+ models and in the MSX turbo R.
void serialize(Archive &ar, unsigned version)
bool getSignal(EmuTime::param time)
Get the output signal in negative logic.
This file implemented 3 utility functions:
Definition Autofire.cc:9