--- nono/vm/msxdos.h 2026/04/29 17:05:17 1.1 +++ nono/vm/msxdos.h 2026/04/29 17:05:42 1.1.1.4 @@ -11,8 +11,10 @@ #pragma once #include "prom.h" +#include class MPU64180Device; +class XPbusDevice; class MSXDOSDevice : public PROMDevice { @@ -26,15 +28,22 @@ class MSXDOSDevice : public PROMDevice public: MSXDOSDevice(); - virtual ~MSXDOSDevice() override; + ~MSXDOSDevice() override; bool Init() override; + void ResetHard(bool poweron) override; // MSXDOS コールエミュレーション void Syscall(); private: - data_t LoadBinary(const char *filename); + bool LoadBinary(const char *filename); + void Putc(int ch); + + int cursor_x {}; + + std::vector filebuf {}; MPU64180Device *xp {}; + XPbusDevice *xpbus {}; };