--- nono/vm/lcd.h 2026/04/29 17:04:58 1.1.1.8 +++ nono/vm/lcd.h 2026/04/29 17:05:10 1.1.1.9 @@ -4,6 +4,10 @@ // Licensed under nono-license.txt // +// +// LCD (HD44780) +// + #pragma once #include "device.h" @@ -16,8 +20,8 @@ class LCDDevice : public Device LCDDevice(); virtual ~LCDDevice() override; - bool PowerOff() override; - void ResetHard() override; + void ResetHard(bool poweron) override; + void PowerOff() override; // リセット信号はない @@ -84,4 +88,4 @@ class LCDDevice : public Device static const uint8 CGROM[12 * 16 * 8]; }; -extern std::unique_ptr gLCD; +extern LCDDevice *gLCD;