cpu goes to 100% when i start qb45 in xp why?

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
burris2929

cpu goes to 100% when i start qb45 in xp why?

Post by burris2929 »

can any help me fix it?
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

Try turning the Idle sensitivity setting for DOS programs all the way up or down.

Other than that, not much to do. Don'?t use an NT based OS if you code in DOS (NT based = XP)
I have left this dump.
Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post by Antoni »

The same happens in W2000. Changing the idle sensivity can reduce the cpu use to 50%, not more.
Use Qbasic 1.1, PDS 7.1 or VBDOS, these do not have that problem.
Or forget about the IDE an compile from command line, it's what I do
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post by Patz QuickBASIC Creations »

Antoni wrote:The same happens in W2000. Changing the idle sensivity can reduce the cpu use to 50%, not more.
Use Qbasic 1.1, PDS 7.1 or VBDOS, these do not have that problem.
Or forget about the IDE an compile from command line, it's what I do
I have other problems with W2000 and QBasic 1.1. I guess mouse support doesn't work right in 2000. It opens up SELECT and activates on my QBasic IDE. So, compile from the DOS window like Antoni said. BC.EXE is available for download in many different places.
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Or, do it the easy way.

Get DOS.
Image
Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post by Antoni »

Or switch to a true Windows 32 compiler as Freebasic...
Stormy
Newbie
Posts: 3
Joined: Thu Feb 23, 2006 4:36 am

Post by Stormy »

Here is a solution for you: (sorry for digging this thread out)

http://forum.qbasic.at/viewtopic.php?t=2172 (author's thread)

...and his tool:
http://ssteiner.freebasic.de/index.php? ... uslast.zip

This is a TSR patch for Windows 2000 and XP to decrease cpu utilization in a range of 50% to 90%. Please note, that you take the full risk by using it and not author ! This tiny tool may work with other dos programs as well, but it hasn't been tested yet for that purpose.

regards, Stormy
Post Reply