Re: Building a 6502 peripheral - timing

From: Mia Magnusson <mia_at_plea.se>
Date: Wed, 14 Mar 2018 23:59:39 +0100
Message-ID: <20180314235939.000048eb@plea.se>
Den Wed, 14 Mar 2018 23:35:35 +0100 skrev silverdr@wfmh.org.pl:
> On the wave of the recent 6509 / 6502 discussion... when building or
> connecting a peripheral that would allow both reading and writing,
> what is basically needed are the following signals:
> 
> * _CS (from address decoder)
> * R_W (from 6502)
> * D[0..7]
> * possibly some low address bus lines A[0..3] for example
> * some chips take PHI2
> 
> http://archive.6502.org/datasheets/mos_6500_mpu_nov_1985.pdf
> 
> shows timing diagrams. I wonder what would be the required timing for
> a peripheral without PHI2 clock input. I suspect something similar to
> what SRAM chips specify. Any hints as where to put attention? Like
> relations between _CS, R_W, ... ?
 
Somewhere on the net I've seen schematics of using 16550 UART's on a
C64. Although the 6510 differs slightly from a 6502, it could probably
be used as some kind of guide.

16550 has Intel timing, it's just a fancier 8250 UART which is part of
the 82** family of peripheral ICs that are ment both for 8080/8085 and
8088.

For the Intel style peripherals I think you should be careful so they
don't get a short read before and/or after a write. One way to generate
the required read/write signals is to feed R/_W, PHI2 and maybe other
signals to a 74*128/74*138 3-to-8/dual 2-to-4 decoder.

It would be easier to answer if you specify some example of what you
want to hook up.

(SRAMs is afaik never affected by spurious short reads, so with those
you might get away with timing that don't work well with various I/O
stuff).


-- 
(\_/) Copy the bunny to your mails to help
(O.o) him achieve world domination.
(> <) Come join the dark side.
/_|_\ We have cookies.
Received on 2018-03-15 01:00:43

Archive generated by hypermail 2.2.0.