delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/17/17:38:32

From: Tim Bird <tbird AT caldera DOT com>
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
To: limabone <lima AT netcom DOT ca>
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

- Raw text -


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