www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/07/14:37:57

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: getch() with DJGPP
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <nq0sesk8tdbmhgkle61a3uputa20fpj9do@4ax.com>
References: <38EC822B DOT 230D4ECE AT cafeetje DOT nl> <IrDsOIvS7ySyCgE0v0RVsbiyKTXe AT 4ax DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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 <resnikb AT eunet DOT yu>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019