openMSX
RenShaTurbo.hh
Go to the documentation of this file.
1 #ifndef RENSHATURBO_HH
2 #define RENSHATURBO_HH
3 
4 #include "EmuTime.hh"
5 #include <memory>
6 
7 namespace openmsx {
8 
9 class CommandController;
10 class XMLElement;
11 class Autofire;
12 
21 {
22 public:
23  RenShaTurbo(CommandController& commandController,
24  const XMLElement& machineConfig);
25  ~RenShaTurbo();
26 
31  bool getSignal(EmuTime::param time);
32 
33 private:
34  // The Autofire circuit
35  std::unique_ptr<Autofire> autofire;
36 };
37 
38 } // namespace openmsx
39 
40 #endif
bool getSignal(EmuTime::param time)
Get the output signal in negative logic.
Definition: RenShaTurbo.cc:27
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
RenShaTurbo(CommandController &commandController, const XMLElement &machineConfig)
Definition: RenShaTurbo.cc:9
Ren-Sha Turbo is the autofire in several MSX 2+ models and in the MSX turbo R.
Definition: RenShaTurbo.hh:20