--- nono/vm/fdc.h 2026/04/29 17:04:44 1.1.1.4 +++ nono/vm/fdc.h 2026/04/29 17:04:50 1.1.1.5 @@ -72,7 +72,7 @@ struct FDC { static const int STAT_RQM = 0x80; // Request For Master static const int STAT_DIO = 0x40; // Data Input/Output static const int STAT_NDM = 0x20; // Non-DMA Mode - static const int STAT_CB = 0x10; // FDC Busy + static const int STAT_CB = 0x10; // FDC Busy static const int STAT_D3B = 0x08; // FD3 Busy static const int STAT_D2B = 0x04; // FD2 Busy static const int STAT_D1B = 0x02; // FD1 Busy @@ -116,9 +116,9 @@ class FDCDevice protected: // BusIO インタフェース static const uint32 NPORT = 4; - uint64 Read(uint32 addr); - uint64 Write(uint32 addr, uint32 data); - uint64 Peek(uint32 addr); + uint64 Read(uint32 offset); + uint64 Write(uint32 offset, uint32 data); + uint64 Peek(uint32 offset); private: uint32 ReadStatus();