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 = "");
22 
25 };
26 
27 REGISTER_BASE_NAME_HELPER(WD2793BasedFDC, "WD2793BasedFDC");
28 
29 } // namespace openmsx
30 
31 #endif
void reset(EmuTime::param time) override
This method is called on reset.
REGISTER_BASE_NAME_HELPER(MSXFDC, "FDC")
WD2793BasedFDC(const DeviceConfig &config, const std::string &romId="")
This class connects to a FDC as a normal DiskDrive and deligates all requests to one of four other Di...
void serialize(Archive &ar, unsigned version)
DriveMultiplexer multiplexer
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5