--- nono/vm/tas.h 2026/04/29 17:04:50 1.1.1.3 +++ nono/vm/tas.h 2026/04/29 17:05:11 1.1.1.6 @@ -4,21 +4,24 @@ // Licensed under nono-license.txt // +// // TAS ポート +// #pragma once #include "device.h" #include -class TASDevice - : public IODevice +class TASDevice : public IODevice { using inherited = IODevice; public: TASDevice(); virtual ~TASDevice() override; + void ResetHard(bool poweron) override; + protected: // BusIO インタフェース static const uint32 NPORT = 1; @@ -30,4 +33,4 @@ class TASDevice std::atomic tas {}; // bit 7 のみ有効。 }; -extern std::unique_ptr gTAS; +extern TASDevice *gTAS;