X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: ahenric AT ccii DOT co DOT za (Arne) Newsgroups: comp.os.msdos.djgpp Subject: Re: Speeding up timer Date: 14 Oct 2003 07:31:02 -0700 Organization: http://groups.google.com Lines: 22 Message-ID: References: NNTP-Posting-Host: 196.30.62.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1066141862 9481 127.0.0.1 (14 Oct 2003 14:31:02 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 14 Oct 2003 14:31:02 +0000 (UTC) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, yes, I have tried PCTIME, but there again it just doesn't change anything. PCTIME will change the frequency, but the new handler will still call the original tick handler at the default frequency of 18.2Hz. Thats why I think the signal SIGALRM is called somehow always from this original handler. Any idea how to generate SIGALRM from my own handler? Will a signal only be generated when the handler returns? Eli Zaretskii wrote in message news:... > > From: ahenric AT ccii DOT co DOT za (Arne) > > Newsgroups: comp.os.msdos.djgpp > > Date: 13 Oct 2003 23:54:00 -0700 > > > > I am writing this application for MS-DOS only, and I am using the > > DJGPP compiler. Why does the timer not speed up when I change it? Does > > the DPMI server somehow prevent the change to the PIT? And from where > > is the SIGALRM signal called: from INT 08h or INT 70h? > > The DPMI server does not prevent you from reprogramming the timer. > In fact, there used to be a PCTIME14.ZIP file on SimTel (RIP) that > showed a working code that did what you intend.