// /*************************************************************************** // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // // Filename : Constants.cs // Author(s) : Natalia Portillo // // Component : Disk image plugins. // // --[ Description ] ---------------------------------------------------------- // // Contains constants for SuperCardPro flux 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-2025 Natalia Portillo // ****************************************************************************/ namespace Aaru.Images; public sealed partial class SuperCardPro { /// SuperCardPro footer signature: "FPCS" const uint FOOTER_SIGNATURE = 0x53435046; /// SuperCardPro device default capture resolution: 25 nanoseconds. const ushort DEFAULT_RESOLUTION = 25000; /// SuperCardPro format full (with track offsets) header length. const uint FULL_HEADER_OFFSET = 0x2b0; /// SuperCardPro format header length (without track offsets). const byte HEADER_OFFSET = 0x10; /// SuperCardPro header signature: "SCP" readonly byte[] _scpSignature = "SCP"u8.ToArray(); /// SuperCardPro track header signature: "TRK" readonly byte[] _trkSignature = "TRK"u8.ToArray(); }