I'm sorry if this is a noob question, but I personally can't find an answer other than maybe following wires on a C64 datasheet.
I'm trying to make a simple 65C02 breadboard computer with nothing more than the CPU, some RAM, and an EEPROM. I decided that instead of using AND gates and a decoder for a rough MMIO I'd use the 65C22. My question her is what do I do for the CLK pin on the 65C22? My current plan is to have a 1mhz clock running straight into the PH2I pin of the 65C02, but im wondering if I just run that same signal into the 65C22, or do I have to use a seperate clock? And if so at what frequency?
Can I just connect my CPU (W65C02S) clock up to the 65C22
Re: Can I just connect my CPU (W65C02S) clock up to the 65C2
Welcome, Kellan.
Here in the Newbie section you have no worries, as noob questions are 100% allowed!
If it's a modern WDC 65C02 (not an older chip such as those made by Rockwell) then the recommendation is to run the clock signal straight into the PH2I input (pin 37) of the 65C02, and also to the PH2I input on the 65C22. The clock signal also MUST be involved regarding either Chip Enable of Wrire Enable of the RAM.
These and many other issues are covered on this page of Garth Wilson's site: 6502 Primer: Building your own 6502 computer.
cheers
Jeff
Kellan wrote:
My current plan is to have a 1mhz clock running straight into the PH2I pin of the 65C02, but im wondering if I just run that same signal into the 65C22, or do I have to use a seperate clock? And if so at what frequency?
These and many other issues are covered on this page of Garth Wilson's site: 6502 Primer: Building your own 6502 computer.
cheers
Jeff
Last edited by Dr Jefyll on Mon Dec 03, 2018 1:06 am, edited 1 time in total.
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Can I just connect my CPU (W65C02S) clock up to the 65C2
Kellan wrote:
I'm sorry if this is a noob question, but I personally can't find an answer other than maybe following wires on a C64 datasheet.
I'm trying to make a simple 65C02 breadboard computer with nothing more than the CPU, some RAM, and an EEPROM. I decided that instead of using AND gates and a decoder for a rough MMIO I'd use the 65C22. My question her is what do I do for the CLK pin on the 65C22? My current plan is to have a 1mhz clock running straight into the PH2I pin of the 65C02, but im wondering if I just run that same signal into the 65C22, or do I have to use a seperate clock? And if so at what frequency?
I'm trying to make a simple 65C02 breadboard computer with nothing more than the CPU, some RAM, and an EEPROM. I decided that instead of using AND gates and a decoder for a rough MMIO I'd use the 65C22. My question her is what do I do for the CLK pin on the 65C22? My current plan is to have a 1mhz clock running straight into the PH2I pin of the 65C02, but im wondering if I just run that same signal into the 65C22, or do I have to use a seperate clock? And if so at what frequency?
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Can I just connect my CPU (W65C02S) clock up to the 65C2
Thank you. That is exactly what I needed.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Can I just connect my CPU (W65C02S) clock up to the 65C2
Welcome.
I see two others posted while I was writing, but I'll finish anyway. Use the first diagram near the top of the "Circuit potpourri" page of the 6502 primer as a pattern. Heed the notes under that diagram too, especially about the clock source and distribution. Several other pages of the primer will be especially relevant too. The primer is intended to take you through all the necessary parts of building your own 6502 computer and getting it going, plus ideas of what can be done with it hardwarewise; so the sections are arranged in a logical order, and it's good to go through it in that order.
I see two others posted while I was writing, but I'll finish anyway. Use the first diagram near the top of the "Circuit potpourri" page of the 6502 primer as a pattern. Heed the notes under that diagram too, especially about the clock source and distribution. Several other pages of the primer will be especially relevant too. The primer is intended to take you through all the necessary parts of building your own 6502 computer and getting it going, plus ideas of what can be done with it hardwarewise; so the sections are arranged in a logical order, and it's good to go through it in that order.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?