// /*************************************************************************** // The Disc Image Chef // ---------------------------------------------------------------------------- // // Filename : Enums.cs // Author(s) : Natalia Portillo // // Component : Device structures decoders. // // --[ Description ] ---------------------------------------------------------- // // Contains various floppy enumerations. // // --[ 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-2017 Natalia Portillo // ****************************************************************************/ namespace DiscImageChef.Decoders.Floppy { /// /// In-sector code for sector size /// public enum IBMSectorSizeCode : byte { /// /// 128 bytes/sector /// EighthKilo = 0, /// /// 256 bytes/sector /// QuarterKilo = 1, /// /// 512 bytes/sector /// HalfKilo = 2, /// /// 1024 bytes/sector /// Kilo = 3, /// /// 2048 bytes/sector /// TwiceKilo = 4, /// /// 4096 bytes/sector /// FriceKilo = 5, /// /// 8192 bytes/sector /// TwiceFriceKilo = 6, /// /// 16384 bytes/sector /// FricelyFriceKilo = 7 } public enum IBMIdType : byte { IndexMark = 0xFC, AddressMark = 0xFE, DataMark = 0xFB, DeletedDataMark = 0xF8 } public enum AppleEncodedFormat : byte { /// /// Disk is an Apple II 3.5" disk /// AppleII = 0x96, /// /// Disk is an Apple Lisa 3.5" disk /// Lisa = 0x97, /// /// Disk is an Apple Macintosh single-sided 3.5" disk /// MacSingleSide = 0x9A, /// /// Disk is an Apple Macintosh double-sided 3.5" disk /// MacDoubleSide = 0xD9 } }