--- nono/vm/mfp.h 2026/04/29 17:04:28 1.1 +++ nono/vm/mfp.h 2026/04/29 17:04:32 1.1.1.2 @@ -132,9 +132,12 @@ class MFPDevice void SetVDisp(bool vdisp); private: + // アドレスデコーダ + uint64 Decoder(uint32 addr) const; + bool IsTimerIntrEnable(uint ch) const; void SetTCR(int ch, uint32 data); - uint8 GetTDR(int ch); + uint8 GetTDR(int ch) const; void SetTDR(int ch, uint32 data); // GPIP の信号状態をセットする @@ -153,4 +156,4 @@ class MFPDevice static const int timer_vector[4]; }; -extern MFPDevice *gMFP; +extern std::unique_ptr gMFP;