Re: Strange 8255 behavior

From: Mia Magnusson <mia_at_plea.se>
Date: Sat, 16 Jun 2018 05:46:32 +0200
Message-ID: <20180616054632.000064cb@plea.se>
Den Fri, 15 Jun 2018 18:43:20 -0500 skrev Jim Brain <brain@jbrain.com>:
> On 6/15/2018 9:42 AM, Francesco Messineo wrote:
> > that would be actually only 16 macrocells. One of the examples on
> > WinCupl makes 3 x 8 bit ports with DDR on a 32 macrocells CPLD, so
> > the same macrocell it's been used for the port bit and its DD bit
> > (probably different functions of the same FF).
> > The result doesn't change much I think.
> I can't see how that would work.  You need 2 stateful cells per IO
> pin for this use, and MCs only have 1 flop.  Maybe they did a byte
> wide DDR (1 bit for the entire byte of data).  Can you share a link
> to the specific CUPL example so we can see how they implemented it?

Agreeed. The 8255 is iirc an example where byte or nybble wide DDR's
are used and thus 24 I/O pins might fit 32 cells.

> > By the way, does a 6502 really need a transceiver on the data bus?
> > Does it still drive the data bus during the low clock phase?
> I thought it goes read-only, but doesn't the 7501 allow the databus
> to be tristated during phi high?

There must be some reason for a VIC 20 to have a transceiver between
VIC+RAM and CPU+ROM+I/O+cartridge port.

-- 
(\_/) 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-06-16 06:00:55

Archive generated by hypermail 2.2.0.