Detect-It-Easy/db/MSDOS/compiler_Turbo_Basic.4.sg
DosX 20c1d39026 Set sLang in detectors; rename DB files
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.
2026-06-21 12:06:59 +03:00

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();
}