Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!adam From: adam@cbmvax.UUCP (Adam Levin CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: How to check for PAL systems? Message-ID: <6693@cbmvax.UUCP> Date: 26 Apr 89 18:52:07 GMT References: <17584@cup.portal.com> Reply-To: adam@cbmvax.UUCP (Adam Levin CATS) Organization: Commodore Technology, West Chester, PA Lines: 22 The NTSC clock constant is 3.579545. The PAL clock constant is 3.546895. To determine video format (PAL/NTSC) at runtime: #include struct GfxBase *GfxBase; GfxBase = (struct GfxBase *) OpenLibrary("graphics.library", 0L); if ( GfxBase == NULL) /* Couldn't open library; clean up and exit. */ if (GfxBase->DisplayFlags & PAL) /* PAL machine. */ else /* NTSC machine. */ -- Adam Keith Levin -- CATS Commodore-Amiga Technical Support 1200 Wilson Drive / West Chester, PA 19380 (215) 431-9180 BIX: aklevin UUCP: ...{amiga|rutgers|uunet}!cbmvax!adam