Page 12 of 15
Re: Breaking 6502 apart
Posted: Fri Apr 26, 2013 5:35 am
by org
Ugh... "E" mean "edge" ))) I need to redraw it again )
Re: Breaking 6502 apart
Posted: Fri Apr 26, 2013 5:40 am
by GARTHWILSON
"E" usually means "enable."
Re: Breaking 6502 apart
Posted: Fri Apr 26, 2013 5:59 am
by org
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
Re: Breaking 6502 apart
Posted: Fri Apr 26, 2013 8:51 am
by BigEd
Back to the E! It's recognised as meaning Enable.
Cheers
Ed
Re: Breaking 6502 apart
Posted: Tue Apr 30, 2013 6:23 pm
by org
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)
Re: Breaking 6502 apart
Posted: Wed May 01, 2013 2:44 pm
by org
Todays speccy: interrupt handling circuits
Re: Breaking 6502 apart
Posted: Wed May 01, 2013 7:07 pm
by org
Todays speccy 2: branch logic
Re: Breaking 6502 apart
Posted: Sun May 05, 2013 1:31 pm
by org
Todays speccy: flags controls (including SO pad logic)
Re: Breaking 6502 apart
Posted: Mon May 06, 2013 8:11 pm
by org
Todays speccy: program control
And some vintage tricks from MOS engineers

Re: Breaking 6502 apart
Posted: Wed May 29, 2013 7:58 pm
by org
Todays speccy: complete 6502 dispatch unit.
Re: Breaking 6502 apart
Posted: Wed May 29, 2013 8:01 pm
by BigEd
That's neat!
Re: Breaking 6502 apart
Posted: Wed May 29, 2013 8:18 pm
by org
As always, latest versions of all circuits can be found here :
https://www.circuitlab.com/user/org/
Re: Breaking 6502 apart
Posted: Thu May 30, 2013 6:51 pm
by org
Todays speccy: X,Y,S registers control
Re: Breaking 6502 apart
Posted: Fri May 31, 2013 7:54 pm
by org
Todays speccy : Program counter control
Re: Breaking 6502 apart
Posted: Sat Jun 01, 2013 4:52 pm
by whartung
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?