mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
30 lines
No EOL
1.2 KiB
JavaScript
Executable file
30 lines
No EOL
1.2 KiB
JavaScript
Executable file
// Detect It Easy: detection rule file
|
|
// Author: hypn0 <hypn0@mail.ru>
|
|
|
|
init("compiler", "MegaBasic");
|
|
|
|
function detect() {
|
|
if (MSDOS.compareEP("e9$$$$b9....33f633ff1607fcf3a5368c1e....a1....161fa3....e8....bc....b430cd21a2....0ac074..86e0")) {
|
|
sVersion = "5.40";
|
|
sOptions = "1985-87 by Christopher Cochran";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("e8$$$$b8....cd21360806....84c074..8bf886e08bd0d40a86c4360906....86c48ac48ae6d50a")) {
|
|
sVersion = "5.812";
|
|
sOptions = "1994 by Christopher Cochran";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("e8$$$$b430cd21360806....0ac074..86e08bd0d40a86c4360906....86c48ac48ae6d50a")) {
|
|
sVersion = "5.73";
|
|
sOptions = "1992 by Christopher Cochran";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("e9$$$$b9....33f633ff1607fcf3a5368c1e....161fe8....bc....b430cd21a2....0ac074..86e0")) {
|
|
sOptions = "1985 by Christopher Cochran";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("e9$$$$b9....33f633ff1607fcf3a5268c1e....161fe8....bc....0e1fba....b8....cd21ba....b8")) {
|
|
sOptions = "1985 by Christopher Cochran";
|
|
bDetected = true;
|
|
}
|
|
|
|
_setLang("Basic", bDetected);
|
|
|
|
return result();
|
|
} |