--- nono/vm/scc.h 2026/04/29 17:05:28 1.1.1.12 +++ nono/vm/scc.h 2026/04/29 17:05:59 1.1.1.13 @@ -82,11 +82,11 @@ class SCCDevice : public MPSCCDevice void SetXC(MPSCCChan&); - DECLARE_MONITOR_CALLBACK(MonitorUpdate); - void MonitorUpdateCh(TextScreen&, int ch, int xbase, int ybase); + DECLARE_MONITOR_SCREEN(MonitorScreen); + void MonitorScreenCh(TextScreen&, int ch, int xbase, int ybase); - // PCLK (入力クロック) の時間表現 - uint64 pclk_ns {}; + // PCLK (入力クロック) の時間表現 [tsec] + uint64 pclk_tsec {}; Keyboard *keyboard {}; @@ -94,6 +94,6 @@ class SCCDevice : public MPSCCDevice static const char * const rrnames[32]; }; -static inline SCCDevice *GetSCCDevice() { +inline SCCDevice *GetSCCDevice() { return Object::GetObject(OBJ_MPSCC); }