--- nono/vm/crtc2.h 2026/04/29 17:04:55 1.1.1.7 +++ nono/vm/crtc2.h 2026/04/29 17:05:10 1.1.1.8 @@ -4,10 +4,14 @@ // Licensed under nono-license.txt // +// +// CRTC-II (HD6445) +// + #pragma once #include "device.h" -#include "scheduler.h" +#include "event.h" class CRTC2Device : public IODevice { @@ -16,7 +20,7 @@ class CRTC2Device : public IODevice CRTC2Device(); virtual ~CRTC2Device() override; - void ResetHard() override; + void ResetHard(bool poweron) override; protected: // BusIO インタフェース @@ -38,4 +42,4 @@ class CRTC2Device : public IODevice Event vdisp_event { this }; }; -extern std::unique_ptr gCRTC2; +extern CRTC2Device *gCRTC2;