--- nono/vm/dmac.h 2026/04/29 17:05:29 1.1.1.14 +++ nono/vm/dmac.h 2026/04/29 17:05:38 1.1.1.16 @@ -14,13 +14,13 @@ #include "bus.h" #include "event.h" #include "fixedqueue.h" -#include "monitor.h" #include class ADPCMDevice; class FDCDevice; class InterruptDevice; class MainbusDevice; +class Syncer; struct DMAC { @@ -302,6 +302,9 @@ class DMACDevice : public IODevice void WriteCCR(DMACChan *chan, uint32 data, uint8 up); void WriteGCR(uint8 data); + // ACT ビットの状態を変更 + void ChangeACT(DMACChan *, bool); + // 割り込み信号線の状態を変更 void ChangeInterrupt(); @@ -337,10 +340,11 @@ class DMACDevice : public IODevice FDCDevice *fdc {}; InterruptDevice *interrupt {}; MainbusDevice *mainbus {}; + Syncer *syncer {}; Event event { this }; - Monitor monitor { this }; + Monitor *monitor {}; static const char * const errnames[]; static const char * const regname1[0x40];