Re: Building a 6502 peripheral - timing

From: Gerrit Heitsch <gerrit_at_laosinh.s.bawue.de>
Date: Fri, 16 Mar 2018 08:11:40 +0100
Message-ID: <28b3e9c9-4fb8-3979-1db6-12acf6b532f6@laosinh.s.bawue.de>
On 03/16/2018 07:50 AM, And Fachat wrote:
> The 6502 timing is rather forgiving.
> 
> On reads, enable your databus outputs while phi2 is high, the CPU will 
> take it at the falling edge.
> 
> On writes take the addresd line while phi2 is high and take the data 
> from the bus at the falling edge.
> 
> You can latch the address at the rising edge of phi2 but that prevents 
> working in a bus sharing system like the c64 where the VIC has the bus 
> during phi2 low. That is actually the reason the 6522 does notwork 
> directly in a c64.

VIC does not know about PHI2, it determines who has the bus through PHI0.

  Gerrit
Received on 2018-03-16 09:00:02

Archive generated by hypermail 2.2.0.