mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Populate sLang in several MS-DOS detector scripts so the detected language is recorded (Logitech_Modula-2.4: sLang = "Modula-2"; ASIC-Basic, ApBasic, BetterBASIC, Turbo_Basic: sLang = "Basic"). Also rename L_O_V_E__FORTH.4.sg to compiler_L_O_V_E__FORTH.4.sg and Phar_Lap.0a.sg to extender_Phar_Lap.0a.sg to standardize database file naming. No other logic changes.
20 lines
No EOL
662 B
JavaScript
20 lines
No EOL
662 B
JavaScript
// Detect It Easy: detection rule file
|
|
// Author: hypn0 <hypn0@mail.ru>
|
|
|
|
meta("compiler", "ASIC-Basic");
|
|
|
|
function detect() {
|
|
if (MSDOS.compareEP("b8....8ed88ec033dbb4..cd108916....cc901ebf....8cc82d....8ed833c98a0e....83f9..72..b9....26be....fc")) {
|
|
sVersion = "5.0";
|
|
sOptions = "1994 by David Visti of 80_20 Software";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("b8....8ed88ec033dbb4..cd108916....1ebf....8cc82d....8ed833c98a0e....83f9..72..b9....26be....fc")) {
|
|
sVersion = "5.0";
|
|
sOptions = "1994 by David Visti of 80_20 Software";
|
|
bDetected = true;
|
|
}
|
|
|
|
sLang = "Basic";
|
|
|
|
return result();
|
|
} |