TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Build an 8-bit computer from scratch

489 点作者 kmooney超过 5 年前

18 条评论

barefoot超过 5 年前
Another great resource is NAND to Tetris (currently auditable on Coursera for free):<p><a href="https:&#x2F;&#x2F;www.coursera.org&#x2F;learn&#x2F;nand2tetris2" rel="nofollow">https:&#x2F;&#x2F;www.coursera.org&#x2F;learn&#x2F;nand2tetris2</a>
评论 #21904015 未加载
评论 #21903054 未加载
mrspeaker超过 5 年前
This series is truly excellent. Ben Eater is a brilliant teacher, and I wish I have has this series growing up - I think I&#x27;d be in hardware&#x2F;electronics now... at the very least, I would have wasted a lot of time tinkering with making my own stuff!<p>I followed along with the clock module and when I was done I had a Matrix style &quot;I know kungfu&quot; moment - it all was crystal clear. And the series doesn&#x27;t brush over important details (like dealing with flaky inputs that would cause extra clock pulses etc) so even though I still don&#x27;t know all the math needed for electronics, I&#x27;m far more confident in making my own stuff!
评论 #21902712 未加载
retrac超过 5 年前
For the last couple years I&#x27;ve been toying with a relay computer design. Only a few prototype circuits have been built, but I do have (several) completed designs. I&#x27;m cautiously optimistic... it should be the fastest relay computer ever built, if I actually do build it. I have a whole bunch of reed relays on hand but the boards (and construction time!) are still expensive for a project of that size.<p>What fascinates me is that, even with a full design under my belt which works in simulation, computation remains somewhat magical to me.
评论 #21907526 未加载
ObsoleteNerd超过 5 年前
Ben Eater is without a doubt in my top 10 youtubers. His videos are so in-depth and explained in such a great way that I come away learning huge amounts every time he posts.<p>I’m sure a lot of this stuff is basic to people here, but to a software guy, I’ve found his channel invaluable for understanding how computers work at an electronics level and also just wildly fascinating.
评论 #21905934 未加载
评论 #21903883 未加载
评论 #21903008 未加载
评论 #21905892 未加载
zw123456超过 5 年前
The first time I built a computer from scratch using TTL components was in 1978 for my senior project. I have repeated the effort a couple of times on FPGA&#x27;s. If you have never tried building your own computer from scratch, you should, it is a great learning experience and also, kind of a lot of fun, I guess if you are a geek which a lot of us on HN are :)
评论 #21902685 未加载
评论 #21902701 未加载
transitorykris超过 5 年前
I’ve been working through Ben’s videos on the 6502 since September. It’s been a highly enjoyable way to relax and learn for me. It’s very easy to go beyond what he’s teaching. There’s so much material out there (6502.org for instance). The most rewarding for me has been taking the basics he gives on address decoding and going beyond it.
laxd超过 5 年前
Just started on a fun educational project to emulate a Z80 processor in C. Trying not to look at any existing work, only documentation. Thinking I&#x27;ll need to expand the project (emulating the rest of an actual, vintage computer) in order to run existing software and get the full kick out of it though. Suggestions? Looking for simplicity as I don&#x27;t need another forever-project.<p>Edit: asking because there&#x27;s so many to choose from <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Category:Z80-based_home_computers" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Category:Z80-based_home_comput...</a>
评论 #21903723 未加载
Accacin超过 5 年前
I&#x27;ve been meaning to do through his videos for a long while now and finally over christmas I&#x27;ve managed to binge watch nearly all this series.<p>As a software guy currently doing the Embedded Systems course on edX, Ben&#x27;s videos have really helped solidify what I&#x27;ve read in the course.<p>Big example was tri-state drivers, after reading about them in the course they hadn&#x27;t quite clicked, and I searched YouTube and came across Ben&#x27;s video. He explained the concept so incredibly well, it clicked immediately and I&#x27;ve found it a good companion for the course.
333c超过 5 年前
I watched the whole video series in the last two weeks. I quite enjoyed it.<p>It suffered from my classes in that Eater actually deals with the minutiae of working with real electricity — debouncing, clock edge detection, and so forth — because he&#x27;s building his CPU in the real world on breadboards. That was interesting for me to see.
jedimastert超过 5 年前
For anyone itching for more Ben Eater, he&#x27;s currently working on a series where he takes a 6502-type processor and turns it into a usable computer.<p>Here&#x27;s the first video: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=LnzuMJLZRdU" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=LnzuMJLZRdU</a>
sircastor超过 5 年前
I just recently found his videos for the 6502. I really wish I&#x27;d seen these when I was going through my computing logic class. The text for that was terrible, but these videos explain tremendously well for computers work.
dang超过 5 年前
Two from 2017:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14450945" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14450945</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14883776" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14883776</a><p>Related from a few months ago:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20974405" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20974405</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20614129" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20614129</a>
codedokode超过 5 年前
The description says:<p>&gt; I built a programmable 8-bit computer from scratch on breadboards using only simple logic gates.<p>Sorry, but this is slightly incorrect. First, he is using ready-made adders in ALU which are not &quot;simple logic gates&quot;, second he seems to use ROM in control logic which replaces tens or hundreds of logic gates one has to use of they don&#x27;t have a ROM and a programmer.<p>If I was building a CPU, I would make 1-bit ALU and shift data bit-by-bit to save ICs because 1-bit ALU requires 4-5 simple ICs and 8-bit ALU would require 8 times more and that&#x27;s too much.<p>Next, I would use 4-bit registers instead of 8-bit because 8-bit register requires 2 ICs and 4-bit register can be implemented with one IC. Also it allows to reduce the number of wires and amount of work to connect them. This makes CPU slower though because it has to access memory twice as often.<p>Also I was surprised to read in comments that in some universities students are designing CPUs as a practical project. Must be interesting.
评论 #21964973 未加载
userbinator超过 5 年前
<p><pre><code> &quot;You need to enable JavaScript to view this site.&quot; </code></pre> I was expecting an interactive 8-bit computer simulation webapp, but all I got was something that could&#x27;ve been several pages on a static site. More disappointingly, it apparently requires a very &quot;modern&quot; browser to view :-(<p>In my experience, to see this sort of anti-accessibility from someone who knows the &quot;low-level&quot; enough to build CPUs successfully is unusual, but unfortunately getting more prevalent. The others I&#x27;m aware of, <a href="http:&#x2F;&#x2F;www.homebrewcpu.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.homebrewcpu.com&#x2F;</a> and <a href="https:&#x2F;&#x2F;www.bigmessowires.com&#x2F;bmow1&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.bigmessowires.com&#x2F;bmow1&#x2F;</a> , have far more accessible sites.<p>Edit: looks like others here think accessibility is not a concern anymore. That&#x27;s really disappointing, especially for low-level stuff.
评论 #21902857 未加载
评论 #21903664 未加载
评论 #21903018 未加载
chrismmay超过 5 年前
This project looks awesome, and I may purchase Ben&#x27;s kit to do with my 7 year-old son. My love of computers and software was largely inspired by the 6502 processor. I grew up with the commodore VIC20, C64 and 128 and reading books by Rodnay Zaks in the 1980&#x27;s. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rodnay_Zaks" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rodnay_Zaks</a><p>Perhaps I should look to see if any of my old books are still at my Dad&#x27;s house. This one is going for nearly $1k on Amazon. Not sure how a book from 1981 can be sold as &quot;new&quot; but wow.<p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Programming-6502-Rodnay-Zaks-1981-09-03&#x2F;dp&#x2F;B01FKX0O8O&#x2F;ref=sr_1_2?keywords=Rodnay+Zaks&amp;qid=1577631949&amp;s=books&amp;sr=1-2" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Programming-6502-Rodnay-Zaks-1981-09-...</a>
TheBiffer超过 5 年前
There is an iOS version of this at: <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;ca&#x2F;app&#x2F;cpu8&#x2F;id1448776028" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;ca&#x2F;app&#x2F;cpu8&#x2F;id1448776028</a>
kjs3超过 5 年前
I built a Z80 computer for my high school senior project in the early 80s. I got CP&#x2F;M mostly running; the floppy controller had some bugs I never quite worked out. Pretty much started me on the career path I&#x27;ve taken.<p>I&#x27;m building a 68000 system now for fun. I know I&#x27;ll never really understand my desktop, so I&#x27;d like to have at least one computer in the house that I really fundamentally understand.
m0xte超过 5 年前
I am continually impressed that that number of breadboard connections actually works for a lot of people. I never had such luck even with 3M boards.