Forum Home
Press F1
 
Thread ID: 46436 2004-06-23 13:25:00 Dual boot - XP home and DOS rugila (214) Press F1
Post ID Timestamp Content User
247110 2004-06-23 13:25:00 When trying to run a 16-bit DOS program I get:

Abnormal program termination: Stack fault
CS:EIP = 000Fh:00001373h

Google says "This condition will occur if the program was compiled using a Lahey Fortran compiler."

It probably was, but I still need to run it.

Seems that one of the more modern versions of DOS should run it, or a Virtual PC might as well. (I have the old Microsoft MSDOS 6 disks, which were put out circa 1991-3, but doubt if these could handle my NTFS and FAT32 file systems, or 512mb ram, or 120Gb Hdd etc).

Can one set up a dual boot with XP and some version of DOS?

Is there any (preferably freeware) DOS version that would be OK for doing this, and are there any particular problems to watch out for?

I'd like to take advice from someone who's done it rather than experimenting with my own existing setup. I have enuf trouble with Win XP as it is in addition to abnormal program terminations - XP seems particularly good at achieving these.
rugila (214)
247111 2004-06-23 14:17:00 I would look into emulating the DOS environment under WinXP. Probably with a DOS emulator, or even better VMware (trial?). kiki (762)
247112 2004-06-23 21:25:00 Hi, yes I think you should try the emulation route first. If you want true Dos I believe it has to be in the first partition plus the old FAT. Easily done with a tool like Partition Magic but a pain without software like this. :-) parry (27)
247113 2004-07-10 00:50:00 If you have some time you can use Bochs a free open-source emulator but make sure to always use the help file
get it from Bochs Home (http://bochs.sourceforge.net)
thewhiz (4002)
247114 2004-07-10 11:30:00 I had a look at both DosBox and Bochs but didn't get much out of either (Phar Lap error messages etc).

So I installed DOS 5 on an old HDD that I put on the secondary IDE, booted off that through the BIOS. The program ran fine on that. I seem to recall I couldn't get a dual XP/DOS 5 boot to work.

So I then installed Windows for Workgroups on the DOS disk . The dual XP/W for W boot worked OK and so did the Lahey compiled program using the W for W boot.

Next installed Win98 over the W for W. The Lahey compiled program still worked OK with the Win 98 boot (using the command prompt of course) and the dual XP/Win98 boot also worked fine.

That's the current situation, and it does work, but I'm still looking at a couple of other options to try and improve the setup.

I'm getting there.

Thanks for the feedback.
rugila (214)
247115 2004-07-13 11:15:00 I find that most Dos programs run fine on XP, for a few that do not, such as "Partition Magic 6" I have installed Win98.

1) Create a second Primary partition, small one just big enough for Win98 and any Dos software you wish to use. Install the 98 on this partition, don't bother with any drivers etc.
2) Install "Boot Magic" to handle the booting.
3) Edit "msdos.sys" and replace "1" with "0" in the GUI line. This will make it load into Dos.
WARNING! Make sure that you install the 98 in the new primary partition, careful not to overwrite your XP. Hide the XP partition and the new partition will appear as "C".
Mzee (158)
1