Re: 6522: can CAx and CBx used as inputs?

From: David Roberts <daver21145_at_gmail.com>
Date: Sun, 2 Jun 2024 20:43:21 +0100
Message-ID: <CAC5emFFR5hgU70CpSYLcsXmxkC2v5=kpneoq-3RKS4qv6hjYbg_at_mail.gmail.com>
I don't think you can read them directly. But you should be able to read
their status indirectly by polling the internal interrupt bits - even if
you haven't connected the 6522 to generate an IRQ. I will check in more
detail tomorrow when I have access to my laptop and data sheets.

Dave

On Sun, 2 Jun 2024, 20:38 , <ruud_at_baltissen.org> wrote:

> Hallo allemaal,
>
>
> I'm reviving some old projects with their own PCBs and I need some extra
> inputs to read some DIP switches. I have a 6522 and its CAx and CBx pins
> are not used so the idea rose to use them. But I never ever used them as
> inputs myself before and studying the data sheets, I came to the
> conclusion that these these pins can only be used as inputs to generate
> an interrupt and cannot be read like one of the PAx or PBx pins. That
> would a bit of a bummer so I hope I'm wrong.
>
> Can anybody confirm my conclusion, or better, tell me that I'm wrong?
>
> Thank you very much in advance!
>
>
> --
>
> Kind regards / Met vriendelijke groet, Ruud Baltissen
>
> www.Baltissen.org
>
>
>
Received on 2024-06-02 21:00:29

Archive generated by hypermail 2.4.0.