12345678910111213141516171819202122232425262728293031323334 |
- #ifndef GOUDASCSI_HH
- #define GOUDASCSI_HH
- #include "MSXDevice.hh"
- #include "Rom.hh"
- #include "WD33C93.hh"
- namespace openmsx {
- class GoudaSCSI final : public MSXDevice
- {
- public:
- explicit GoudaSCSI(const DeviceConfig& config);
- void reset(EmuTime::param time) override;
- byte readMem(word address, EmuTime::param time) override;
- const byte* getReadCacheLine(word start) const override;
- byte readIO(word port, EmuTime::param time) override;
- void writeIO(word port, byte value, EmuTime::param time) override;
- byte peekIO(word port, EmuTime::param time) const override;
- template<typename Archive>
- void serialize(Archive& ar, unsigned version);
- private:
- Rom rom;
- WD33C93 wd33c93;
- };
- } // namespace openmsx
- #endif
|