--- nono/vm/fdd.cpp 2026/04/29 17:05:29 1.1.1.4 +++ nono/vm/fdd.cpp 2026/04/29 17:05:38 1.1.1.5 @@ -14,7 +14,7 @@ // セクタは 128~ バイトで構成される。 // 割り込み状態はこちらでは保持しておらず PEDEC 側で持っている。 -// PEDEC への割り込みは AssertInt() するだけで使っている。 +// PEDEC への割り込みは AssertINT() するだけで使っている。 #include "fdd.h" #include "config.h" @@ -101,10 +101,6 @@ FDDDevice::~FDDDevice() bool FDDDevice::Init() { - if (inherited::Init() == false) { - return false; - } - fdc = GetFDCDevice(); pedec = GetPEDECDevice(); @@ -112,8 +108,6 @@ FDDDevice::Init() const std::string imgkey = keybody + "image"; const std::string wikey = keybody + "writeignore"; - // デバイス種別(v[0])とパス(v[1])に分解。 - // デバイス種別はすでにチェックしてあるのでここでは不要。 const ConfigItem& itemimg = gConfig->Find(imgkey); const std::string& filename = itemimg.AsString(); @@ -252,8 +246,6 @@ XX>01234567890123456 01234567890123456| // ヘッド位置 screen.Print(ux, uy + heady, selattr, "%2u>", cylinder); screen.Puts(ux + hd * 18 + 3 + headx, uy + heady, selattr, "#"); - // 裏のヘッド位置 - screen.Puts(ux + (1 - hd) * 18 + 3 + headx, uy + heady, selattr, "+"); } // READY 信号