John Larkin
2007-01-24 03:24:16 UTC
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
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