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.
19 lines
No EOL
610 B
JavaScript
19 lines
No EOL
610 B
JavaScript
// Detect It Easy: detection rule file
|
|
// Author: hypn0 <hypn0@mail.ru>
|
|
|
|
meta("compiler", "ApBasic");
|
|
|
|
function detect() {
|
|
if (MSDOS.compareEP("eb$$8cc02ea3....268b36....8cc88ed88ec08cc82e0106....2e0106....2ea1....2e8b16....33db2e")) {
|
|
sVersion = "1.2";
|
|
sOptions = "1987-89 by Comptech Software, Inc.";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("eb$$8cc02ea3....268b36....8cc88ed88ec08cc82e0106....2e0106....e8....2ea1....2e8b16....33db2e")) {
|
|
sOptions = "1991 by Comptech Software, Inc.";
|
|
bDetected = true;
|
|
}
|
|
|
|
sLang = "Basic";
|
|
|
|
return result();
|
|
} |