6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 11:54 am

All times are UTC




Post new topic Reply to topic  [ 184 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 13  Next
Author Message
PostPosted: Thu Oct 04, 2012 11:25 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
GARTHWILSON wrote:
I am slowly working on getting a basic, whole schematic together to post. (I say "slowly" because I've been back to work for the last three months.) It will have 65c02 µP, 32KB ROM, 16KB RAM (using half a 32KB), a 65c22 VIA, a quad NAND for glue logic, and perhaps a serial EEPROM. There will be a note on how to easily add lots more I/O if desired. I started out just modifying the diagram of the computer in the 2nd-to-last picture at http://wilsonminesco.com/6502primer/addr_decoding.html, removing some confusing things that don't need to be that way for the hobbyist, then went on to change the serial EEPROM from Microwire to I²C to get more capacity since it's basically free to do so at this point although we didn't need much for that particular project in 1994, increase the RAM & ROM size, change the I/O connector(s) to be compatible with Daryl's, then realized it was all too much modifying and I really just needed to start over.

I also want to add a pot-pourri page of circuits to interface to different voltage levels, LEDs, LCDs, keypads, I²C, data converters, strings of shift registers, and other things, possibly with code to run those things as shown.


Looking forward to all these additions!


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 06, 2012 3:27 am 
Offline
User avatar

Joined: Wed Jan 04, 2012 4:28 am
Posts: 31
Location: Florida
Hi alkopop79,

Just dropped in to 6502.org after a long break and notice this thread.
You were looking for some basic diagram of 6502 CPU system?
I got inspired by this project: http://chidesters.org/scott/meadow/Mead ... r_Doc.html
It is a complete minimal 6502 computer with operating system software.
Even though I did not build the exact replica, I adapted Scott's OS to my needs and it proved to be a great help in bringing up my own system.

More on my blog:
[note: I corrected this link because I gave the edit link by mistake, sorry :oops: ]
http://6502cpu.blogspot.com/2012/01/650 ... n-and.html

Glad that 6502 has another enthusiast. Good luck with your project.

_________________
Marek Karcz
---
"Don't worry. We've got our best people working on it."


Last edited by mkarcz on Mon Oct 15, 2012 2:05 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 06, 2012 5:35 am 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
Perhaps this is the wrong place, but what are the capacitors for that seem to be between the power and ground of each chip? Seems to be a common technique.


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 06, 2012 6:30 am 
Offline

Joined: Tue Nov 18, 2003 8:41 pm
Posts: 250
whartung wrote:
Perhaps this is the wrong place, but what are the capacitors for that seem to be between the power and ground of each chip? Seems to be a common technique.


Google "decoupling capacitor" or "bypass capacitor"

They're sort of a little electrical surge tank.

In most digital circuits you have in effect a switch to ground
and a switch to the supply connected to the outputs.
One's off and one's is on. When they switch the one that was off
turns on and the one that was on turns off and for a moment
they're both on, sort of shorting the supply to ground.
also there's capacitance on the out put (there's always
capacitance) you're switching that back and forth and it needs
to be charged and discharged and that looks like a momentary short
of the supply to ground. this causes little blips of (relatively) huge
currents. The capacitor supplys that.

Alternatively you can think of the capacitor as a short to ground for
AC (the blips of high current) they short out any noise trying to get
in or out.


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 06, 2012 8:55 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
whartung wrote:
Perhaps this is the wrong place, but what are the capacitors for that seem to be between the power and ground of each chip? Seems to be a common technique.

a little write-up, with links to ap.notes: viewtopic.php?f=4&t=138 (answer starting in 2nd post)

_________________
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?


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 06, 2012 10:37 am 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
mkarcz wrote:

Off-topic in a way, but what's with that blogger.com link? It doesn't bring me to a blog, instead it brings me to a google login page.

-Tor


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 06, 2012 10:41 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
I think we should try http://6502cpu.blogspot.co.uk/2012/01/6 ... n-and.html and subsequent posts.
Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 10, 2012 5:42 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
Bit off topic but can anyone explain me why does the game Minecraft appear in forums about CPUs? Especially homebrew CPUs.


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 10, 2012 5:56 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
alkopop79 wrote:
Bit off topic but can anyone explain me why does the game Minecraft appear in forums about CPUs? Especially homebrew CPUs.

That topic came up awhile ago.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 10, 2012 5:58 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
But what's Minecraft? I understand it's a game but why do people use it and what for? What does it have to do with CPUs?


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 10, 2012 6:21 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Think of it as a construction set built on a physics simulator. You can make things which act, in complex ways. So, just like Meccano, TinkerToys or LEGO, there's a possibility of making a mechanical computer, but without the need for expensive materials or physical space. It's a return to Babbage, but without the brass and high accuracy machining.

The original vision of the game is more about an economy simulation, I think: you mine materials from the ground and combine them and trade them. Then you build impressive buildings. But it is very open-ended.

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 10, 2012 6:45 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
Kinda makes sense, thanks!


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 10, 2012 7:14 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
Still a bit off topic but I remember someone mentioning a book about CPUs and how to build them. Since I'm skint and have no money to buy the parts (although Dajgoro kindly offered me his ICs for free!), I started messing with Logisim and decided to build a simple CPU. Had some success but it's still hard to figure out where to start and what makes a processor. Someone recommended a book but I can't remember where....


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 10, 2012 7:19 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
This is a good site for many questions we tend to discuss here:
http://electronics.stackexchange.com/qu ... esign-book
and in this case it gets us straight to the book I was thinking you meant:
http://www.nand2tetris.org/

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 10, 2012 7:21 pm 
Offline

Joined: Wed Sep 19, 2012 6:19 pm
Posts: 122
Location: England
BigEd wrote:
This is a good site for many questions we tend to discuss here:
http://electronics.stackexchange.com/qu ... esign-book
and in this case it gets us straight to the book I was thinking you meant:
http://www.nand2tetris.org/

Cheers
Ed


My memory... thanks (again), Ed!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 184 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 13  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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: