today for something incredibly useless, I put together a tiny port of emu2 from
https://github.com/dmsc/emu2which is a bit silly because we already have the VDM, but programming exercises are fun..
to run programs you can either use emu2 to start a command prompt (i used 4dos):
emu2.exe c:\utils\4dos\4dos.comor run programs directly (everyone should have this one)
emu2.exe c:\os2\mdos\qbasic.exesee the documentation on github for some other settings.
here it is running Turbo Pascal 6: