// /*************************************************************************** // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // // Filename : Consts.cs // Author(s) : Natalia Portillo // // Component : CP/M filesystem plugin. // // --[ Description ] ---------------------------------------------------------- // // CP/M filesystem constants. // // --[ 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-2025 Natalia Portillo // ****************************************************************************/ // ReSharper disable InconsistentNaming namespace Aaru.Filesystems; public sealed partial class CPM { // Do not translate const string FS_TYPE = "cpmfs"; #region Nested type: FormatByte /// Enumerates the format identification byte used by CP/M-86 enum FormatByte : byte { /// 5.25" double-density single-side 8 sectors/track k160 = 0, /// 5.25" double-density double-side 8 sectors/track k320 = 1, /// 5.25" double-density double-side 9 sectors/track k360 = 0x10, /// 5.25" double-density double-side 9 sectors/track k360Alt = 0x40, /// 3.5" double-density double-side 9 sectors/track k720 = 0x11, /// 3.5" double-density double-side 9 sectors/track using FEAT144 f720 = 0x48, /// 5.25" high-density double-side 15 sectors/track using FEAT144 f1200 = 0x0C, /// 3.5" high-density double-side 18 sectors/track using FEAT144 f1440 = 0x90, /// 5.25" double-density double-side 9 sectors/track k360Alt2 = 0x26, /// 3.5" double-density double-side 9 sectors/track k720Alt = 0x94 } #endregion }