openMSX
|
#include <TrackedRam.hh>
Public Member Functions | |
TrackedRam (const DeviceConfig &config, const std::string &name, static_string_view description, size_t size) | |
TrackedRam (const XMLElement &xml, size_t size) | |
size_t | size () const |
const std::string & | getName () const |
byte | read (size_t addr) const |
const byte & | operator[] (size_t addr) const |
auto | begin () const |
auto | end () const |
void | write (size_t addr, byte value) |
void | clear (byte c=0xff) |
std::span< byte > | getWriteBackdoor () |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Definition at line 9 of file TrackedRam.hh.
|
inline |
Definition at line 13 of file TrackedRam.hh.
|
inline |
Definition at line 17 of file TrackedRam.hh.
|
inline |
Definition at line 37 of file TrackedRam.hh.
References openmsx::Ram::begin().
|
inline |
Definition at line 46 of file TrackedRam.hh.
References openmsx::Ram::clear().
Referenced by openmsx::Y8950Adpcm::clearRam(), and openmsx::YMF278::clearRam().
|
inline |
Definition at line 38 of file TrackedRam.hh.
References openmsx::Ram::end().
|
inline |
Definition at line 24 of file TrackedRam.hh.
References openmsx::Ram::getName().
|
inline |
Definition at line 55 of file TrackedRam.hh.
References openmsx::Ram::data(), and size().
Referenced by openmsx::V9990VRAM::clear(), openmsx::SRAM::memset(), and openmsx::YMF278::serialize().
|
inline |
Definition at line 33 of file TrackedRam.hh.
|
inline |
Definition at line 29 of file TrackedRam.hh.
void openmsx::TrackedRam::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 7 of file TrackedRam.cc.
References openmsx::Ram::begin(), and openmsx::Ram::end().
|
inline |
Definition at line 20 of file TrackedRam.hh.
References openmsx::Ram::size().
Referenced by getWriteBackdoor(), openmsx::SRAM::size(), and openmsx::YMF278::writeMem().
|
inline |
Definition at line 41 of file TrackedRam.hh.
Referenced by openmsx::SRAM::write(), openmsx::YMF278::writeMem(), openmsx::V9990VRAM::writeVRAMBx(), openmsx::V9990VRAM::writeVRAMCPU(), openmsx::V9990VRAM::writeVRAMDirect(), openmsx::V9990VRAM::writeVRAMP1(), and openmsx::V9990VRAM::writeVRAMP2().