--- nono/vm/crtc2.h 2026/04/29 17:04:44 1.1.1.5 +++ nono/vm/crtc2.h 2026/04/29 17:04:50 1.1.1.6 @@ -22,9 +22,9 @@ class CRTC2Device protected: // BusIO インタフェース static const uint32 NPORT = 2; - uint64 Read(uint32 addr); - uint64 Write(uint32 addr, uint32 data); - uint64 Peek(uint32 addr); + uint64 Read(uint32 offset); + uint64 Write(uint32 offset, uint32 data); + uint64 Peek(uint32 offset); private: // 垂直表示期間イベント @@ -38,3 +38,5 @@ class CRTC2Device Event vdisp_event {}; }; + +extern std::unique_ptr gCRTC2;