MS-DOS 3.31 wasn't a mainstream Microsoft release — it was a Compaq OEM version from late 1987. COMPAQ DOS 3.31... pioneered support for 32-bit logical sector numbers and thus partitions larger than 32MB, and that same mechanism appeared a few months later in DOS 4.0 and OS/2 1.1. So 3.31 beat Microsoft's own DOS to large-partition support.
MS-DOS 3.31 introduced support for 1.44M diskettes and support for hard drives up to 512MB.
It also does not use as much conventional memory as DOS 4.x or later, making it a good choice for 8088/8086 based computers.
MS-DOS 5.0
System Requirements
CPU
Speed
RAM
HDD
File System
Minimum
i8088
512KB
5MB
FAT16
Min. recommended
i286
6Mhz
640KB
20MB
FAT16
Max.
486DX4 / Pentium
100Mhz
64MB
8GB
FAT16
MS-DOS 5.0 was the first DOS version to support XMS (Extended Memory Specification) and the High Memory Area (HMA). This was achieved with HIMEM.SYS, which opened access to memory beyond the first 1 MB on 286+ processors. With HIMEM.SYS plus DOS=HIGH in CONFIG.SYS, MS-DOS 5.0 leaves somewhere around 620–630 KB free instead of roughly 575 KB.
It added support for 3.5" 2.88 MB Floppys.
MS-DOS 6.22
System Requirements
CPU
Speed
RAM
HDD
File System
Minimum
i8088
512KB
5MB
FAT16
Min. recommended
386SX
25Mhz
640KB
20MB
FAT16
Max.
486DX4 / Pentium
100Mhz
64MB
8GB
FAT16
HDD: Size is limited by the BIOS
HDD: You can have a maximum of 4 primary partitions with the standard DOS partition table.
HDD: To be visible in MS-DOS <= 6.22 all partitions need to be 2GB or less.
MS-DOS 7.1
System Requirements
CPU
Speed
RAM
HDD
File System
Minimum
386SX
512KB
5MB
FAT16
Min. recommended
486DX2
66Mhz
32MB
8GB
FAT32
Max.
Pentium III
1.4 Ghz
512MB
128GB
FAT32
HDD: Size is limited by the BIOS
HDD: MS-DOS 7.1 recognizes a hard disk beyond the first 8.4GB
HDD: FAT32 support for larger than 2GB and up to 2TB per volume