openMSX
WD2793BasedFDC.hh
Go to the documentation of this file.
1 #ifndef WD2793BASEDFDC_HH
2 #define WD2793BASEDFDC_HH
3 
4 #include "MSXFDC.hh"
5 #include "DriveMultiplexer.hh"
6 #include "WD2793.hh"
7 #include <string>
8 
9 namespace openmsx {
10 
11 class WD2793BasedFDC : public MSXFDC
12 {
13 public:
14  void reset(EmuTime::param time) override;
15 
16  template<typename Archive>
17  void serialize(Archive& ar, unsigned version);
18 
19 protected:
20  explicit WD2793BasedFDC(const DeviceConfig& config, const std::string& romId = {},
21  bool needROM = true);
22  ~WD2793BasedFDC() override = default;
23 
26 };
27 
28 REGISTER_BASE_NAME_HELPER(WD2793BasedFDC, "WD2793BasedFDC");
29 
30 } // namespace openmsx
31 
32 #endif
openmsx::WD2793BasedFDC::multiplexer
DriveMultiplexer multiplexer
Definition: WD2793BasedFDC.hh:24
openmsx::WD2793BasedFDC::~WD2793BasedFDC
~WD2793BasedFDC() override=default
openmsx::REGISTER_BASE_NAME_HELPER
REGISTER_BASE_NAME_HELPER(MSXFDC, "FDC")
openmsx::WD2793BasedFDC::controller
WD2793 controller
Definition: WD2793BasedFDC.hh:25
openmsx::DeviceConfig
Definition: DeviceConfig.hh:19
openmsx::WD2793BasedFDC::WD2793BasedFDC
WD2793BasedFDC(const DeviceConfig &config, const std::string &romId={}, bool needROM=true)
Definition: WD2793BasedFDC.cc:7
openmsx::WD2793BasedFDC
Definition: WD2793BasedFDC.hh:11
openmsx::WD2793BasedFDC::reset
void reset(EmuTime::param time) override
This method is called on reset.
Definition: WD2793BasedFDC.cc:17
openmsx::MSXFDC
Definition: MSXFDC.hh:13
openmsx::WD2793
Definition: WD2793.hh:16
DriveMultiplexer.hh
WD2793.hh
MSXFDC.hh
openmsx::WD2793BasedFDC::serialize
void serialize(Archive &ar, unsigned version)
Definition: WD2793BasedFDC.cc:23
openmsx::DriveMultiplexer
This class connects to a FDC as a normal DiskDrive and deligates all requests to one of four other Di...
Definition: DriveMultiplexer.hh:12
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5