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
543 B
JavaScript
20 lines
No EOL
543 B
JavaScript
// Detect It Easy: detection rule file
|
|
// Author: hypn0 <hypn0@mail.ru>
|
|
|
|
meta("compiler", "Turbo Basic");
|
|
|
|
function detect() {
|
|
if (MSDOS.compareEP("2E8C......2EC706........E8....E8")) {
|
|
sVersion = "1.0";
|
|
sOptions = "1987";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("faba....8ec28ed2bc....fb8bfc32edbe....8a0e....8bc12bf94f81e7....268c1e....8be78ec2fcf3a48eda8bf7bb....9150")) {
|
|
sVersion = "1.0";
|
|
sOptions = "1987";
|
|
bDetected = true;
|
|
}
|
|
|
|
sLang = "Basic";
|
|
|
|
return result();
|
|
} |