[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cycle by Cycle Problem?
- Subject: Re: Cycle by Cycle Problem?
- From: "josephoswaldgg@hotmail.com" <josephoswald@gmail.com>
- Date: 26 Dec 2005 17:03:39 -0800
- Complaints-to: groups-abuse@google.com
- In-reply-to: <Zc0sf.40708$q%.23108@newssvr12.news.prodigy.com>
- Injection-info: f14g2000cwb.googlegroups.com; posting-host=68.163.250.100; posting-account=EurUTAwAAADX_MeBnNBWXs4UUtudFXxU
- Newsgroups: comp.sys.apple2
- Organization: http://groups.google.com
- References: <Zc0sf.40708$q%.23108@newssvr12.news.prodigy.com>
- User-agent: G2/0.2
- Xref: g2news1.google.com comp.sys.apple2:8080
Bryan Parkoff wrote:
> Real Apple II machine always run 6502 CPU at 1MHz and NTSC at 14MHz at
> the same time. 6502 CPU depends on clock system in its own. Also NTSC
> depends on clock system alone. It means that both 6502 CPU and NTSC can't
> share the clock system at the same time. It looks like that there is more
> than two clock system which they can operate independently at the same time.
All timing on the Apple (except for a few things run off of 555 timer
circuits) is based on the (for NTSC) 14.31818 MHz master crystal. In
Apple II lingo, this clock is called 14M. The color burst frequency is
1/4th of that frequency, or 3.579545 MHz. In fact, this is why the
crystal frequency was chosen.
The 6502 clock on the Apple II is not a constant 1 MHz. It consists of
64 cycles of 14 crystal cycles, followed by a 65th cycle of 16 crystal
cycles. That 65 CPU cycle period is one horizontal NTSC scan. The
result is an average 6502 cycle rate of approximately 1.020 MHz.