--- nono/vm/tas.h 2026/04/29 17:04:53 1.1.1.4 +++ nono/vm/tas.h 2026/04/29 17:05:18 1.1.1.7 @@ -4,22 +4,23 @@ // 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() override; + void ResetHard(bool poweron) override; protected: // BusIO インタフェース @@ -31,5 +32,3 @@ class TASDevice private: std::atomic tas {}; // bit 7 のみ有効。 }; - -extern std::unique_ptr gTAS;