“Hello, world” from scratch on a 6502 — Part 1
Channel:Ben Eater · Length:27:24 · Published:2019-09-14 · Views:5881521
Summary
Ben Eater starts a series building a working computer on breadboards around the 6502 microprocessor. In this first part he gets a 'hello world' running from scratch.
Why HN recommends it
HN repeatedly recommends it as the best hands-on way to understand how a CPU and a computer work from first principles.
It is highly recommended if you want to dive down into computers and digital logic on first principles. — HN, 2020
Computer architecture & CPUs · Electronics & circuit design · Embedded systems & DIY electronics
Subtitles (excerpt)
Well, it seems like every programming tutorial starts out having you write a simple program that just prints out hello world and it's usually a pretty simple starting point because the programming language in this case Python and everything gets built on top of Does a lot of the work but what if we don't have any of that what if we just start with a microprocessor? And how do we get from this to printing HelloWorld on a screen of some sort? Well, this is the 6502 microprocessor and it's a real classic You can see from the date code that this one was manufactured in the third week of 1989 but the design for this has been around since 1975 and versions of this chip found their way into many personal computers and game consoles in the 80s But believe it or not Even though the original design is 44 years old a version of the 6502 is still being manufactured today And in fact for reasons, I'll get into later. I'm gonna use this modern version and so here it is and here's the datasheet Ford and you can see the data sheets only about 30 pages long, but well Let's start take a look at the pinout for this and start hooking up some of these pins to see what we can get it To do you can see there's a description here as well
On Hacker News
For anyone interested in the 6502, assembly and just in general how things like loops, conditional branches, hardware communication, etc all work, I HIGHLY recommend Ben Eater's videos on the subject: [VIDEO] They are incredibly fascinating! — Night_Thastus, 2022-05
i would suggest to follow Ben Eater's 8 bit computer [VIDEO] and would strongly recommend to build it (you can see the parts on his website [LINK] or buy the whole kit) — throwaway47292, 2021-11
I found the „Hello world from scratch“[1] series from Ben Eater incredibly helpful in connecting the dots between electricity and modern computers. Strictly speaking it is about electronics, still it is superbly presented and incredibly enlightening when coming from „normal“ software engineering perspective of things. What actually got me there was the book „Code“ by Charles Petzold[2] which trac… — halotrope, 2020-06
After stumbling on Ben Eaters “Hello world from scratch” [1] I went out and bought the cpu some parts and breadboards. The chip is only a few dollars. It is highly recommended if you want to dive down into computers and digital logic on first principles. Also great fun to get a break from all the screens and layers upon layers of software that I have to deal with daily. 1. [VIDEO] — halotrope, 2020-04
Here is an amazing video on how to build a computer based on 6502 on a breadboard, and program it in binary to get a Hello World equivalent. I highly recommend it: [VIDEO] — cadence-, 2019-12
Related videos
- Is Organic Really Better? Healthy Food or Trendy Scam? · Kurzgesagt – In a Nutshell · 8:20
- Real Life Emoji Keyboard! · Tom Scott · 2:12
- How We're Redefining the kg · Veritasium · 9:49
- Emojli: Behind the Scenes and Why You Should Never Build An App · Tom Scott · 30:58
- How I Designed a Free Music Font for 5 Million Musicians (MuseScore 3.6) · Tantacrul · 19:40
- The Art of the Bodge: How I Made The Emoji Keyboard · Tom Scott · 17:15
- Juice it or lose it - a talk by Martin Jonasson & Petri Purho · grapefrukt · 15:38
- This giant model stopped a terrible plan · Tom Scott · 4:33
- Tom Scott vs Irving Finkel: The Royal Game of Ur | PLAYTHROUGH | International Tabletop Day 2017 · The British Museum · 25:33
- The Beauty of Bézier Curves · Freya Holmér · 24:25
- Pulling Clear Images Directly Off Satellites | GOES-15,16,17 and Himawari 8 HRIT · The Thought Emporium · 11:00
- Simulating Green Beard Altruism · Primer · 13:23
- VFX Artists React to DUNE Bad & Great CGi · Corridor Crew · 21:40
- Thinking outside the 10-dimensional box · 3Blue1Brown · 25:13
- "Turbo Encabulator" the Original · Dave Rondot · 1:49
- Chicken chicken chicken · Yoram Bauman · 4:06
- Heat Pumps: the Future of Home Heating · Technology Connections · 35:15
- Ground Source / Geothermal Heat Pumps and Other Info · Technology Connections · 28:04
- AT&T Archives: Similiarities of Wave Behavior (Bonus Edition) · AT&T Tech Channel · 28:02
- How the US Is Destroying Young People’s Future | Scott Galloway | TED · TED · 18:37