From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: getch() with DJGPP Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <38EC822B DOT 230D4ECE AT cafeetje DOT nl> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 X-Trace: /wzbxdORvg5I6ZC0T3MAuaY2U4qaN2gmtlmULd5dhcmA1+CX8XaJ70AoiRh6MntNoQvAjPz6dZxm!mrG8BZixhIIteS8Y6F1tC06FZb3OIBEI7C+InJ/WZPYR/Nk5jXuF+d/JE7qk5rPUk/bRzNffljfj!IA== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Fri, 07 Apr 2000 15:47:50 GMT Distribution: world Date: Fri, 07 Apr 2000 15:47:50 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 06 Apr 2000 17:54:50 +0200, Bojan Resnik wrote: > You misunderstood the getch() function. If a character is >waiting in the keyboard queue, it will return it. If it isn't, >then it will wait until you press a key. Does it spin-wait, or does it call _dpmi_yield()? -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/