X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Glaux" Newsgroups: comp.os.msdos.djgpp Subject: Re: delay() different bahavior under Win98 window/fullscreen in DJGPP 2.04 Date: 12 Dec 2006 11:51:33 -0800 Organization: http://groups.google.com Lines: 17 Message-ID: <1165953093.635481.221520@16g2000cwy.googlegroups.com> References: <1165931131 DOT 768505 DOT 13330 AT 73g2000cwn DOT googlegroups DOT com> NNTP-Posting-Host: 89.176.103.125 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1165953099 18173 127.0.0.1 (12 Dec 2006 19:51:39 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 12 Dec 2006 19:51:39 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.13) Gecko/20060414,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse AT google DOT com Injection-Info: 16g2000cwy.googlegroups.com; posting-host=89.176.103.125; posting-account=79KgoA0AAADKuOLK3k0Y3qVqk-KGfm77 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > What if you press and hold, say, Ctrl during delay()? Will tha make delay() > finish up faster? Yes, what this means? I tried: for(i=0;i<100;i++) // it's OK, exec time 5 seconds delay(50); for(i=0;i<1000;i++) // this takes about 50 seconds, when holding CTRL it drops to ~30s delay(5); It seems like delay timer uses 55ms granularity instead 1ms like before...