Date: Mon, 12 Apr 1999 13:15:21 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Luiz Fernando cc: djgpp AT delorie DOT com Subject: Re: Interrupt problem.... In-Reply-To: <01be8440$64e8bbe0$LocalHost@aguia> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 11 Apr 1999, Luiz Fernando wrote: > How can i convert this old program written for Borland C++ v3.1 compiler > to DJGPP ? In addition to the general explanations and background material in section 18.9 of the FAQ, you could also look at the PCTIME package (its URL is in section 22.3) which inludes working DJGPP code to intercept timer interrupts. Also, the code you posted is a toy program: it doesn't do anything useful. It is possible that if you explain what are you *really* try to accomplish using the timer tick, a solution could be recommended that doesn't require hooking the interrupt in your code at all. So please consider explaining what you are trying to do.