A fair treatment for DOS under Windows 2000

  • Thread starter Thread starter John Athens
  • Start date Start date
J

John Athens

Hi all,

I have this lotto number crunching program written in QBASIC but when I run
it in a DOS window under Windows 2000, I notice Windows 2000 only reports
2-3% CPU usage. Not good. I also notice CPU usage is almost 100% percent if
I keep the Shift key pressed and the program speeds up 35 times. The program
also speeds up if I constantly PRINT to the screen (something you should
normally avoid!) as it keeps the CPU busy. Any of you MSDOS gurus know of
how to get a "fair" treatment for DOS under Windows 2000 ?

Many thanks.
 
John said:
Hi all,

I have this lotto number crunching program written in QBASIC but when I run
it in a DOS window under Windows 2000, I notice Windows 2000 only reports
2-3% CPU usage. Not good. I also notice CPU usage is almost 100% percent if
I keep the Shift key pressed and the program speeds up 35 times. The program
also speeds up if I constantly PRINT to the screen (something you should
normally avoid!) as it keeps the CPU busy. Any of you MSDOS gurus know of
how to get a "fair" treatment for DOS under Windows 2000 ?

Many thanks.

http://www.tamedos.com
 
John,

Here's something to try: Right-click the qbasic.exe file name in Windows
Explorer and select Properties. Then click the Misc tab, play with the
slider labeled Idle Sensitivity, and click Apply.

The above is for Windows XP and the Properties dialog wording may be
slightly different in Windows 2000.

No promises this will work, but it's a shot.

--Ethan
 
The problem is that the application is polling the keyboard, and Windows
switches away from it when it does that. Have you tried running it in
"compatibility mode"?
 
Back
Top