Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!ruuinf!praxis!njluurin From: njluurin@cs.ruu.nl (Niek Luuring) Newsgroups: comp.sys.amiga.programmer Subject: How to use the CIA timer ? Summary: source wanted to use the cia timer Keywords: CIA, interrupt, timer Message-ID: <4724@ruuinf.cs.ruu.nl> Date: 24 Jan 91 13:56:54 GMT Sender: news@ruuinf.cs.ruu.nl Lines: 20 ------------------------------------------------------------------------------- In writing my music players I have until now relied upon the vertical blanking interrupt. But now I would like to connect my player function to a CIA-timer for more flexability. All attempts to do this have failed so far. I would like to have functions like this: BOOL SetCIAtimer(fpointer); /* fpointer is 'pointer to function'-type */ void SetCIAspeed(int); /* set speed for timerfunction */ void FreeCIATimer(void); /* remove TIMER function */ How can I do this in a "system legal", "upward compatible" way? Any help (especially C source) would be appreciated. Thanks, Niek ------------------------------------------------------------------------------- Niek Luuring jr., student computer science, Utrecht University, The Netherlands EMail: njluurin@praxis.cs.ruu.nl -------------------------------------------------------------------------------