--- nono/vm/mpu680x0.cpp 2026/04/29 17:04:45 1.1.1.5 +++ nono/vm/mpu680x0.cpp 2026/04/29 17:04:50 1.1.1.7 @@ -51,7 +51,7 @@ MPU680x0Device::Init() return false; } // MPU クロックは親 Init() で読み込んで、ここで cpu にセットする - cpu->clock_khz = clock_khz; + m68030_set_clockspeed(cpu, clock_khz); // 割り込み時のディレイ intdelay = cpu->Cycle2Vtime(4); @@ -99,7 +99,7 @@ MPU680x0Device::Run(uint32 vtime) // 現在の仮想時刻 [nsec] を取得する uint64 -MPU680x0Device::GetVirtTime() +MPU680x0Device::GetVirtTime() const { return m68030_get_vtime(cpu); } @@ -337,7 +337,7 @@ MPU680x0Device::MonitorUpdate(TextScreen void m68030_reset_inst(m68kcpu *cpu) { - gVM->ResetSoft(); + gVM->ResetByMPU(); } //