--- nono/vm/newsctlr.h 2026/04/29 17:05:21 1.1.1.2 +++ nono/vm/newsctlr.h 2026/04/29 17:05:25 1.1.1.3 @@ -12,6 +12,7 @@ #include "device.h" #include "event.h" +#include "textscreen.h" #include class DipswDevice; @@ -33,12 +34,14 @@ class NewsCtlrDevice : public IODevice bool Init() override; void ResetHard(bool poweron) override; - uint64 Read8(uint32 addr) override; - uint64 Write8(uint32 addr, uint32 data) override; - uint64 Peek8(uint32 addr) override; + busdata Read8(uint32 addr) override; + busdata Write8(uint32 addr, uint32 data) override; + busdata Peek8(uint32 addr) override; uint GetLED() const { return led; } + void MonitorUpdateNewsCtlr(TextScreen& screen, int y); + private: uint8 GetIDROM(uint32 addr) const; uint8 GetDIPSW() const;