Added support for Apple Extensions to ISO 9660.

This commit is contained in:
2017-10-09 09:48:28 +01:00
parent 1698f3264a
commit be104ae04a
3 changed files with 142 additions and 5 deletions

View File

@@ -40,6 +40,8 @@ namespace DiscImageChef.Filesystems.ISO9660
const ushort ElToritoMagic = 0xAA55;
const int ElToritoEntrySize = 32;
const ushort XaMagic = 0x5841; // "XA"
const ushort AppleMagic = 0x4141; // "AA"
const ushort AppleMagicOld = 0x4241; // "BA"
[Flags]
enum FileFlags : byte
@@ -130,5 +132,21 @@ namespace DiscImageChef.Filesystems.ISO9660
ATAPI = 0x40,
SCSI = 0x08
}
enum AppleId : byte
{
ProDOS = 1,
HFS = 2
}
enum AppleOldId : byte
{
ProDOS = 1,
TypeCreator = 2,
TypeCreatorBundle = 3,
TypeCreatorIcon = 4,
TypeCreatorIconBundle = 5,
HFS = 6
}
}
}