Need a bit of help getting running

Building your first 6502-based project? We'll help you get started here.
Post Reply
User avatar
Simon27
Posts: 12
Joined: 09 Dec 2014
Location: SE Scotland
Contact:

Need a bit of help getting running

Post by Simon27 »

Hi all

Today I started assembly of my first 6502 machine today but having a bit of trouble getting it running.

So far it's simple: reset circuit working and generates a nice low pulse when the button is pressed. Phase 0, 1, 2 and SYNC signals all look right.

BUT! I've got the data bus fixed to $EA to force it into a NOP loop and nothing is happing. R/W is low, and so are all address lines.

I'm trying to see what could be causing this but all my connections appear right. Does the above point to anything obvious?
User avatar
Dr Jefyll
Posts: 3525
Joined: 11 Dec 2009
Location: Ontario, Canada
Contact:

Re: Need a bit of help getting running

Post by Dr Jefyll »

Is it a WDC cpu? They feature a BE (bus enable) pin which needs to be high. Sounds like maybe it's not.

Check the other "mystery pins" too, here on Garth's site.
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
User avatar
Simon27
Posts: 12
Joined: 09 Dec 2014
Location: SE Scotland
Contact:

Re: Need a bit of help getting running

Post by Simon27 »

That's exactly what it was, thank you!

I'm using a WDC chip, and my circuit was based on someone using an older MOS one.
User avatar
Dr Jefyll
Posts: 3525
Joined: 11 Dec 2009
Location: Ontario, Canada
Contact:

Re: Need a bit of help getting running

Post by Dr Jefyll »

Simon27 wrote:
Today I started assembly of my first 6502 machine
A big thrill, I expect. Congratulations!! :D
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
User avatar
Simon27
Posts: 12
Joined: 09 Dec 2014
Location: SE Scotland
Contact:

Re: Need a bit of help getting running

Post by Simon27 »

Yep, it's only taken me about 4 years to get to this point!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Need a bit of help getting running

Post by BigDumbDinosaur »

Simon27 wrote:
I'm using a WDC chip, and my circuit was based on someone using an older MOS one.
You didn't ground pin 1 of the MPU, I hope. Pin 1 on non-WDC 65C02s is a ground, but is the VPB (vector pull) output on the WDC version.
Quote:
Yep, it's only taken me about 4 years to get to this point!
The first step is always the hardest. Now that you have a working unit you'll find future builds easier to bring to life.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
Simon27
Posts: 12
Joined: 09 Dec 2014
Location: SE Scotland
Contact:

Re: Need a bit of help getting running

Post by Simon27 »

Quote:
You didn't ground pin 1 of the MPU, I hope. Pin 1 on non-WDC 65C02s is a ground, but is the VPB (vector pull) output on the WDC version.
Good catch - I had this grounded! Bent the pin out from the socket as I was already using that handy pin to connect the decoupling cap.

Working on adding the RAM and decode logic, then will be ready for an actual program.
Post Reply