Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cbmvax!rsbx From: rsbx@cbmvax.commodore.com (Raymond S. Brand) Newsgroups: comp.sys.amiga.programmer Subject: Re: What is the most correct way to determine CIA frequencies? Message-ID: <19099@cbmvax.commodore.com> Date: 19 Feb 91 05:11:37 GMT References: <1991Feb7.024621.10770@phoenix.pub.uu.oz.au> Organization: Commodore-Amiga Inc, West Chester, PA Lines: 23 In article <1991Feb7.024621.10770@phoenix.pub.uu.oz.au>, bytey@phoenix.pub.uu.oz.au (Chris Hames [bytey]) writes: > > I am allocating TimerB or TimerA(if B is unavailable) of CIAB and > would like to know the correct way to find out if the clock is > .709379Mhz PAL > or .715909Mhz NTSC When running under 2.0 or later, use the timer.device ReadEClock() result. When running under 1.3 and previous, determine the configuration (PAL/NTSC) of the machine by looking in GfxBase->foo (I don't remember, look it up). NOTE: Some Amigas (A3000s and the like) have a jumper to indicate to graphics the PAL/NTSC state of the machine; this jumper does NOT affect the EClock frequency, only what we ASSUME it is. rsbx ------------------------------------------------------------------------ Raymond S. Brand rsbx@cbmvax.commodore.com Commodore-Amiga Engineering ...!uunet!cbmvax!rsbx 1200 Wilson Drive (215)-431-9100 West Chester PA 19380 "Looking" ------------------------------------------------------------------------