Good question! I also have a DOS application (the very text
editor with which I'm writing this email) which grabs all
available CPU cycles. It makes the fan on my laptop come on
full.
There was a program called Rain which would quiet your CPU
instead of having it overheat, but it only worked in Win9x.
Win2K and up are supposed to have cured whatever problem that
Rain cured.
I wonder if there might be another command processor (a
substitute or replacement for cmd.exe ) which would throttle
down the I'm always waiting for a keystroke greed of this old
DOS appy.
In article <ovjdr2dh7jmuebnfng8cmv6vco2amelibj@[EMAIL PROTECTED]
>,
John Larkin <jjlarkin@[EMAIL PROTECTED]
> wrote:
>PB/DOS programe work pretty well under XP, graphics and all. But they
>use 100% of CPU power when running. Anybody got ideas on how to
>suspend a program periodically while, say, waiting for keyboard input?
>SLEEP doesn't work... still 100%. I guess you'd have to shell to
>something that truly does a Windows sleep, then returns after a modest
>delay, or some equivalent of an INKEY$ call that suspends until a
>character comes in.
>
>Any ideas? Are here any bios-type calls, accessable in 16-bit mode,
>that sleep?
>
>Hmmm, maybe I could shell to a little compiled PB/CC thingie that does
>a proper Windows sleep?
>
>John
>
--
happy
Jonathan Berry and Erika http://members.shaw.ca/berry5868/fun.htm


|