mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added decoding of El Torito boot catalog.
This commit is contained in:
@@ -37,6 +37,8 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
{
|
||||
readonly string IsoMagic = "CD001";
|
||||
readonly string HighSierraMagic = "CDROM";
|
||||
const ushort ElToritoMagic = 0xAA55;
|
||||
const int ElToritoEntrySize = 32;
|
||||
|
||||
[Flags]
|
||||
enum FileFlags : byte
|
||||
@@ -76,5 +78,39 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
ISO1539 = 1,
|
||||
ControlContained = 2,
|
||||
}
|
||||
|
||||
enum ElToritoIndicator : byte
|
||||
{
|
||||
Header = 1,
|
||||
Extension = 0x44,
|
||||
Bootable = 0x88,
|
||||
MoreHeaders = 0x90,
|
||||
LastHeader = 0x91
|
||||
}
|
||||
|
||||
enum ElToritoPlatform : byte
|
||||
{
|
||||
x86 = 0,
|
||||
PowerPC = 1,
|
||||
Macintosh = 2
|
||||
}
|
||||
|
||||
enum ElToritoEmulation : byte
|
||||
{
|
||||
None = 0,
|
||||
Md2hd = 1,
|
||||
Mf2hd = 2,
|
||||
Mf2ed = 3,
|
||||
Hdd = 4
|
||||
}
|
||||
|
||||
[Flags]
|
||||
enum ElToritoFlags : byte
|
||||
{
|
||||
Reserved = 0x10,
|
||||
Continued = 0x20,
|
||||
ATAPI = 0x40,
|
||||
SCSI = 0x08
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user