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
9namespace openmsx {
10
11class WD2793BasedFDC : public MSXFDC
12{
13public:
14 void reset(EmuTime::param time) override;
15
16 template<typename Archive>
17 void serialize(Archive& ar, unsigned version);
18
19protected:
20 explicit WD2793BasedFDC(const DeviceConfig& config, const std::string& romId = {},
21 bool needROM = true,
23 ~WD2793BasedFDC() override = default;
24
27};
28
30
31} // namespace openmsx
32
33#endif
This class connects to a FDC as a normal DiskDrive and delegates all requests to one of four other Di...
void serialize(Archive &ar, unsigned version)
void reset(EmuTime::param time) override
This method is called on reset.
DriveMultiplexer multiplexer
~WD2793BasedFDC() override=default
This file implemented 3 utility functions:
Definition Autofire.cc:11
#define REGISTER_BASE_NAME_HELPER(B, N)