6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 5:18 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Feb 07, 2016 7:36 pm 
Offline
User avatar

Joined: Tue Dec 09, 2014 9:42 pm
Posts: 12
Location: SE Scotland
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?

_________________
http://unimplementedtrap.com


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 07, 2016 8:26 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
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


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 07, 2016 8:48 pm 
Offline
User avatar

Joined: Tue Dec 09, 2014 9:42 pm
Posts: 12
Location: SE Scotland
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.

_________________
http://unimplementedtrap.com


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 07, 2016 8:52 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
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


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 07, 2016 10:16 pm 
Offline
User avatar

Joined: Tue Dec 09, 2014 9:42 pm
Posts: 12
Location: SE Scotland
Yep, it's only taken me about 4 years to get to this point!

_________________
http://unimplementedtrap.com


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 07, 2016 10:33 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8507
Location: Midwestern USA
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!


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 08, 2016 9:55 pm 
Offline
User avatar

Joined: Tue Dec 09, 2014 9:42 pm
Posts: 12
Location: SE Scotland
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.

_________________
http://unimplementedtrap.com


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: