Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windox xp and a Legacy Dos Application

Status
Not open for further replies.

nicoep

Programmer
Nov 16, 2004
3
US
We have an application that was written way back in the dos days.This application is still running under windows xp service pack 2 and service pack 1. The problem is if you minimized the application and come back to it in about 15 minutes it takes 30 seconds or more for the program to respond again ??? any ideas are welcome.

Thanks.
Nicoep
 
It's been a while since I've worked with pure DOS apps under Windows XP. But if I recall correctly, most DOS apps are written with the assumption that they're on a single-user single-task operating system (DOS), on which it has all the CPU, memory, etc, at it's disposal.

Windows, in that way, needs to deal with that to be able to run those programs. So in essence, it has to be able to manage how those programs operate, especially if they are left running over time. Since most DOS programs will use up 100% (or close to) of the CPU when it just sits and polls the keyboard (or other devices) for responses, Windows needs to try to detect that and throttle back the CPU it receives (in addition to the memory it gets too, since most DOS apps will grab whatever they can get with the assumption that they HAVE everything).

Your options:
1) Find a Windows version of this app.
2) Install a copy of DOS in a virtual machine (VMWare or Microsoft Virtual PC) and run it on that.
3) Try an emulator like DOSBox.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top