6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 8:23 am

All times are UTC




Post new topic Reply to topic  [ 213 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14, 15  Next
Author Message
 Post subject: Re: Breaking 6502 apart
PostPosted: Sat Jun 01, 2013 6:15 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
These are individual columns of the decoder PLA, each being a big NOR gate. The IR is the Instruction Register.


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Sun Jun 02, 2013 1:00 am 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Yeap, and BRK2 / JSR3 are decoder line names. Number after opcode represent cycle, when this decoder line is trigger.

_________________
6502 addict


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Mon Jun 03, 2013 7:51 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
I almost completed top part on logic gates, and made some draft of it.

Don't look closely, it may contain typos and still not fully "de-morganized", just wanted to show you complexity and structural parts of it.

Bottom part will be done after top one.


Attachments:
mos-6502-draft.jpg
mos-6502-draft.jpg [ 1.41 MiB | Viewed 1926 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Mon Jun 03, 2013 8:38 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
Bravo!


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Thu Jun 06, 2013 8:44 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy: ALU control

(I'm lazy to complete PLA lines, will be added later :P )

+fixed shortcut on ROR carry logic in transistor circuit.


Attachments:
6502-alu-control.jpg
6502-alu-control.jpg [ 405.89 KiB | Viewed 1902 times ]
ALU_control.jpg
ALU_control.jpg [ 505.22 KiB | Viewed 1902 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Mon Jun 10, 2013 9:17 am 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Updated and cleaned up most of circuits on http://www.circuitlab.com

Need to add some missing parts of bus control and top part will be ready.
Image

_________________
6502 addict


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Mon Jun 10, 2013 7:40 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Ok, I'm done with top part.

I isolated 6502 "core" and trying to understand how its executing, step by step.

Some slides below :)


Attachments:
6502_runflow_slide1.jpg
6502_runflow_slide1.jpg [ 1.69 MiB | Viewed 1866 times ]
6502_runflow_slide2.jpg
6502_runflow_slide2.jpg [ 1.78 MiB | Viewed 1866 times ]
6502_runflow_slide3.jpg
6502_runflow_slide3.jpg [ 1.84 MiB | Viewed 1866 times ]
6502_runflow_slide4.jpg
6502_runflow_slide4.jpg [ 1.97 MiB | Viewed 1866 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Wed Jun 12, 2013 10:20 am 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Updated transistor circuits. Fixed some errors and split it on two parts : top and bottom.


Attachments:
6502_top.jpg
6502_top.jpg [ 2.08 MiB | Viewed 1843 times ]
6502_bottom.jpg
6502_bottom.jpg [ 1.37 MiB | Viewed 1843 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Thu Jun 13, 2013 8:56 am 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
In last minutes I found missing part of DL/DB, will be fixed soon )


Attachments:
6502_logic_top.jpg
6502_logic_top.jpg [ 2.62 MiB | Viewed 1828 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Thu Jun 20, 2013 7:50 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy: ALU logic circuit

Later I maybe optimize SUM calculation, by replacing couple of NAND/NORs by XORs.
Don't want to mess with inverted carry chain ATM :)


Attachments:
6502-alu.jpg
6502-alu.jpg [ 562.89 KiB | Viewed 1805 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Mon Jun 24, 2013 1:08 am 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
Hi org,

I just wanted to congratulate you on the 1 year anniversary of this project (I know, I missed it by a day). Hard to believe it's been a year, but here it is, and you're still going strong on it and making great progress from the looks of things (not that I have really any idea what I'm looking at).

But kudos to perseverance.


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Mon Jun 24, 2013 9:30 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
Great progress indeed - happy yesterbirthday to the project


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Tue Jun 25, 2013 8:39 am 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Thank you, I really appreciated for your support ! :)

Within few days I'm going to complete whole 6502 logic circuit.

Today I experimented a bit with GIS applications, and adapted it for my task: http://breaknes.com/files/6502/tilemap/
This is tile map viewer of extra-large images, based on OpenLayers API.

_________________
6502 addict


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Tue Jun 25, 2013 5:01 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
I like it! (Did you see the 65CE02 post? There's a slippy map there of the die shot.)


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Wed Jun 26, 2013 5:27 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy: Program Counter logic circuit


Attachments:
6502-program-counter.jpg
6502-program-counter.jpg [ 384.15 KiB | Viewed 1743 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 213 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14, 15  Next

All times are UTC


Who is online

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