--- nono/vm/pedec.h 2026/04/29 17:04:47 1.1.1.2 +++ nono/vm/pedec.h 2026/04/29 17:04:55 1.1.1.4 @@ -9,8 +9,7 @@ #include "device.h" #include "interrupt.h" -class PEDECDevice - : public InterruptDevice +class PEDECDevice : public InterruptDevice { using inherited = InterruptDevice; private: @@ -48,9 +47,9 @@ class PEDECDevice protected: // BusIO インタフェース static const uint32 NPORT = 8; - 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: // 割り込みステータスレジスタの値を取得