--- nono/vm/human_mi.h 2026/04/29 17:04:58 1.1.1.1 +++ nono/vm/human_mi.h 2026/04/29 17:05:10 1.1.1.2 @@ -4,6 +4,10 @@ // Licensed under nono-license.txt // +// +// Human68k? +// + #pragma once #include "device.h" @@ -262,7 +266,7 @@ class HumanMI : public Object void RequestExit(int code); - uint scid; // 実行中のシステムコール番号 + uint scid {}; // 実行中のシステムコール番号 }; // m680x0 に合わせたインタフェース。 @@ -281,9 +285,9 @@ class HumanMD_m680x0 : public HumanMI protected: // システムコール時点の SP。 // 引数の取り出しにより変化する。 - uint32 sp; + uint32 sp {}; - m68kcpu *cpu; + m68kcpu *cpu {}; }; // m88xx0 に合わせたインタフェース。 @@ -302,9 +306,9 @@ class HumanMD_m88xx0 : public HumanMI protected: // システムコール時点の rS。 // 引数の取り出しにより変化する。 - uint32 rs; + uint32 rs {}; // システムコール時点の rD。 - uint32 rd; + uint32 rd {}; - m88kcpu *cpu; + m88kcpu *cpu {}; };