--- nono/vm/pedec.h 2026/04/29 17:05:24 1.1.1.9 +++ nono/vm/pedec.h 2026/04/29 17:05:28 1.1.1.10 @@ -16,7 +16,7 @@ class PEDECDevice : public InterruptDevi { using inherited = InterruptDevice; - static const int baseaddr = 0xe9c000; + static const uint32 baseaddr = 0xe9c000; public: // SPC からの割り込みはここでマスク制御しないので intmap_enable には @@ -47,9 +47,10 @@ class PEDECDevice : public InterruptDevi protected: // BusIO インタフェース static const uint32 NPORT = 8; - busdata Read(uint32 offset); - busdata Write(uint32 offset, uint32 data); - busdata Peek(uint32 offset); + busdata ReadPort(uint32 offset); + busdata WritePort(uint32 offset, uint32 data); + busdata PeekPort(uint32 offset); + bool PokePort(uint32 offset, uint32 data); private: // 割り込みステータスレジスタの値を取得