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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Adventures of Writing a CHIP8 Emulator

50 点作者 lrsjng将近 2 年前

7 条评论

wlindley将近 2 年前
I learned programming in 1977, age 12, on an RCA VIP (CDP1802 cpu) with 2K RAM, a hex keypad, composite video out (thru an RF modulator) and cassettes. None of that fancy ASCII stuff, and floppy drives were an unimaginable luxury.<p>CHIP-8 was a fun, approachable language. &quot;Hacking&quot; was hand-disassembling the CHIP-8 programs in the user manual.<p>It was easy to understand how computers were simply more complex TTL and CMOS projects like my father and I built each month from Popular Electronics and Radio Electronics. Dad worked at RCA, programmed in IBM 360 Assembler, FORTRAN, and at that time was helping write the ATLAS language (IEEE 416). Together we learned Tiny BASIC, and this launched my computer business for forty years.<p>Kudos to all the folks keeping CHIP-8 alive as a vital link from Boole and Shannon thru machine code to the &quot;modern&quot; world.
teo_zero将近 2 年前
&gt; I decided to use C. Wait a minute, isn&#x27;t that illegal? This might surprise you but, it is not! You are not forced to use Rust for all new projects henceforth!<p>That made my day!
评论 #36309305 未加载
abhaynayar将近 2 年前
I have previously written about coding a chip8 emu inside the nand2tetris emu: <a href="https:&#x2F;&#x2F;abhaynayar.github.io&#x2F;blog&#x2F;chip8-in-jack.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;abhaynayar.github.io&#x2F;blog&#x2F;chip8-in-jack.html</a>
laeri将近 2 年前
Nice to see someone implementing a chip8 emulator. This is always a great learning project.<p>However, I do not think that he needs to go so far to explain what a stack does. If you can understand the rest of the text you probably have enough context and knowledge to know that already.
评论 #36308694 未加载
TazeTSchnitzel将近 2 年前
If you want another, slightly more feaureful toy platform to emulate, consider <i>uxn</i>&#x2F;<i>varvara</i>.
评论 #36308728 未加载
kaycey2022将近 2 年前
What stack is this blog using? It looks like plain HTML&#x2F;CSS&#x2F;JS. It&#x27;s very nice.<p>I&#x27;m asking because the choice of stack to use is keeping me away from starting my own blog.
评论 #36308597 未加载
评论 #36305259 未加载
speps将近 2 年前
Maybe a typo, maybe I didn&#x27;t get it:<p>&gt; 6101 is simply telling the CPU &quot;set V1 (1 comes from the 3rd nibble) to the value of 0c&quot;<p>Shouldn&#x27;t it set V1 to 0x01?
评论 #36308562 未加载