I have compiled a package containing a PCem configuration, and a disk image with MS-DOS 6.22 including a bunch of programming tools:
- DJGPP (gcc 4.7.3 including GNU make, GNU debugger, etc)
- Watcom C/C++ 11.0c
- Borland C/C++ 3.1
- Turbo C 3.0
- Borland Pascal 7
- NASM 2.05.01
- MASM 6.11
And also a bunch of useful tools like a proper text editor (VIM 7.3.46), norton commander, unzip32, univbe, etc.
It comes with a README file with instructions on how to set it up. You can use it either with the included PCem configuration (pentium 133, tseng e4000w32, voodoo2, SB16), or you could just raw-write/dd it to an actual disk and boot a PC with it. It includes a pre-compiled pcem for GNU/Linux x86-64, but it might need some libraries to be installed first to work, but includes all ROMs necessary for the pentium system.
Here’s the link: http://nuclear.mutantstargoat.com/files/dosdev-pcem.tar.gz
P.S. a correction for the jam page: NASM does run on DOS, and this package includes it.