--- nono/m88xx0/m88200.h 2026/04/29 17:04:49 1.1.1.5 +++ nono/m88xx0/m88200.h 2026/04/29 17:04:54 1.1.1.6 @@ -9,6 +9,7 @@ #pragma once #include "bus.h" +#include "monitor.h" #include class m88kcpu; @@ -128,6 +129,7 @@ class m88200CacheSet class m88200 : public Object { + using inherited = Object; public: m88200(); ~m88200() override; @@ -138,9 +140,16 @@ class m88200 : public Object // リセット void Reset(); - void MonitorUpdate(TextScreen&) override; + // モニター + Monitor reg_monitor { this }; + Monitor atc_monitor { this }; + Monitor cache_monitor { this }; private: + DECLARE_MONITOR_CALLBACK(MonitorUpdateReg); + DECLARE_MONITOR_CALLBACK(MonitorUpdateATC); + DECLARE_MONITOR_CALLBACK(MonitorUpdateCache); + m88kcpu *parent {}; public: