--- nono/vm/msxdos.h 2026/04/29 17:05:24 1.1.1.2 +++ nono/vm/msxdos.h 2026/04/29 17:05:42 1.1.1.4 @@ -14,6 +14,7 @@ #include class MPU64180Device; +class XPbusDevice; class MSXDOSDevice : public PROMDevice { @@ -30,12 +31,19 @@ class MSXDOSDevice : public PROMDevice ~MSXDOSDevice() override; bool Init() override; + void ResetHard(bool poweron) override; // MSXDOS コールエミュレーション void Syscall(); private: - bool LoadBinary(const char *filename, std::vector& dst); + bool LoadBinary(const char *filename); + void Putc(int ch); + + int cursor_x {}; + + std::vector filebuf {}; MPU64180Device *xp {}; + XPbusDevice *xpbus {}; };