On 20/02/2024 13:50, R.Wieser wrote:
...
>> what I remember and what still seem to work in (windoze10) DOS-box is the
>> DOS cmd "ver". it reports DOS 5.0 for my DOS-box.
>
> Heree XPsp3 reports "Microsoft Windows XP [Version 5.1.2600]", which is not
> what either 0x30 or 0x3306 returns. :-|
>
>> but I know it is version 8.2 (same as the DOS that came with windoze98SE).
>> so something got lost during the last three decades.
>
> About that, my "is 0x3205 unique to XP ?" remark prompted me to do some
> googeling in that direction, and I stumbled over this :
>
>
https://dos.fandom.com/wiki/MS-DOS_Version_History
>
> [quote]
> Version 5.50 (Windows NTVDM) - All Windows NT 32-bit versions ship with
> files from DOS 5.0
> [/quote]
>
> That means that int 21h, ah=30h returns AL=05h for both DOS 5.x as well as
> the NT versions, even though they differ in certain aspects (int 21h,
> AH=50h, offset 17h, CDS. The latter structure is smaller than the former
> one).
>
> Unless I hear something better about version detection I'm going to work
> with the assumption that that 3205h value from int 21h, AH=3306h is
> indicative for XPsp3, just as 0A05h is indicative for win96se.
>
> Thanks for the response.