Dos apllication under VMware

Vmware Workstation 7 (1 to 9 users)
January 3, 2011 at 07:08:44
Specs: Windows XP, pentium 4, 2.6GHz/ 1256 MB
Dear all,
I have an executable MS-DOS program related with finite element modelling. It was originally compiled using the Lahey F77L-EM/32 Fortran compiler.
The application runs fine only under pure dos. Recently I installed VMware (winXP host) and I create a virtual dos 6.22 machine. The application starts fine but in some point gives errors during the solution time.
(invalid data access attempted, See section 4.4 in Laheys' Reference Manual)

Can anybody help me on that?


See More: Dos apllication under VMware

Report •

#1
January 4, 2011 at 06:25:05
Unfortunately the problem seems to be related to the structure of the application itself (as the warning reported points out), but the issue may be due to the MS-DOS 6.22 environment's configuration (available memory, conventional or expanded/extended and other parameters in config.sys/autoexec.bat). More it is not rare the virtual environment does not replicate exactly the native real one for complex applications.

Maybe that runs inside a different virtual machine as MS Virtual PC or VirtualBox (both free). Sorry but the problem is too much bound to your application.


Report •

#2
January 4, 2011 at 13:12:11
IVO, thanks for your reply. The application runs perfectly with DOS VM under VIRTUALBOX. By the way, do you know how can i map the hard drive in VirtualBox?

Thanks again


Report •

#3
January 4, 2011 at 13:34:52
As far as I know the easiest way to share folders/files between host and guest environments is to run as virtual machine MS Virtual PC (setting up a now forgotten procedure developed by Microsoft itself with just two additions to config.sys and autoexec.bat).. Using VirtualBox the way is to setup a virtual LAN between the real and virtual computer that is not easy under plain DOS (and highly memory expensive).

If you need sharing I strongly suggest you try to run inside MS Virtual PC and contact me by private messsage (with your e-mail address) to get guidance about sharing. If that works of course.


Report •

Related Solutions

#4
January 4, 2011 at 15:14:05
IVO,
Unfortunately, the application returns similar (but not the same) error messages. For now I will use the VirtualBox. The good news is that virtualbox recognizes the virtual hard drives created from VMware wich I can map easily.

Thank you for your time

edited by moderator: remove public e-mail address


Report •

#5
January 5, 2011 at 01:50:29
Well, I will examine carefully the issue later. For now I requested the moderator to remove your e-mail addresss (I saved) since never post it to avoid spamming; use only in private messages.

By the way I love Greece as when young I spent my holidays with my girlmate (now my wife) in Greece that I crossed from Cape Sunion to Kavala and from Skyros to Pathmos. I live in Italy. Ciao.


Report •

#6
January 5, 2011 at 14:35:07
I examined carefully VirtualBox current version documentation and what I read confirms my previous post: to share host drive with DOS guest requires virtual networking between XP and DOS.

Here the detailed guide to achieve the sharing in MS-DOS 6.22 (and FreeDOS)

http://www.virtualbox.org/wiki/Shar...

Time ago I faced a similar issue when a customer called me to advise about an expensive project stumped by unexpected VMWare behavior. Since sharing was a key point I solved the issues by running virtual machines based on MS Virtual PC to avoid that lane. VMWare is higly powerful but not fail safe. Sometime less is more. Anyway running legacy applications under modern environments is always an adventure and if you face N issues using virtualization boosts them to N^2.

An alternate way is to install as guest FreeDOS, the free Open Source DOS clone (that supports FAT32), that sometime performs better than MS-DOS, but in other cases is deadly. I know you are using a workaround for sharing, but if it suffices it is just cool.

I learned ancient greek at high school (fourty years ago) but then graduated in electrical engineering, however Greece is always in my heart for history, sea and people.


Report •

Ask Question