--- nono/vm/pedec.cpp 2026/04/29 17:04:45 1.1.1.1 +++ nono/vm/pedec.cpp 2026/04/29 17:04:50 1.1.1.2 @@ -31,9 +31,9 @@ PEDECDevice::ResetHard() } uint64 -PEDECDevice::Read(uint32 addr) +PEDECDevice::Read(uint32 offset) { - switch (addr) { + switch (offset) { case 0: // $E9C001 割り込みステータス return GetStat(); @@ -47,9 +47,9 @@ PEDECDevice::Read(uint32 addr) } uint64 -PEDECDevice::Write(uint32 addr, uint32 data) +PEDECDevice::Write(uint32 offset, uint32 data) { - switch (addr) { + switch (offset) { case 0: // $E9C001 割り込みマスク int_enabled = IntmapSPC; int_enabled |= (data & 0x08) ? IntmapHDD : 0; @@ -75,9 +75,9 @@ PEDECDevice::Write(uint32 addr, uint32 d } uint64 -PEDECDevice::Peek(uint32 addr) +PEDECDevice::Peek(uint32 offset) { - switch (addr) { + switch (offset) { case 0: return GetStat();