--- nono/vm/mfp.h 2026/04/29 17:04:39 1.1.1.4 +++ nono/vm/mfp.h 2026/04/29 17:04:42 1.1.1.5 @@ -191,6 +191,7 @@ class MFPDevice MFPDevice(); ~MFPDevice() override; + void ResetHard() override; void ResetSoft() override; void MonitorUpdate(TextScreen&) override; @@ -214,6 +215,7 @@ class MFPDevice uint64 Peek(uint32 addr); private: + void Reset(); bool IsTimerIntrEnable(uint ch) const; void SetTCR(int ch, uint32 data); uint8 GetTDR(int ch) const; @@ -227,8 +229,8 @@ class MFPDevice void SetUDR(uint32 data); // イベントコールバック - void TimerCallback(int arg); - void KeyCallback(int arg); + void TimerCallback(Event& ev); + void KeyCallback(Event& ev); struct MFP mfp {}; Event event[4] {};