Re: How does the ZIP chip work?
- From: bieling@xxxxxxxx (Jorge Chamorro Bieling)
- Date: Wed, 11 Jan 2006 09:37:12 +0100
Eric <englere.geo@xxxxxxxxx> wrote:
> I've been wondoring how the ZIP chip can speed up an Apple IIe. I
> understand it has a 4 Mhz 65C02 and it plugs into the original 6502
> socket.
>
> But, the original 6502 only has half of each 1 Mhz interval (I'm
> rounding to 1 Mhz to make it easier to discuss) to access memory
> because the video refresh circuit uses the other half. So, the orig
> 6502 has a 500ns cycle to access memory.
>
> If the ZIP chip does not have it's own memory (does it?), then it can
> only speed up that part of the 1 Mhz cycle that is not used for video
> refresh. Assuming main memory could run 4X faster (which it can't),
> then it could bring that 500ns down to maybe 125ns. This means the
> overall processing (including the obligatory video cycles) would go
> from 1000ns to about 625ns, which is less that a 50% speedup.
>
> But main memory can't run any faster, so the zip chip must have some
> kind of cache? What am I missing here?
Yes, the zipchip has internal ram. It caches as much as it can. Once in
the cache, it does not need to access the mainboard ram for
reading/fetching/executing, only for writes and only if the write goes
to the screen buffers ot the i/o addresses (of course i/o addresses are
always read from the a2 mainboard). Also, there's a potential problem
with ram expansion cards (whose "pages" overlap the rom addresses) which
are activated using different addresses/schemes so you can tell the
zipchip to enable/disable caching for rom addresses($D000-FFFF). It
seems to me that the $c800-cfff range is also never cached as my videx
does not speed up much. The same goes individually for each slot's rom
addresses because some cards use the slot's rom address for i/o (the
videx screen buffer is a good example of this, starting at $cc00). To
deal with critical timing loops as is the case with diskII i/o, you can
configure it to switch to normal (1MHz) speed for "a while" when
accessing whichever slot (you usually set this only for slot 6). The
last zipchips ran at 8MHz internally..! and it looks like there were
even 10MHz rocketchips (I've never seen one).
--
Jorge Chamorro Bieling
.
- Follow-Ups:
- Re: How does the ZIP chip work?
- From: Michael J. Mahon
- Re: How does the ZIP chip work?
- References:
- How does the ZIP chip work?
- From: Eric
- How does the ZIP chip work?
- Prev by Date: Re: work in progress (hires IIe game)
- Next by Date: Re: FPGA musings
- Previous by thread: Re: How does the ZIP chip work?
- Next by thread: Re: How does the ZIP chip work?
- Index(es):
Relevant Pages
|