--- nono/vm/bitmap.cpp 2026/04/29 17:04:35 1.1.1.4 +++ nono/vm/bitmap.cpp 2026/04/29 17:04:38 1.1.1.5 @@ -49,7 +49,7 @@ BitmapDevice::BitmapDevice() logname = "bitmap"; devname = "Bitmap"; devaddr = 0xb1000000; - monitor.Init(42, 11); + monitor_size = nnSize(42, 11); // XXX とりあえず。実際は設定による nplane = 1; @@ -319,8 +319,8 @@ BitmapDevice::Peek8(uint32 addr) return 0xff; } -bool -BitmapDevice::MonitorUpdate() +void +BitmapDevice::MonitorUpdate(TextScreen& monitor) { int i; @@ -359,8 +359,6 @@ BitmapDevice::MonitorUpdate() ((pal[i * 3 + 2] & 0xf0) >> 4); monitor.Print(29 + (i / 8) * 7, (i % 8) + 3, "$%x:%03x", i, rgb); } - - return true; } // 全画面の更新フラグを立てる