Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!darren From: darren@cbmvax.commodore.com (Darren Greenwald) Newsgroups: comp.sys.amiga.programmer Subject: Re: Is OS supposed to zero the TOD clock registers intermittently? Keywords: Intuition TOD clock bugs race condition Message-ID: <20085@cbmvax.commodore.com> Date: 25 Mar 91 15:23:53 GMT References: <1991Mar21.175806.23729@daffy.cs.wisc.edu> Reply-To: darren@cbmvax.commodore.com (Darren Greenwald) Organization: Commodore, West Chester, PA Lines: 29 I am somewhat unclear regarding this - 1.) You referred to "your" clock program - is this a problem with all clock programs on your machine, one that you've written, or one specific one that you like to use? 2.) Does the clock program look at the CIA hardware registers directly and assume that a specific set of registers is == to TOD? 3.) BFDxxx is on CIAB, yet you referred to CIAA? If #2, then the clock program is fundamentally flawed ... you can't look at any hardware resource, and make assumptions about how it is being used if your program isn't the owner of that resource. If other clock programs work fine (e.g., the one that comes with the system software), then its pretty clear that the system isn't completely haywire, just the one piece of software. If all clock programs exhibit the same bug, then I'd guess it to be hardware problem. -------------------------------------------------------------- Darren M. Greenwald | Commodore-Amiga Software Engineering | USENET: uunet!cbmvax!darren -------------------------------------------------------------- Quote: "It would be impossible to discuss the subject without a common frame of reference." - Spock