--- nono/vm/kbc.h 2026/04/29 17:05:17 1.1 +++ nono/vm/kbc.h 2026/04/29 17:05:28 1.1.1.3 @@ -30,7 +30,12 @@ class KBCDevice : public IODevice KBCDevice(); ~KBCDevice() override; - uint64 Read8(uint32 addr) override; - uint64 Write8(uint32 addr, uint32 data) override; - uint64 Peek8(uint32 addr) override; + protected: + // BusIO インタフェース + // 何も分からないのでとりあえず適当に折り返しておく + static const uint32 NPORT = 8; + busdata ReadPort(uint32 offset); + busdata WritePort(uint32 offset, uint32 data); + busdata PeekPort(uint32 offset); + bool PokePort(uint32 offset, uint32 data); };