Re: Building a 6502 peripheral - timing

From: silverdr_at_wfmh.org.pl
Date: Thu, 15 Mar 2018 09:05:21 +0100
Message-Id: <80BA82B1-EA28-4C6A-90C9-6137A9A3D3B1@wfmh.org.pl>
> On 2018-03-15, at 08:44, Gerrit Heitsch <gerrit@laosinh.s.bawue.de> wrote:
> 
> On 03/15/2018 01:33 AM, silverdr@wfmh.org.pl wrote:
>> That would imply feeding the chip with PHI2. But memory is not fed with it and still works correctly.
> 
> Yes, but if the memory in question is DRAM, then you have /RAS and /CAS signals that are timed correctly and they implicitly 'contain' PHI2.

True. That explains good part of the confusion.

> And if you use SRAM, then you need to use PHI2 in the decoding logic to make sure that /WE on the RAM can only go low as long as PHI2 is HIGH. Otherwise you don't need to care much since a read from the wrong address does no harm to the RAM contents. 

That's known but [why] doesn't this lead to those "spurious short reads" Mia wrote about?

> With a peripheral it might though, on some of them status registers change state on read.

All in all, it seems like giving it PHI2 input, even if I don't plan any timers, is the safest bet, right?

-- 
SD! - http://e4aws.silverdr.com/
Received on 2018-03-15 10:03:47

Archive generated by hypermail 2.2.0.