--- nono/vm/mpscc.cpp 2026/04/29 17:05:29 1.1.1.6 +++ nono/vm/mpscc.cpp 2026/04/29 17:05:38 1.1.1.8 @@ -22,6 +22,7 @@ #include "bitops.h" #include "hostcom.h" #include "interrupt.h" +#include "monitor.h" #include "scheduler.h" #include "syncer.h" #include @@ -104,10 +105,6 @@ MPSCCDevice::SetLogLevel(int loglevel_) bool MPSCCDevice::Init() { - if (inherited::Init() == false) { - return false; - } - interrupt = GetInterruptDevice(); scheduler->ConnectMessage(MessageID::HOSTCOM_RX, this, @@ -404,7 +401,7 @@ MPSCCDevice::GetSR2B() const stat = 3; // VIS_321 とはビット順が逆 data &= ~0x70; - data |= bitrev(stat << 1); + data |= bitrev8(stat << 1); break; default: VMPANIC("corrupted mpscc.vis=%u", (uint)mpscc.vis);