27c3: Reverse Engineering the MOS 6502 CPU (en)
Christiaan0082 HN recommenders · recommended in 3 months, 2014–2021
talk · intermediate · evergreen · 2014–2021 on HN
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.
Up next
3 mo on HNCarbon Offsets: Last Week Tonight with John Oliver (HBO)
LastWeekTonight
3 HN recommender · 2022–2023
2 mo on HNInner Game of Tennis
TheCoach
2 HN recommender · 2015–2016
4 mo on HNWhy you DON'T want Perfect Pitch
Adam Neely
6 HN recommender · 2021–2025
18 mo on HNIndistinguishable From Magic: Manufacturing Modern Computer Chips
Andor Gafotas
19 HN recommender · 2016–2024
8 mo on HNThe Extreme Engineering of ASML’s EUV Light Source
Asianometry
11 HN recommender · 2022–2025
8 mo on HNJim Keller: Moore's Law, Microprocessors, and First Principles | Lex Fridman Podcast #70
Lex Fridman
8 HN recommender · 2020–2023
8 mo on HNJim Keller: Moore’s Law is Not Dead
UC Berkeley EECS
7 HN recommender · 2019–2025
7 mo on HNWhy It Was Almost Impossible to Make the Blue LED
Veritasium
10 HN recommender · 2024–2026
5 mo on HN38C3 - From Silicon to Sovereignty: How Advanced Chips are Redefining Global Dominance
media.ccc.de
5 HN recommender · 2025–2026
5 mo on HNThe man who almost faked his way to a Nobel Prize
BobbyBroccoli
6 HN recommender · 2022–2023
5 mo on HNAWS re:Invent 2016: Tuesday Night Live with James Hamilton
Amazon Web Services
5 HN recommender · 2016–2023
4 mo on HNHow does Computer Memory Work? 💻🛠
Branch Education
5 HN recommender · 2022–2023
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: ▶ this 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.
Here's a nice talk video covering the story from the origins of the 6502 to the Visual 6502 (but not the wasm Remix): ▶ this video .
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: ▶ this 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! ▶ this video link link