Running old DOS programs: ntvdm.exe takes 100% CPU time

Discussions about using Windows guests in VirtualBox.
Post Reply
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

Running old DOS programs: ntvdm.exe takes 100% CPU time

Post by Sopalajo de Arrierez »

Hello, friends.
I have a problem when running old DOS programs in Windows XP SP3 and SP2: the process ntvdm.exe takes high CPU times and windows VM guest becomes unusable :-(
I have tryed dos-idle with no results (no difference at all), even starting it in "c:\WINDOWS\system32\AUTOEXEC.NT".

Any help, please?

Thanks in advance.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Running old DOS programs: ntvdm.exe takes 100% CPU time

Post by stefan.becker »

Have you tried the special Dos Emulator "DosBox" directly on the host? Maybe you get better results. http://www.dosbox.com/
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

Re: Running old DOS programs: ntvdm.exe takes 100% CPU time

Post by Sopalajo de Arrierez »

stefan.becker wrote:Have you tried the special Dos Emulator "DosBox" directly on the host? Maybe you get better results. http://www.dosbox.com/
Thanks for your suggestion, stefan.becker, but no luck :-( . My old DOS program even does not start. When I use DOSBox it just says and gets stuck at:

Code: Select all

DOS/16M Protected Mode Run-Time     Version 6.01
Copyright (C) Tenberry Software Inc. 1987 - 1994
Of course, C: drive has benn mounted and has writing permissions, I have checked it.
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

Re: Running old DOS programs: ntvdm.exe takes 100% CPU time

Post by Sopalajo de Arrierez »

Thanks a lot for your help, vbox4me2. Your idea works great :-D. Or so it seems.
The look of my DOS windows is a bit different (fonts and so on), but I believe all my problems have now disappeared using TAME DOS.

Thanks you very much.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Running old DOS programs: ntvdm.exe takes 100% CPU time

Post by stefan.becker »

Sopalajo de Arrierez wrote:
stefan.becker wrote:Have you tried the special Dos Emulator "DosBox" directly on the host? Maybe you get better results. http://www.dosbox.com/
Thanks for your suggestion, stefan.becker, but no luck :-( . My old DOS program even does not start. When I use DOSBox it just says and gets stuck at:

Code: Select all

DOS/16M Protected Mode Run-Time     Version 6.01
Copyright (C) Tenberry Software Inc. 1987 - 1994
Of course, C: drive has benn mounted and has writing permissions, I have checked it.
Have you installed it in the guest or on the host?
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

Re: Running old DOS programs: ntvdm.exe takes 100% CPU time

Post by Sopalajo de Arrierez »

stefan.becker wrote:
Sopalajo de Arrierez wrote:
stefan.becker wrote:Have you tried the special Dos Emulator "DosBox" directly on the host? Maybe you get better results. http://www.dosbox.com/
Thanks for your suggestion, stefan.becker, but no luck :-( . My old DOS program even does not start. When I use DOSBox it just says and gets stuck at:

Code: Select all

DOS/16M Protected Mode Run-Time     Version 6.01
Copyright (C) Tenberry Software Inc. 1987 - 1994
Of course, C: drive has benn mounted and has writing permissions, I have checked it.
Have you installed it in the guest or on the host?
In the guest, of course :) . The host is a Linux (Ubuntu) machine.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Running old DOS programs: ntvdm.exe takes 100% CPU time

Post by stefan.becker »

Tht is the problem. DosBox has to be installed on the host. VM in VM does not work. But no problem, you have already a solution.
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

Re: Running old DOS programs: ntvdm.exe takes 100% CPU time

Post by Sopalajo de Arrierez »

stefan.becker wrote:Tht is the problem. DosBox has to be installed on the host. VM in VM does not work. But no problem, you have already a solution.
Re-reading your first post, I can see you wrote "directly on the host", indeed :D . I had ignored it, because my host is a Linux one, and I need to enable remote connections to the VM (I don't think this could be possible in DOSBox).

Thanks again, stefan.becker.
Post Reply