// /*************************************************************************** // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // // Filename : Enums.cs // Author(s) : Natalia Portillo // // Component : Disk image plugins. // // --[ Description ] ---------------------------------------------------------- // // Contains enumerations for Quasi88 disk images. // // --[ License ] -------------------------------------------------------------- // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 2.1 of the // License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, see . // // ---------------------------------------------------------------------------- // Copyright © 2011-2020 Natalia Portillo // ****************************************************************************/ using System.Diagnostics.CodeAnalysis; namespace Aaru.DiscImages { [SuppressMessage("ReSharper", "UnusedMember.Local"), SuppressMessage("ReSharper", "UnusedType.Local")] public sealed partial class D88 { enum DiskType : byte { D2 = 0x00, Dd2 = 0x10, Hd2 = 0x20 } enum DensityType : byte { Mfm = 0x00, Fm = 0x40 } /// Status as returned by PC-98 BIOS ステータスは、PC-98x1 のBIOS が返してくるステータスで、 enum StatusType : byte { /// Normal 正常 Normal = 0x00, /// Deleted 正常(DELETED DATA) Deleted = 0x10, /// CRC error in address fields ID CRC エラー IdError = 0xA0, /// CRC error in data block データ CRC エラー DataError = 0xB0, /// Address mark not found アドレスマークなし AddressMarkNotFound = 0xE0, /// Data mark not found データマークなし DataMarkNotFound = 0xF0 } } }