Differences
This shows you the differences between two versions of the page.
en:docs:dos:api:int21:33:06 [2020/12/09 06:34] – created prokushev | en:docs:dos:api:int21:33:06 [2024/05/02 05:46] (current) – prokushev | ||
---|---|---|---|
Line 33: | Line 33: | ||
===== Notes ===== | ===== 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 | + | 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 |
- | | + | |
- | | + | Under MS-DOS/PC DOS, DR DOS, PTS-DOS, S/DOS this function does not use any of the DOS internal stacks and thus is fully reentrant |
- | | + | |
- | | + | OS/2 v2.1 will return BX=0A14h (version 20.10) |
- | Under MS-DOS/PC DOS, DR DOS, PTS-DOS, S/DOS this function does not | + | |
- | | + | Windows 95 and Windows 95 SP1 return version 7.00; Windows 95 OSR2 and OPK3 (OSR2.5) return version MS 7.10. |
- | OS/2 v2.1 will return BX=0A14h (version 20.10) | + | |
- | Windows 95 and Windows 95 SP1 return version 7.00; Windows 95 OSR2 | + | the Windows NT DOS box returns BX=3205h (version 5.50) |
- | | + | |
- | the Windows NT DOS box returns BX=3205h (version 5.50) | + | Novell DOS 7 returns IBM v6.00, which some software displays as IBM DOS v6.10 (because of the version mismatch in true IBM DOS mentioned for INT 21/AH=30h); versions through Update 15 all return revision code 00h |
- | Novell DOS 7 returns IBM v6.00, which some software displays as | + | |
- | | + | Windows95 and Windows95 SP1 return version 7.00; Windows95 OSR2 returns version 7.10 |
- | | + | |
- | | + | Heiko Goeman' |
- | Windows95 and Windows95 SP1 return version 7.00; Windows95 OSR2 returns | + | |
- | | + | Novell DOS 7, OpenDOS 7.01, DR-OpenDOS 7.02, DR-DOS 7.02, DR-DOS 7.03 all return IBM 6.00, which some software displays as IBM DOS 6.10 (because of the version mismatch in true IBM DOS mentioned for INT 21/AH=30h); versions through Novell DOS 7 Update 15.2 (01/1996) all return revision code 00h. The DOS revision is stored in bits 7-0 of the " |
- | Heiko Goeman' | + | |
- | | + | Unlike MS-DOS, under Novell DOS 7+ IBMDOS.COM will also allow to SETVER the returned " |
- | Novell DOS 7, OpenDOS 7.01, DR-OpenDOS 7.02, DR-DOS 7.02, DR-DOS 7.03 | + | |
- | | + | DR-DOS 7.02+ IBMDOS.COM (since 1998-01-10) now recognizes optional paths to filenames stored in the SETVER list. Previously such entries were never found. This enables a three staged model of SETVERed versions: highest priority = entry with path is matching. middle priority = entry without path is matching. lowest priority = use global version (SETVER /G). |
- | | + | |
- | | + | The DR-DOS 7.02+ SETVER 1.01+ (1998-01-12) has also been enhanced to allow BDOS and DOS version faking (see INT 21/ |
- | | + | |
- | | + | DR-DOS SHARE 2.05 (1998-01-05) has relaxed version checking now, and will install on any DOS revision 0..127 (formerly it was bound to DOS revision 0 only), as long as run on a DR-DOS 72h or 73h BDOS kernel. |
- | | + | |
- | | + | Under Novell DOS 7+, the version SETVERing also affects the version number WORD stored at offset +40h in each program' |
- | | + | |
- | | + | S/DOS 1.0 (1995) returns a DOS revision of 9, while its own PTS OEM revision still defaults to 0 (see also INT 21/ |
- | Unlike MS-DOS, under Novell DOS 7+ IBMDOS.COM will also allow to | + | |
- | | + | BUG: DR DOS 5.0 and 6.0 return CF set/ |
- | | + | |
- | DR-DOS 7.02+ IBMDOS.COM (since 1998-01-10) now recognizes optional | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | The DR-DOS 7.02+ SETVER 1.01+ (1998-01-12) has also been enhanced to | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | DR-DOS SHARE 2.05 (1998-01-05) has relaxed version checking now, and | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | Under Novell DOS 7+, the version SETVERing also affects the version | + | |
- | | + | |
- | | + | |
- | | + | |
- | S/DOS 1.0 (1995) returns a DOS revision of 9, while its own PTS OEM | + | |
- | | + | |
- | BUG: DR DOS 5.0 and 6.0 return CF set/ | + | |
- | | + | |
- | | + | |
===== See also ===== | ===== See also ===== | ||
- | AH=30h,INT 2F/ | + | AH=[[en: |
===== Note ===== | ===== Note ===== |