Re: 7501/8501 R/W gate in

From: Gerrit Heitsch <gerrit_at_laosinh.s.bawue.de>
Date: Sun, 30 Aug 2020 21:18:04 +0200
Message-ID: <d97a68c9-80a2-5c58-ac05-039c27cd2a46_at_laosinh.s.bawue.de>
On 8/30/20 8:53 PM, Francesco Messineo wrote:
> On Sun, Aug 30, 2020 at 8:41 PM Gerrit Heitsch
> <gerrit_at_laosinh.s.bawue.de> wrote:
>>
>>
> 
>>> ok I see then that on fast clock, the 6502 core would raise R/W early
>>> if that wasn't gated. Of course, a 6510 with no R/W latch
>>> works fine it seems, so the RAMs don't seem to care much about this.
>>
>> DRAMs don't seem to, but when I replaced the DRAM in one of my C16 with
>> an SRAM, I had to gate R/W again and make sure R/W can only be LOW as
>> long as PHI0 is HIGH. Without this circuit, the system wasn't stable.
>> The DRAM being a 55ns part might have something to do with it.
> 
> isn't what you did go "against" the latch action? I mean, if you make
> sure R/W  stays low
> only on phi0 high (which a 6502's core should already do anyway), you
> are just defeating
> the R/W low lengthening that happens because of the gated latch. Or am
> I wrong again?

The problems is, R/W was LOW a bit longer than PHI0 was HIGH. This 
caused the RAM to see the new addresses generated by TED on the bus. And 
it was fast enough to use those as a valid address in a write cycle. 
DRAMs don't care about what happens on the address bus as soon as /RAS 
and /CAS are low.


> When I have a working CPU again, I was also thinking of upgrading the
> RAM on my C16, but I might just use 2 x 64kx4 drams,
> that seems just easier than converting all for SRAM interfacing.

The interface is simple... Remove the DRAMs and the 74LS257. Then 
connect the address and data lines from CPU or TED 1:1 to the SRAM, use 
/CAS as /CS and a 74LS00 to gate R/W so it can only be LOW while PHI0 is 
HIGH.

  Gerrit
Received on 2020-08-30 22:00:23

Archive generated by hypermail 2.3.0.