--- nono/vm/adpcm.h 2026/04/29 17:05:25 1.1.1.3 +++ nono/vm/adpcm.h 2026/04/29 17:05:29 1.1.1.4 @@ -20,7 +20,7 @@ class ADPCMDevice : public IODevice { using inherited = IODevice; - static const int baseaddr = 0xe92000; + static const uint32 baseaddr = 0xe92000; static const uint8 STAT_PLAY = 0x80; @@ -45,9 +45,10 @@ class ADPCMDevice : public IODevice protected: // BusIO インタフェース static const uint32 NPORT = 2; - 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: void StartPlay();