openMSX
RomColecoMegaCart.hh
Go to the documentation of this file.
1#ifndef ROMCOLECOMEGACART_HH
2#define ROMCOLECOMEGACART_HH
3
4#include "RomBlocks.hh"
5
6namespace openmsx {
7
8class RomColecoMegaCart final : public Rom16kBBlocks
9{
10public:
11 RomColecoMegaCart(const DeviceConfig& config, Rom&& rom);
12
13 void reset(EmuTime::param time) override;
14 [[nodiscard]] byte readMem(word address, EmuTime::param time) override;
15 [[nodiscard]] const byte* getReadCacheLine(word start) const override;
16};
17
18} // namespace openmsx
19
20#endif
void reset(EmuTime::param time) override
This method is called on reset.
const byte * getReadCacheLine(word start) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for reading.
byte readMem(word address, EmuTime::param time) override
Read a byte from a location at a certain time from this device.
This file implemented 3 utility functions:
Definition Autofire.cc:11
uint16_t word
16 bit unsigned integer
Definition openmsx.hh:29