Hello Arkady,

>      MS-DEBUG doesn't runs from FD because "Incorrect DOS version". Setting
> required through VERSION= doesn't helps. Analyzing of inthndlr.c shows, that
> os_major and os_minor returned only through INT21/3306, for INT21/30 used
> os_setver_*. Is this bug (in config.c:sysVersion(), which not sets
> os_setver_*)?

RBIL:
INT 21 - DOS 5+ - GET TRUE VERSION NUMBER

        AX = 3306h
Return: BL = major version
        BH = minor version
        DL = revision (bits 2-0, all others 0)
        DH = version flags
            bit 3: DOS is in ROM
            bit 4: DOS is in HMA
        AL = FFh if true DOS version < 5.0
Notes:  this function always returns the true version number, unlike AH=30h,
          whose return value may be changed with SETVER
        because of the conflict from the CBIS redirector (see next
          entry), programs should check whether BH is less than 100 (64h)
          and BL is at least 5 before accepting the returned BX as the true
          version number; however, even this is not entirely reliable when
          that redirector is loaded
        fully reentrant


the only bug here: FD 21/3306 isn't reentrant

BTW: debug call int21/30 only.

tom











-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to