--- nono/vm/pluto.cpp 2026/04/29 17:04:36 1.1.1.3 +++ nono/vm/pluto.cpp 2026/04/29 17:04:50 1.1.1.5 @@ -10,6 +10,8 @@ #include "mpu680x0.h" #include "ram.h" +std::unique_ptr gPluto; + PlutoDevice::PlutoDevice() { logname = "pluto"; @@ -22,6 +24,13 @@ PlutoDevice::~PlutoDevice() { } +void +PlutoDevice::ResetHard() +{ + // XXX not yet + m_count = 0; +} + // ROM /*static*/ const uint16 PlutoDevice::rom[] = { @@ -149,7 +158,7 @@ PlutoDevice::ROM_Load() assert(gMainApp.host_file); // ホストファイルをロード - uint32 entry = gRAM->LoadFile(gMainApp.host_file, AOUT_MID_M68K); + uint32 entry = gRAM->LoadFile(gMainApp.host_file); if (entry) { // NetBSD/x68k のプライマリブートローダが /boot を読み込む時には