From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro timers Date: Wed, 15 Apr 1998 19:02:22 GMT Organization: [posted via] Easynet UK Lines: 27 Message-ID: <353435b9.33105542@news.easynet.co.uk> References: <3533c02e DOT 3215834 AT news DOT eznet DOT net> NNTP-Posting-Host: foot.easynet.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Tue, 14 Apr 1998 20:11:10 GMT, ptwitche AT eznet DOT net (Ryan Twitchell) wrote: >Well, I've given up on getting RHIDE for now, and am concentrating on >something I'll probably ask even more quetions about: Allegro! >I created a program to test various aspect of the Allegro library, but >when I try to make a timer go faster than once a second, it just >doesn't. Or appears not to. I've tried using install_int() and >install_int_ex() with various speeds, but the function only appears to >be called once a second. The function is fairly small and doesn't >require much work. I'm running Win95, if that has anything to do with >it. What does Allegro's example program 7 do? It should be in the `examples' subdirectory of your Allegro directory, filename `ex7.exe'. In the 2nd test performed there are three counters. The `y' column should be increasing ten times per second. Does this work? If this works then you might like to take a look at the source code (ex7.c) for this example program, and see what you're doing differently. In any case, it's hard to suggest what you're doing wrong unless you post some compilable code. -- george DOT foot AT merton DOT oxford DOT ac DOT uk