6502 compatible peripherals

For discussing the 65xx hardware itself or electronics projects.
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: 6502 compatible peripherals

Post by BigEd »

The 2MHz is the frequency of bus accesses from the micro. So if you had a 4MHz system, you'd need a way to slow down accesses for those cycles where the ACIA is selected. There are two main approaches: to change the clock waveform dynamically, or to use the RDY input to stall the micro for one or more cycles.

Or, of course, you can run the whole system at 2MHz, sacrificing some performance for simplicity.

It might be that an alternate choice of peripheral can match the 4MHz speed of the CPU.
User avatar
BillO
Posts: 1038
Joined: 12 Dec 2008
Location: Canada

Re: 6502 compatible peripherals

Post by BillO »

I have Intersil CD65C51s that are rated at 2MHz but I have used them at up to 20MHz without any issues. I have used other 65C51s at way past their rated speed as well. I'm not sure what that speed rating even means if it can be exceeded by an order of magnitude. I think if you've got minimal delay in your chip select you can push these chips pretty hard. On the one I tested at 20MHz the chip select from a valid address is only 7ns.
Bill
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: 6502 compatible peripherals

Post by BigEd »

That's quite an extreme finding! Of course, 2MHz does mean it will go at least that fast, and evidently it does.
Atlantis
Posts: 122
Joined: 19 Jun 2018

Re: 6502 compatible peripherals

Post by Atlantis »

Ok, after considering several alternatives, I think I will stick with MC146818.
Can anyone provide tested schematic showing how to interface that chip witch 6502 based system?
User avatar
1024MAK
Posts: 155
Joined: 14 May 2015
Location: UK

Re: 6502 compatible peripherals

Post by 1024MAK »

In systems that don’t have a multiplexed address and data bus where I have seen the MC146818 used, they treat the MC146818 as having an address register and a data register. That is, it only takes up two addresses in the memory map. As far as the CPU is concerned, there is no multiplexing.

Mark
Guus Assmann
Posts: 26
Joined: 19 Apr 2018

Re: 6502 compatible peripherals

Post by Guus Assmann »

Hello,

Please see attached files.
3 examples of RTC-chips on 6502 systems.

BR/
Guus
Attachments
RTC_MC146818.pdf
(450.24 KiB) Downloaded 137 times
65C02.pdf
(89.1 KiB) Downloaded 147 times
RTC_IO_Card.PDF
(142.39 KiB) Downloaded 138 times
Post Reply