openMSX
MSXMemoryMapper.hh
Go to the documentation of this file.
1 #ifndef MSXMEMORYMAPPER_HH
2 #define MSXMEMORYMAPPER_HH
3 
4 #include "MSXMemoryMapperBase.hh"
5 
6 namespace openmsx {
7 
8 class MSXMemoryMapper final : public MSXMemoryMapperBase
9 {
10 public:
11  explicit MSXMemoryMapper(const DeviceConfig& config);
12 
13  void writeIO(word port, byte value, EmuTime::param time) override;
14 
15  template<typename Archive>
16  void serialize(Archive& ar, unsigned version);
17 };
19 
20 } // namespace openmsx
21 
22 #endif
openmsx::DeviceConfig
Definition: DeviceConfig.hh:19
MSXMemoryMapperBase.hh
openmsx::SERIALIZE_CLASS_VERSION
SERIALIZE_CLASS_VERSION(CassettePlayer, 2)
openmsx::MSXMemoryMapper
Definition: MSXMemoryMapper.hh:8
openmsx::MSXMemoryMapper::MSXMemoryMapper
MSXMemoryMapper(const DeviceConfig &config)
Definition: MSXMemoryMapper.cc:6
openmsx::MSXMemoryMapper::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: MSXMemoryMapper.cc:11
openmsx::MSXMemoryMapper::serialize
void serialize(Archive &ar, unsigned version)
Definition: MSXMemoryMapper.cc:23
openmsx::word
uint16_t word
16 bit unsigned integer
Definition: openmsx.hh:29
openmsx::MSXMemoryMapperBase
Definition: MSXMemoryMapperBase.hh:11
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5