openMSX
Debuggable.hh
Go to the documentation of this file.
1 #ifndef DEBUGGABLE_HH
2 #define DEBUGGABLE_HH
3 
4 #include "openmsx.hh"
5 #include <string>
6 
7 namespace openmsx {
8 
9 class Debuggable
10 {
11 public:
12  virtual unsigned getSize() const = 0;
13  virtual const std::string& getDescription() const = 0;
14  virtual byte read(unsigned address) = 0;
15  virtual void write(unsigned address, byte value) = 0;
16 
17 protected:
20 };
21 
22 } // namespace openmsx
23 
24 #endif
uint8_t byte
8 bit unsigned integer
Definition: openmsx.hh:26
virtual const std::string & getDescription() const =0
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
virtual void write(unsigned address, byte value)=0
virtual unsigned getSize() const =0
virtual byte read(unsigned address)=0