Running MS-DOS on Windows XP

Hello. I have Windows XP as the operating system on my home computer. I’d like to know if XP can be modified to run MS-DOS programs? Are there any system drivers I can download to run 16-bit applications?

You just need to execute the command intepreter, cmd.exe which is the accessories menu as “command prompt.” Note that not all DOS applications will run but many will.

When you attempt to run a DOS program under XP, it launches NTVDM (Virtual DOS Machine) and runs your program within the virtual DOS environment; if your programs require direct access to hardware (quite common, especially in DOS games), they simply will not work because XP expects hardware to be controlled indirectly via something called the hardware abstraction layer (which DOS programs don’t know about)

There are some compatability settings you can try - many DOS programs will work on Windows XP. If they absolutely won’t, and you really want the program, take a look at Virtual PC. You can install DOS in a Virtual PC and run it from Windows. It works really well - we use it at work to run various versions of Windows as well as Linux.

What compatility settings are you refering to? Which file folders do I look into, and what path? Desktop Settings, Control Panel or Accessories? Or do I look for Configuration Settings? I would like to try making adjustments before downloading Virtual PC. I would like to save a copy of the file to disk-how much disk space does it use?

How do I do that? Just do a search for the file and click on it?

You can download bochs and install a copy of FreeDOS on it and that will catch 99.99% of all DOS programs. (If you have a copy of MS-DOS, you can install that on bochs and maybe the setup will run a couple more.)

(And, since FreeDOS is a real DOS in and of itself, you can use it on boot disks and other places you might want to run a DOS.)

I don’t think dosemu runs under Windows XP, which is a pity: It’s probably the simplest way to run a DOS box on a non-DOS x86 OS (like Linux for x86).

Yes, or click on Start Menu/Run then type “cmd” or “command”

I’m assuming both programs are Freeware?

They are both open-source software and are both freely downloadable, yes.

To put things simply, there’s a difference between freeware in the Windows world and open-source software in the non-Windows world. It mainly applies to people who like to create software, though, and I don’t think you fall into that camp. Open-source software also won’t install sneaky crap on your computer, unlike some freeware downloads.

Sorry for the double-post. I hit submit too quickly.

The GNU Project has put together a quick primer on the differences between the different kinds of software. The definitions they use aren’t accepted by everyone, but few people will misunderstand you if you use their terms.

I use the open source DOSBox emulator to run old DOS games, most recently Fantasy General.

It works very reliably. And it doesn’t require that you reboot into DOS or anything.

I second the DOSbox. It’s great.

DOSBox is good. I didn’t think it worked under Windows, which is why I didn’t mention it.

BTW, I don’t know that you can reboot into DOS under Windows XP. Am I wrong?

I’ve tried running DOSBox, but I can’t get it to run fullscreen. Anything I’m missing on that? (It’d be nice not to have to boot into WinME to run Privateer.)

I found dosbox just browsing Sourceforge.

http://sourceforge.net/

I haven’t needed another program to run my DOS games since. (Long live scorched earth!)

What I liked about it, was that DOSbox knew how to work my speakers, which I could never figure out. I now have that wonderful nostalgic music on my XP system.

nitpick

It is entirely possible that someone could write an open-source program that includes a spyware installation. Of course, it would be pretty pointless, as any useful open source program with spyware would simply have some programer type come along, strip out the spyware code, and make the spyware free version available.

/nitpick