// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : Enums.cs
// Version : 1.0
// Author(s) : Natalia Portillo
//
// Component : Component
//
// Revision : $Revision$
// Last change by : $Author$
// Date : $Date$
//
// --[ Description ] ----------------------------------------------------------
//
// Description
//
// --[ License ] --------------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
//
// ----------------------------------------------------------------------------
// Copyright (C) 2011-2015 Claunia.com
// ****************************************************************************/
// //$Id$
using System;
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
}
}