6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri May 31, 2024 1:36 am

All times are UTC




Post new topic Reply to topic  [ 213 posts ]  Go to page Previous  1 ... 9, 10, 11, 12, 13, 14, 15  Next
Author Message
 Post subject: Re: Breaking 6502 apart
PostPosted: Fri Apr 26, 2013 5:35 am 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Ugh... "E" mean "edge" ))) I need to redraw it again )

_________________
6502 addict


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Fri Apr 26, 2013 5:40 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8445
Location: Southern California
"E" usually means "enable."

_________________
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  
 Post subject: Re: Breaking 6502 apart
PostPosted: Fri Apr 26, 2013 5:59 am 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
I used russian letter "П" as level-triggered input)

If you understand russian, I have detailed description of these circuits here : http://breaknes.com/info/6502_top


Attachments:
6502-predecode-logic.jpg
6502-predecode-logic.jpg [ 73.33 KiB | Viewed 1303 times ]
rdy-pad.jpg
rdy-pad.jpg [ 9.51 KiB | Viewed 1303 times ]
6502-instruction-register.jpg
6502-instruction-register.jpg [ 89.54 KiB | Viewed 1303 times ]
6502-long-cycle-counter.jpg
6502-long-cycle-counter.jpg [ 151.34 KiB | Viewed 1303 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Fri Apr 26, 2013 8:51 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10810
Location: England
Back to the E! It's recognised as meaning Enable.
Cheers
Ed


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Tue Apr 30, 2013 6:23 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy : flags.

This circuit is controlled by random logic, by following commands:

DB/P : load I, D, Z flags from internal data bus
IR5/I : used to handle SEI/CLI instructions
IR5/C : used to handle SEC/CLC instructions
DB/C : load C flag, from internal data bus
ACR/C : put ALU carry out to C flag
IR5/D : used to handle SED/CLD instructions
DBZ/Z : put ALU zero result to Z flag
1/V : forced whenever input pad SO is set
0/V : used to handle CLV instruction
DB/V : load V flag, from internal data bus
AVR/V : put ALU overflow out to V flag
DB/N : load N flag, from internal data bus

P/DB : enables tri-state buffer, to connect flags output with internal data bus.

B flag is located in interrupt handling circuit, on the left side of 6502.

Flags circuitry is rather simple. We have sync'ed latch, with NAND cutoff, whenever random logic issues any command to this flag (NOR gate).
Random logic commands reload latch, corresponding to new source value.
If we do not have any commands, cut-off NAND works as simple inverter, to reload output latch by old value.

Note, that flags output is in inverted logic, so it gets reinverted back again, before connecting output with internal data bus.

Phew)


Attachments:
6502-flags.jpg
6502-flags.jpg [ 215.25 KiB | Viewed 1273 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Wed May 01, 2013 2:44 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy: interrupt handling circuits


Attachments:
6502-interrupt-handling.jpg
6502-interrupt-handling.jpg [ 167.42 KiB | Viewed 1249 times ]
intr.jpg
intr.jpg [ 229.47 KiB | Viewed 1253 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Wed May 01, 2013 7:07 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy 2: branch logic


Attachments:
6502-branch-logic.jpg
6502-branch-logic.jpg [ 52.09 KiB | Viewed 1242 times ]
branch.jpg
branch.jpg [ 113.52 KiB | Viewed 1244 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Sun May 05, 2013 1:31 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy: flags controls (including SO pad logic)


Attachments:
flagscontrol.jpg
flagscontrol.jpg [ 231.05 KiB | Viewed 1216 times ]
6502-flags-control.jpg
6502-flags-control.jpg [ 250.94 KiB | Viewed 1217 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Mon May 06, 2013 8:11 pm 
Offline
User avatar

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

And some vintage tricks from MOS engineers :)

Image

Image


Attachments:
6502-program-control.jpg
6502-program-control.jpg [ 78.7 KiB | Viewed 1197 times ]
programcontrol.jpg
programcontrol.jpg [ 142.14 KiB | Viewed 1197 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Wed May 29, 2013 7:58 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy: complete 6502 dispatch unit.


Attachments:
6502-dispatch.jpg
6502-dispatch.jpg [ 273.3 KiB | Viewed 1155 times ]
dispatch.jpg
dispatch.jpg [ 435.46 KiB | Viewed 1157 times ]

_________________
6502 addict


Last edited by org on Wed May 29, 2013 8:09 pm, edited 1 time in total.
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Wed May 29, 2013 8:01 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10810
Location: England
That's neat!


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Wed May 29, 2013 8:18 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
As always, latest versions of all circuits can be found here : https://www.circuitlab.com/user/org/

_________________
6502 addict


Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Thu May 30, 2013 6:51 pm 
Offline
User avatar

Joined: Fri Jun 22, 2012 7:39 am
Posts: 201
Todays speccy: X,Y,S registers control


Attachments:
6502-xys.jpg
6502-xys.jpg [ 316.45 KiB | Viewed 1130 times ]
xys.jpg
xys.jpg [ 269.26 KiB | Viewed 1130 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Fri May 31, 2013 7:54 pm 
Offline
User avatar

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


Attachments:
6502-pc-control.jpg
6502-pc-control.jpg [ 197.63 KiB | Viewed 1108 times ]
pc_control.jpg
pc_control.jpg [ 221.51 KiB | Viewed 1108 times ]

_________________
6502 addict
Top
 Profile  
Reply with quote  
 Post subject: Re: Breaking 6502 apart
PostPosted: Sat Jun 01, 2013 4:52 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
What are the long rectangles at the top feeding in to the circuits at the bottom? For example, the two on the left labeled BRK2 and JSR3. And what are the IR1, IR7, etc. labels and marking on these bars?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 213 posts ]  Go to page Previous  1 ... 9, 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: