delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/05/30/19:55:31.1

Message-ID: <3ED7BDE1.614E51F4@yahoo.com>
Date: Fri, 30 May 2003 16:24:01 -0400
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: uclock() still out by 1 in 65536
References: <4wyBa.45993$1s1 DOT 615094 AT newsfeeds DOT bigpond DOT com>
<200305300208 DOT h4U28vDV031441 AT envy DOT delorie DOT com> <3ED6C0EB DOT 3080403 AT bigpond DOT com>
<200305300229 DOT h4U2T5vd031704 AT envy DOT delorie DOT com> <3ED6CF29 DOT 5060803 AT bigpond DOT com>
<000e01c32663$436b9e50$0100a8c0 AT acp42g> <3ED6E375 DOT 60909 AT bigpond DOT com> <3ED79D6D DOT 1050108 AT cyberoptics DOT com>
Reply-To: djgpp-workers AT delorie DOT com

Eric Rudd wrote:
> 
... snip ...
> 
> If you are concerned about small frequency errors, you may be interested
> in the origin of the 1.19-MHz rate that is used in the PC timer chip.
> In the early days of personal computing, it was considered important to
> maintain compatibility with NTSC, since people used NTSC monitors on
> their computers.  According to the EIA RS 170 A spec, the chroma
> subcarrier is at 3.579545 MHz +/- 10 Hz, and the PC clock was chosen to
> be 1/3 of that, or 1.19 MHz approximately.  The specified 3.579545 MHz
> rate itself is an approximation; it is exactly 455/2 times the
> horizontal sweep rate, which was originally 15750 Hz in the early
> black-and-white days, but was changed to 15750/1.001 when NTSC was
> devised.  Thus, the chroma subcarrier works out to 39.375/11 MHz, and
> the PC timer chip runs at 13.125/11 MHz.  As I recall, the system clock
> on the original IBM PC was 4 times that, or 4.77 MHz.

The fundamental reason for the selection was that 3.579545 MHz
crystals were cheap and plentiful- they existed in every color TV
receiver.  About 6 years earlier I selected a frequency for my
systems based on exact generation of baud rates from 110 baud
through 19200, and the resultant 8080 clock was slightly below 2
Mhz.  Don't remember the exact result any more.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019