Search found 9 matches

by Jefffrey
Thu Dec 11, 2025 11:50 pm
Forum: Emulation and Simulation
Topic: Animated 6502 Block Diagram
Replies: 22
Views: 7072

Re: Animated 6502 Block Diagram

okay, this time it was broken because I forgot to put the svg diagram in the directory that got published. that makes sense. what I really can't make heads or tails of is why it was working for me yesterday just before i posted the link.

is it working for everyone now?
by Jefffrey
Thu Dec 11, 2025 1:59 am
Forum: Emulation and Simulation
Topic: Animated 6502 Block Diagram
Replies: 22
Views: 7072

Re: Animated 6502 Block Diagram

Sorry to the community for leaving this dead for so long. It's up again in a new place: https://jeffayle.github.io/6502blocks/

I'm not really sure what happened on the original site. I think neocities may have changed something on the server that made wasm not work. I couldn't figure out what that ...
by Jefffrey
Wed Mar 05, 2025 1:33 am
Forum: Emulation and Simulation
Topic: Animated 6502 Block Diagram
Replies: 22
Views: 7072

Re: Animated 6502 Block Diagram

Thank you for the explanation. I'm curious how do illegal opcodes manage to add extra functions without extra hardware.
The short answer is that illegal instructions can only add functionality that already has the hardware it needs. There are certainly more instructions that could be added to the ...
by Jefffrey
Sun Mar 02, 2025 2:26 am
Forum: Emulation and Simulation
Topic: Animated 6502 Block Diagram
Replies: 22
Views: 7072

Re: Animated 6502 Block Diagram

This is very interesting. I wonder if more silicon could similarly have speed up the X and Y regs.

No doubt having modeled on a breadboard they were already pushing space limitations.
You would need more adders as well, inx/iny use the ALU, and you're already using the ALU to do indexed ...
by Jefffrey
Sun Mar 02, 2025 2:17 am
Forum: Emulation and Simulation
Topic: Animated 6502 Block Diagram
Replies: 22
Views: 7072

Re: Animated 6502 Block Diagram

Very cool project - I use it to debug my emulator.
However, one thing bothers me - in your project you used a modified block diagram, which causes some differences compared to what viusal6502 shows.

One of the differences I noticed is TXS - the modified diagram forces an update of the S register ...
by Jefffrey
Fri Feb 07, 2025 3:57 pm
Forum: Emulation and Simulation
Topic: Animated 6502 Block Diagram
Replies: 22
Views: 7072

Animated 6502 Block Diagram

https://jeffayle.github.io/6502blocks/
git repository

Animated 6502 Block Diagram runs a transistor-level simulation of the MOS Technology 6502 and shows the internal state on Donald Hanson's Block Diagram.

This is the visualization tool I wish I had had since the amazing reverse engineering ...
by Jefffrey
Thu Jan 23, 2025 2:24 pm
Forum: Emulation and Simulation
Topic: Why does Hanson's diagram show PCH increment as 2x4bit?
Replies: 3
Views: 2472

Re: Why does Hanson's diagram show PCH increment as 2x4bit?

Oh, that's surprisingly straightforward, thank you very much for your help!

Also thank you for helping me out back in 2015. Not sure why I disappeared, but the information was useful then, and it was useful last week when it came up in search results
by Jefffrey
Thu Jan 23, 2025 2:45 am
Forum: Emulation and Simulation
Topic: Why does Hanson's diagram show PCH increment as 2x4bit?
Replies: 3
Views: 2472

Why does Hanson's diagram show PCH increment as 2x4bit?

Hanson's diagram for reference: https://www.weihenstephan.org/~michaste/pagetable/6502/6502.jpg

The program counter is shown as two 8-bit registers. This makes sense because the internal architecture treats them as two separate registers, addresses need to go through the ALU in 8-bit units ...
by Jefffrey
Wed Nov 11, 2015 2:20 pm
Forum: Hardware
Topic: A couple assorted questions about internal structure of 6502
Replies: 3
Views: 4800

A couple assorted questions about internal structure of 6502

Hello everyone!

I have been poring over the block diagram of the 6502 and I think I have a general understanding of things, but there are a few questions I still have:

(1) First of all, the various buses that run throughout the processor. I know that the labels on them were not given by the ...