Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site warwick.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!ukc!warwick!dpa From: dpa@warwick.UUCP (David Angier) Newsgroups: net.micro.cbm Subject: Re: Flaky TOD Alarm Interrupts Message-ID: <179@snow.warwick.UUCP> Date: Thu, 23-May-85 04:09:35 EDT Article-I.D.: snow.179 Posted: Thu May 23 04:09:35 1985 Date-Received: Fri, 24-May-85 21:34:09 EDT References: <1755GMW@psuvm> Reply-To: dpa@warwick.UUCP (David Angier) Organization: Computer Science, Warwick University, UK Lines: 13 Summary: Expires: Sender: Followup-To: Distribution: Keywords: Xpath: warwick snow snow ubu If I understand this correctly you would be wiser to use a timer in one of the CIA's. Timer 1 is the only one that works correcly, timer 2 has flaky interrupts also, take the time interval and multiply by the clock rate (~.9 Megs, see Reference Guide for more accurate detail) and store it in the counter registers. Also set the control register to continual running mode, force load running. I recommend using CIA 2 to generate NMI's since these won't be ignored. Also the Interrupt enable register needs to be set (write a $81 to it). Dave (Maths @ Warwick University (UK) ) ..!mcvax!ukc!warwick!snow!dpa