http://www.freewebs.com/andyboy_uk/dm2xp.JPG
And the How:
Ok, it wasnt easy and I still dont have the sound working, but that is next (also it is not the fastest thing to try and do but it does work). It involves going back down the time tunnel a bit as well with some of those old dos commands.
Also, Im afraid I have to say, USE THIS GUIDE AT YOU'RE OWN RISK. There are some steps in here that need to be done carefully or you risk loosing a partition (and that means all the data on it). If you
What you need:
Bochs for Windows (a freeware open source PC emulator for windows that supports protected mode games - like DM2) : http://bochs.sourceforge.net
WinImage: http://www.winimage.com (for editing disk files)
A copy of MSDOS in IMG format (Im afraid this is copyright so I cant give out my copy, but you can use win image to create images from you're disks. Call them something like dos1.img, dos2.img and dos3.img when you read them in.
All teh files for DMII, Mouse drivers for DOS (cutemouse works ok), SOUND drivers for dos (havent done that bit yet) unzipped and in a temp folder on you're machine somewhere.
The How To:
This can get a little complicated and confusing sometimes so please feel free to ask questions if Ive not been clear enough.
This is the jist of the process, I am happy to answer questions as it can get a bit messy in those BOCHSSRC files.
Quick Note: Bochs seems to be setup with an American Keyboard. For UK people, the \ key is actually the # key

1. Install BOCHS,
2. Install WINIMAGE,
3. Use WINIMAGE to create IMG files of you're original DOS 6.22 disks
4. Create a new HDD Image in BOCHS and enter the correct details into the BOCHSSRC.TXT file (the details will be given to you after creation and you should rem out all other lines in the ATA section. TO create a virtual hard disk for use in BOCHS you need to use a utlility provided called BXImage.EXE
5. Edit the bochssrc.txt file to use that as the C Drive of the Virtual Machine, also edit the FLOPPYA entry to be the first dos disk and the BOOT section so that the machine boots from the a drive (BOOT=A)
6. Fire up the BOCHS machine (now this may take a while to get working and you are bound to come into terms with the PANIC problems. These are mostly caused by errors in the BOCHSSRC.TXT file or having a hard disk or floppy disk open in another program while trying to run.
7. It should boot to dos setup - certainly for DOS 6.22 anyway. Also you should exit the setup first time and get to a prompt and run SETUP /G to stop the backup disks being created - they suck ass and I couldnt get it to install with them enabled in setup.
This bit now gets a little scarier
8. Use FDISK and FORMAT /S (for system bootable drive) on the hard disk within BOCHS. It will need to reboot probably to get access to the "drive"
Warning: DO NOT DO THIS OUTSIDE OF BOCHS, use the FDISK display partition information to confirm that you are FDISK'ing the virtual hard disk that BOCHS is using - the image you created earlier with BXImage.exe.
9. Install DOS on the virtual hard disk (to change diskettes, hit the config button and switch over to the other window and use option 1 to change the disk image.
10. When the install finishes, restart the machine and then switch off BOCHs.
11. Go into the BOCHSSRC and change the boot section back to BOOT=disk rather than BOOT=A.
12. Restart BOCHS.
This should bring you up to a nice dos session yay. If it is 6.22 then you will get HIMEM running and be dropped at a prompt.
Ok, now shutdown bochs again and open up the image file for the hard disk you created for BOCHS in WINIMAGE.
Note: You need to start WinImage and then do a file/open on big images, for some reason it crashed for me when I just double clicked the image.
Once it is open, open an explorer window and drag all the DM2 files/mouse driver/sound driver over to the image file. It will prompt you for INjection of files (make sure it doesnt push teh IMG file over the limits of its capcaity, otherwise BOCHS will not be able to read it.
Once its all there close WINIMAGE and restart BOCHS.
You should now have all the folders on youre virtual C drive that you just dragged in.
I recommend putting the mouse driver in youre \dos folder and also throwing it into the autoexec.bat.
Once the mouse drivers are loaded, run DM2 setup utility, select no sound but make sure that the config file is saved and then try and run it

That should be it..
Voilla.. Not easy, but hey, it works

I might have a go at the sound drivers now .. THat should be fun
