mirror of
https://github.com/claunia/libexeinfo.git
synced 2025-12-16 19:14:24 +00:00
Added MiNT executable detection.
This commit is contained in:
@@ -74,7 +74,8 @@ namespace libexeinfo
|
||||
public bool Recognized { get; private set; }
|
||||
public string Type { get; private set; }
|
||||
public IEnumerable<Architecture> Architectures => new[] {Architecture.M68K};
|
||||
public OperatingSystem RequiredOperatingSystem => new OperatingSystem {Name = "Atari TOS"};
|
||||
public OperatingSystem RequiredOperatingSystem =>
|
||||
new OperatingSystem {Name = Header.mint == MINT_SIGNATURE ? "MiNT" : "Atari TOS"};
|
||||
|
||||
void Initialize()
|
||||
{
|
||||
|
||||
@@ -29,5 +29,6 @@ namespace libexeinfo
|
||||
public partial class AtariST
|
||||
{
|
||||
const ushort SIGNATURE = 0x601A;
|
||||
const uint MINT_SIGNATURE = 0x4D694E54;
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ namespace libexeinfo
|
||||
public uint data_len;
|
||||
public uint bss_len;
|
||||
public uint symb_len;
|
||||
public uint reserved;
|
||||
public uint mint;
|
||||
public uint flags;
|
||||
public ushort absflags;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user