--- nono/vm/mpu680x0.h 2026/04/29 17:04:47 1.1.1.6 +++ nono/vm/mpu680x0.h 2026/04/29 17:04:52 1.1.1.7 @@ -8,6 +8,7 @@ #pragma once +#include "event.h" #include "mpu.h" #include "m68030.h" @@ -15,10 +16,12 @@ class MPU680x0Device : public MPUDevice { using inherited = MPUDevice; public: - MPU680x0Device(uint32); + MPU680x0Device(); virtual ~MPU680x0Device() override; bool Init() override; + bool PowerOn() override; + void ResetHard() override; void MonitorUpdate(TextScreen&) override; // MPU を vtime [nsec] 分実行する @@ -67,6 +70,9 @@ class MPU680x0Device : public MPUDevice // イベントコールバック void Callback(Event& ev); + // 割り込み用イベント + Event event {}; + // 割り込み確定のためのディレイ [nsec] uint64 intdelay {};