openMSX
MicrosolFDC.hh
Go to the documentation of this file.
1 #ifndef MICROSOLFDC_HH
2 #define MICROSOLFDC_HH
3 
4 #include "WD2793BasedFDC.hh"
5 
6 namespace openmsx {
7 
8 class MicrosolFDC final : public WD2793BasedFDC
9 {
10 public:
11  explicit MicrosolFDC(const DeviceConfig& config);
12 
13  [[nodiscard]] byte readIO(word port, EmuTime::param time) override;
14  [[nodiscard]] byte peekIO(word port, EmuTime::param time) const override;
15  void writeIO(word port, byte value, EmuTime::param time) override;
16 
17  template<typename Archive>
18  void serialize(Archive& ar, unsigned version);
19 };
20 
21 } // namespace openmsx
22 
23 #endif
openmsx::MicrosolFDC::serialize
void serialize(Archive &ar, unsigned version)
Definition: MicrosolFDC.cc:117
openmsx::DeviceConfig
Definition: DeviceConfig.hh:20
openmsx::WD2793BasedFDC
Definition: WD2793BasedFDC.hh:12
openmsx::MicrosolFDC
Definition: MicrosolFDC.hh:9
openmsx::MicrosolFDC::readIO
byte readIO(word port, EmuTime::param time) override
Read a byte from an IO port at a certain time from this device.
Definition: MicrosolFDC.cc:13
openmsx::MicrosolFDC::peekIO
byte peekIO(word port, EmuTime::param time) const override
Read a byte from a given IO port.
Definition: MicrosolFDC.cc:35
openmsx::word
uint16_t word
16 bit unsigned integer
Definition: openmsx.hh:29
WD2793BasedFDC.hh
openmsx::MicrosolFDC::MicrosolFDC
MicrosolFDC(const DeviceConfig &config)
Definition: MicrosolFDC.cc:8
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5
openmsx::MicrosolFDC::writeIO
void writeIO(word port, byte value, EmuTime::param time) override
Write a byte to a given IO port at a certain time to this device.
Definition: MicrosolFDC.cc:57