// Detect It Easy: detection rule file format

init("debug", "Borland TLINK Symbol Table Present");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (MSDOS.compareOverlay("FB52")) {
        sVersion = (MSDOS.readByte(MSDOS.getOverlayOffset() + 0x3) + MSDOS.readByte(MSDOS.getOverlayOffset() + 0x2) / 100);

        sOptions = "TDS";
        bDetected = true;
    }

    return result(bShowType, bShowVersion, bShowOptions);
}