Hmmmm,
Well, I have a P4 2.2GHZ, 512MB of ram, so that's not a problem. Also, I just want to make sure that we are talking about the same loop. We're talking about the "loop" of the OS waiting for keyboard input, NOT A LOOP IN BASIC, as in the Do Loop above right? Do you think that Windows XP uses a Hardware Interrupt to process keystrokes, or is it polling?
Funny thing is, the actual QB program that I wrote runs at normal speed, right from the editor, (not compiled). For example, my program does a loop 10,000 times performing some mildly intensive calculations, and it only took a FEW SECONDS.
However, I can not have QB open, and run the Windows Media Player running for example. Also, system resources are at 100% as long as I have QB open, whether I am running a QB program, or just sitting in the editor.
If I just create a DOS Window and just start typing at the C:\ prompt, the letters on the screen still lag behind my actual typing by about 1/4 of a second.
Hmmm, I tried another DOS program from 1984, seems to work fine. Still a lag between keystrokes, but nowhere near 100% usage. I am able to run a media file in Windows media player at the same time that the DOS program is running.
I set the Idle sensativity of QB to high, and It seems to run better, about 50% CPU usage. Also, If I look at the processes running under the Cntl+Alt+Del menu, I see that the only allocation of resources is to the dos window(NTVDM), and the "System Idle Process" it's 50/50. But since the cpu usage is now about 50%, each process is using 25% of the SYSTEM resources.
Also, does anybody know how to access the advanced compatability settings for running older programs? I'm not talking about compatability wizard, this function lets you tweak about 50 different parameters. I did it before, but I just forgot how.
?????????????
Steve