1#ifndef SIMPLEDEBUGGABLE_HH
2#define SIMPLEDEBUGGABLE_HH
15 [[nodiscard]]
unsigned getSize()
const final;
18 [[nodiscard]]
byte read(
unsigned address)
override;
19 [[nodiscard]]
virtual byte read(
unsigned address, EmuTime::param time);
20 void write(
unsigned address,
byte value)
override;
21 virtual void write(
unsigned address,
byte value, EmuTime::param time);
23 [[nodiscard]]
const std::string&
getName()
const {
return name; }
33 const std::string name;
const std::string & getName() const
byte read(unsigned address) override
MSXMotherBoard & getMotherBoard() const
std::string_view getDescription() const final
unsigned getSize() const final
void write(unsigned address, byte value) override
SimpleDebuggable(MSXMotherBoard &motherBoard, std::string name, static_string_view description, unsigned size)
This file implemented 3 utility functions: