--- nono/vm/bt45x.cpp 2026/04/29 17:05:17 1.1.1.1 +++ nono/vm/bt45x.cpp 2026/04/29 17:05:24 1.1.1.3 @@ -74,6 +74,7 @@ BT45xDevice::Init() // それによってモデル分け。1bpp/4bpp なら Bt454、8bpp なら Bt458。 if (nplane <= 4) { + SetName("Bt454"); bt454 = true; palettes = 16; low_nibble = LOW_NIBBLE; @@ -82,6 +83,7 @@ BT45xDevice::Init() monitor.func = ToMonitorCallback(&BT45xDevice::MonitorUpdate454); monitor.SetSize(63, 3); } else { + SetName("Bt458"); bt454 = false; palettes = 256; low_nibble = 0; @@ -132,7 +134,7 @@ BT45xDevice::rgbstr[3] = { 'R', 'G', 'B' // LUNA のビデオボードは Bt454 か Bt458 かでバイト配置が異なるようだ。 -uint64 +busdata BT45xDevice::Read8(uint32 addr) { if (bt454) { @@ -150,7 +152,7 @@ BT45xDevice::Read8(uint32 addr) } } -uint64 +busdata BT45xDevice::Write8(uint32 addr, uint32 data) { if (bt454) { @@ -168,7 +170,7 @@ BT45xDevice::Write8(uint32 addr, uint32 } } -uint64 +busdata BT45xDevice::Peek8(uint32 addr) { if (bt454) {