From: Tim Bird Newsgroups: comp.os.msdos.djgpp Subject: Re: Timer reprogramming Date: Thu, 17 Oct 1996 12:27:17 -0600 Organization: Caldera, Inc. Lines: 16 Message-ID: <32667A85.1FEA6B47@caldera.com> References: <32667306 DOT 24DB AT netcom DOT ca> NNTP-Posting-Host: igneous.caldera.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: limabone To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp limabone wrote: > > I am new to djgpp and programming in protected mode and I was wondering > if anyone had any source to a simple timer function. Is it alot > different from doing it in real mode, which is pretty simple. You should check out the Allegro library, which has source code to handle the timer at the hardware level. Also, it has some nice interfaces to make dealing with the timer-based callbacks in C very easy. I can't remember where I got it from, but I've got a copy of the Allegro library on my ftp site at: ftp://ftp.bird.org/pub/alleg21.zip Tim Bird