mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Update CICMMetadata version.
This commit is contained in:
@@ -92,7 +92,7 @@ namespace DiscImageChef.Filesystems
|
||||
Clusters = block0.blocks,
|
||||
Files = block0.files,
|
||||
FilesSpecified = true,
|
||||
FreeClusters = block0.blocks - block0.usedBlocks,
|
||||
FreeClusters = (ulong)(block0.blocks - block0.usedBlocks),
|
||||
FreeClustersSpecified = true
|
||||
};
|
||||
|
||||
@@ -105,52 +105,52 @@ namespace DiscImageChef.Filesystems
|
||||
{
|
||||
/// <summary>BK starts booting here</summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 24)]
|
||||
public byte[] bootCode;
|
||||
public readonly byte[] bootCode;
|
||||
/// <summary>Number of files in directory</summary>
|
||||
public ushort files;
|
||||
public readonly ushort files;
|
||||
/// <summary>Total number of blocks in files of the directory</summary>
|
||||
public ushort usedBlocks;
|
||||
public readonly ushort usedBlocks;
|
||||
/// <summary>Unknown</summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 228)]
|
||||
public byte[] unknown;
|
||||
public readonly byte[] unknown;
|
||||
/// <summary>Ownership label (label that shows it belongs to Micro DOS format)</summary>
|
||||
public ushort label;
|
||||
public readonly ushort label;
|
||||
/// <summary>MK-DOS directory format label</summary>
|
||||
public ushort mklabel;
|
||||
public readonly ushort mklabel;
|
||||
/// <summary>Unknown</summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
|
||||
public byte[] unknown2;
|
||||
public readonly byte[] unknown2;
|
||||
/// <summary>
|
||||
/// Disk size in blocks (absolute value for the system unlike NORD, NORTON etc.) that
|
||||
/// doesn't use two fixed values 40 or 80 tracks, but i.e. if you drive works with 76 tracks
|
||||
/// this field will contain an appropriate number of blocks
|
||||
/// </summary>
|
||||
public ushort blocks;
|
||||
public readonly ushort blocks;
|
||||
/// <summary> Number of the first file's block. Value is changable</summary>
|
||||
public ushort firstUsedBlock;
|
||||
public readonly ushort firstUsedBlock;
|
||||
/// <summary>Unknown</summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)]
|
||||
public byte[] unknown3;
|
||||
public readonly byte[] unknown3;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct DirectoryEntry
|
||||
{
|
||||
/// <summary>File status</summary>
|
||||
public byte status;
|
||||
public readonly byte status;
|
||||
/// <summary>Directory number (0 - root)</summary>
|
||||
public byte directory;
|
||||
public readonly byte directory;
|
||||
/// <summary>File name 14. symbols in ASCII KOI8</summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)]
|
||||
public byte[] filename;
|
||||
public readonly byte[] filename;
|
||||
/// <summary>Block number</summary>
|
||||
public ushort blockNo;
|
||||
public readonly ushort blockNo;
|
||||
/// <summary>Length in blocks</summary>
|
||||
public ushort blocks;
|
||||
public readonly ushort blocks;
|
||||
/// <summary>Address</summary>
|
||||
public ushort address;
|
||||
public readonly ushort address;
|
||||
/// <summary>Length</summary>
|
||||
public ushort length;
|
||||
public readonly ushort length;
|
||||
}
|
||||
|
||||
enum FileStatus : byte
|
||||
|
||||
Reference in New Issue
Block a user