Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Powerbasic > PB DOS under XP
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 218 of 276
Post > Topic >>

PB DOS under XP

by John Larkin <jjlarkin@[EMAIL PROTECTED] > Jan 23, 2007 at 07:24 PM

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
 




 6 Posts in Topic:
PB DOS under XP
John Larkin <jjlarkin  2007-01-23 19:24:16 
Re: PB DOS under XP
F. George McDuffee <gm  2007-01-23 22:20:42 
Re: PB DOS under XP
jberry@[EMAIL PROTECTED]   2007-01-24 07:11:31 
Re: PB DOS under XP
"Michael Mattias&quo  2007-01-24 16:32:31 
Re: PB DOS under XP
James Beck <jim@[EMAIL  2007-01-24 11:01:05 
Re: PB DOS under XP
Albert Richheimer <spa  2007-01-24 19:49:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 15:29:14 CDT 2008.