86Box is an IBM PC emulator for Windows, Linux and Mac based on PCem that specializes in running old operating systems and software that are designed for IBM PC compatibles. From Wikipedia
In a nostalgic move, Microsoft, in partnership with IBM, has opened the source code of MS-DOS 4.0 under the MIT license, marking another step in preserving software history.