2017-05-19 20:28:49 +01:00
|
|
|
// /***************************************************************************
|
2016-08-26 01:43:15 +01:00
|
|
|
// The Disc Image Chef
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Filename : Consts.cs
|
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
|
|
|
//
|
2016-08-26 01:45:58 +01:00
|
|
|
// Component : CP/M filesystem plugin.
|
2016-08-26 01:43:15 +01:00
|
|
|
//
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
//
|
2016-08-26 01:45:58 +01:00
|
|
|
// CP/M filesystem constants.
|
2016-08-26 01:43:15 +01:00
|
|
|
//
|
|
|
|
|
// --[ 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 <http://www.gnu.org/licenses/>.
|
|
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2017-12-19 03:50:57 +00:00
|
|
|
// Copyright © 2011-2018 Natalia Portillo
|
2016-08-26 01:43:15 +01:00
|
|
|
// ****************************************************************************/
|
2016-08-26 01:45:58 +01:00
|
|
|
|
2016-08-26 01:43:15 +01:00
|
|
|
namespace DiscImageChef.Filesystems.CPM
|
|
|
|
|
{
|
2017-12-21 16:27:09 +00:00
|
|
|
partial class CPM
|
2016-08-26 01:43:15 +01:00
|
|
|
{
|
2016-08-26 01:45:58 +01:00
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// Enumerates the format identification byte used by CP/M-86
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
enum FormatByte : byte
|
2016-08-26 01:43:15 +01:00
|
|
|
{
|
2016-08-26 01:45:58 +01:00
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 5.25" double-density single-side 8 sectors/track
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
k160 = 0,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 5.25" double-density double-side 8 sectors/track
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
k320 = 1,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 5.25" double-density double-side 9 sectors/track
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
k360 = 0x10,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 5.25" double-density double-side 9 sectors/track
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
k360Alt = 0x40,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 3.5" double-density double-side 9 sectors/track
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
k720 = 0x11,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 3.5" double-density double-side 9 sectors/track using FEAT144
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
f720 = 0x48,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 5.25" high-density double-side 15 sectors/track using FEAT144
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
f1200 = 0x0C,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 3.5" high-density double-side 18 sectors/track using FEAT144
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
f1440 = 0x90,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 5.25" double-density double-side 9 sectors/track
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
k360Alt2 = 0x26,
|
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
/// 3.5" double-density double-side 9 sectors/track
|
2016-08-26 01:45:58 +01:00
|
|
|
/// </summary>
|
|
|
|
|
k720Alt = 0x94
|
2016-08-26 01:43:15 +01:00
|
|
|
}
|
|
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
}
|