27c3: Reverse Engineering the MOS 6502 CPU (en)
Christiaan0082 HN recommenders · 2014–2021
477K views · talk · evergreen · Uploaded 2011-01-10
Michael Steil's 27c3 talk on reverse engineering the MOS 6502 from die shots into a transistor-level simulation, as in the Visual6502 project. It covers going from chip package to a digital model.
HN recommends it as a great walkthrough of chip reverse engineering and the story of Visual 6502.
1:01:20Indistinguishable From Magic: Manufacturing Modern Computer Chips
Andor Gafotas
6:538-bit computer update
Ben Eater
1:21:22Light Years Ahead | The 1969 Apollo Guidance Computer
TNMoC
27:25“Hello, world” from scratch on a 6502 — Part 1
Ben Eater
3:36elevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo)
Demoscene High-Quality Videos (Annikras)
47:52Finding the Missing Memristor - R. Stanley Williams
The Qualcomm Institute
1:01:07The Ultimate Game Boy Talk (33c3)
media.ccc.de
1:48:55The Thirty Million Line Problem
Molly Rocket
4 comments from Hacker News
There's a lot of information about reverse engineering some of the older CPUs around e.g. the MOS6502 (NES, Apple II, C64, etc). This is a great presentation showing how this CPU is reverse engineered: [VIDEO] Basically it comes down to the fact that you can't really hide transistors and ultimately that's something you can reconstruct. It sounds like a lot of work, and it is, but if you do it you can perfectly emulate a chip. If you can dig out non volatile memory then potentially you have the firmware. Once someone has their hands on that it'll be broken, almost guaranteed, as it becomes a software problem. Lots of people are very good at assembly hacking.
If you have no experience in digital electronics at all, I would actually start with a book like Code by Charles Petzold. It's a pop-science book about electronics and goes from light bulbs and switches to simple logic blocks like adders. It covers the basic building blocks of virtually every cpu in existence - how to turn transistors into calculators. It's well written and provides some context to otherwise pretty dry textbooks. There is quite a bit of difference between how an FPGA works and is programmed versus a totally custom chip. You could also take a look at reverse engineering walkthroughs eg Ken Shirrif has a few on his blog. Nand2tetris is another good thing to look at. Finally, reverse engineering the MOS6502: [VIDEO]
Here's a nice talk video covering the story from the origins of the 6502 to the Visual 6502 (but not the wasm Remix): [VIDEO] .
It used the MOS 6502 CPU, which was also used for the Apple I, Apple II, the Commodores and Atari and Nintendo (NES, SNES) game consoles! [VIDEO] [LINK] [LINK]