| e8555c89 Andy McCall |
1 |
#ifndef SVIFDC_HH |
| 2 |
#define SVIFDC_HH |
| 3 |
|
| 4 |
#include "WD2793BasedFDC.hh" |
| 5 |
|
| 6 |
namespace openmsx { |
| 7 |
|
| 8 |
class SVIFDC final : public WD2793BasedFDC |
| 9 |
{ |
| 10 |
public: |
| 11 |
explicit SVIFDC(DeviceConfig& config); |
| 12 |
|
| 13 |
[[nodiscard]] byte readIO(uint16_t port, EmuTime time) override; |
| 14 |
[[nodiscard]] byte peekIO(uint16_t port, EmuTime time) const override; |
| 15 |
void writeIO(uint16_t port, byte value, EmuTime time) override; |
| 16 |
|
| 17 |
template<typename Archive> |
| 18 |
void serialize(Archive& ar, unsigned version); |
| 19 |
}; |
| 20 |
|
| 21 |
} |
| 22 |
|
| 23 |
#endif |