0:00 / 0:00
How do CPUs read machine code? — 6502 part 2
Ben Eater
1.4M subscribers • 29 videos on Hallway
- Recommended by 1 person: 1 on Lobsters.
- Presented by Ben Eater
Intermediate. Assumes working knowledge.
3.2M views7 years ago1 recommendation
HardwareSystems programmingCPUs and computer architectureRetro computingHistory of computing
Ben Eater explains how the 6502 CPU reads and executes machine code instructions by monitoring its buses with an Arduino.
Schematics, datasheets, kits, and more at eater.net/6502 Part 1: youtube.com/watch?v=LnzuMJLZRdU Part 2: This video! Part 3: youtube.com/watch?v=oO8_2JJV0B4 Part 4: youtube.com/watch?v=FY3zTUaykVo Part 5: youtube.com/watch?v=xBjQVxVxOxc Part 6: youtube.com/watch?v=i_wrxBdXTgM Part 7: youtube.com/watch?v=omI0MrTWiMU Support these videos on Patreon: patreon.com/beneater or eater.net/support for other ways to support. ------------------ Social media: Website: eater.net Twitter: x.com/beneater Patreon: patreon.com/beneater Reddit: reddit.com/r/beneater Special thanks to these supporters for making this video possible: Adam Lininger Alex Catchpole Andrew R. Whalley Anthony Cuccia Armin Brauns BakerStaunch Beau-James Erion Ben Dyson Ben Kamens Ben Williams Bradley Pirtle Brian Wanda Carlos Ambrozak Christopher Blackmon Clayton Parker Coleman Daniel Tang Dave Walter David H. Friedman David Turner Dean Winger Debilu Krastas Dušan Dželebdžić Dzevad Trumic Eric Brummer Eric Dynowski Eric Twilegar Erik Broeders Eugene Bulkin Foaly fxshlein Gabriel Lafond-Thenaille HaykH hunter wright Ian Tait Ivan Sorokin Jackson Warren JavaXP Jay Binks Jayne Gabriele Jeremy A. Jeremy Wise Jimmy Campbell Joel Messerli Joel Miller Joern Heidenreich Jordan Scales Joshua King Justin Dubs Justin Duch Kent Collins Manne Moquist Marcus Classon Mats Fredriksson Michael Michael Burke Michael Garland Michael Tedder Miguel Ríos Nathan Wachholz Nicholas Moresco Nick Sutton Nick Wrightsman Onion Sniffer Paul Pluzhnikov Paul Randal Peter Simard Randy True Rob Bruno Robert Blackshaw Robert Butler Sachin Chitale Scott Sergey Ten SonOfSofaman Stefan Nesinger Stefanus Du Toit Stephen Smithstone Steve Jones Steve Gorman Steven Pequeno Thomas Ballinger Tom Burns Vladimir Kanazir Warren Miller xisente Örn ArnarsonWhy it's here
1 person recommends thisWhat people say. Highly recommended as part of Ben Eater's classic step-by-step guide to building a 6502-based computer.
Moments people linked to
u/MoreOrLess_1in r/embedded • Mentions
Ben Eater 6502 part 2 Question
Hello! Looking for some help on troubleshooting an issue while following BenEater's tutorial on the 6502 computer build. At this point in part 2 he resets the 6502 and it reads from fffc and fffd as expected and then goes to address eaea. Mine does that but on the next clock cycle it reads 00 in the address eaeb upon switching to write mode for three clock cycles. Three clock cycles later it reads 02 from address eaea. I'm struggling to understand what's going on. Thanks in advance!
Here is my output from my arduino:
22:55:53.121 -> 1111111111111100 11101010 fffc R ea
22:55:53.600 -> 1111111111111101 11101010 fffd R ea
22:55:54.215…
u/8-Qbitin r/compsci • Mentions
On “How does a CPU physically step from one instruction to another?”
Look no further link to this video