--- nono/vm/tvram.cpp 2026/04/29 17:05:43 1.1.1.14 +++ nono/vm/tvram.cpp 2026/04/29 17:05:51 1.1.1.15 @@ -12,11 +12,13 @@ // バイトアクセス時は HLB()、ワードアクセス時は HLW() マクロを使用のこと。 #include "tvram.h" +#include "event.h" #include "textscreen.h" #include "videoctlr.h" // InsideOut p.135 -static const busdata wait = busdata::Wait(9 * 40_nsec); +/*static*/ const busdata +TVRAMDevice::wait = busdata::Wait(9 * 40_nsec); // コンストラクタ TVRAMDevice::TVRAMDevice() @@ -52,8 +54,8 @@ TVRAMDevice::Init() videoctlr = GetVideoCtlrDevice(); - // 加工済みパレットを取得 - palette = &(videoctlr->GetHostPalette())[0]; + // 加工済みテキストパレットを取得。 + palette = videoctlr->GetHostPalettePtr(256); return true; }