A fair treatment for DOS under Windows 2000

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.
 
P

Phil Robyn

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
 
E

Ethan Winer

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
 
G

Guest

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"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top