News for hackers. Stuff that matters.
Re:I Designed My Own 16-Bit CPU [video] by holtkam2 on Thursday July 28, 2022 @07:03PM (#32271100)
If you think this is cool and would like to follow these steps yourself, here are my recommendations:

* Turing Complete on Steam (if you're into video games): https://store.steampowered.com/app/1444480/Turing_Complete/ * The Elements of Computing Systems (if you'd rather follow along step by step in a book):https://www.amazon.com/Elements-Computing-Systems-second-Pri...

Re:I Designed My Own 16-Bit CPU [video] by drivers99 on Friday July 29, 2022 @09:14AM (#32276389)
The Elements of Computing Systems is the book behind nand2tetris. I’ve done the course a few times on Coursera. The astro-8 (the computer in the video from this post) uses microcode in the CPU but nand2tetris just uses instructions whose bits directly drive the cpu. Although I do like how nand2tetris shows how layers of abstractions can be arbitrary, and even simpler than they are usually done in the real world, and you can still build on top of them using additional layers of abstractions. Even in the first step, instead of using different gates you only use nand and then create the needed logic gates from that. And the machine language it uses is at a microcode level and you build a stack language on top of that. (And then build an Java like language on top of that.)
Re:I Designed My Own 16-Bit CPU [video] by edg-l on Friday July 29, 2022 @05:45AM (#32274912)
Check this one out: https://store.steampowered.com/app/1885690/Virtual_Circuit_B...

It focuses on performance, and looks quite beautiful.

Re:I Designed My Own 16-Bit CPU [video] by erwan577 on Friday July 29, 2022 @03:30AM (#32274068)
Turing Complete is maybe more a tutorial in digital logic coming with its own simulator than a game.

It is designed to feel like a puzzle game and is distributed on Steam but that's only the surface...

Building your own CPU and programming it in your own assembly language is exactly what TC promises on the tin.

The "game" discord server may be worth checking also.

Re:I Designed My Own 16-Bit CPU [video] by erwan577 on Friday July 29, 2022 @05:44AM (#32274903)
I forgot to say that TC simulator aims to high performance. That makes it more fun to use than Logicsim even if the feature set is more limited for now.
Re:I Designed My Own 16-Bit CPU [video] by CodeSgt on Thursday July 28, 2022 @07:07PM (#32271132)
Turing Complete looks great! I've been looking for games that fit the "Edu-tainment" niche for a while and haven't found many good ones for adults.
Re:I Designed My Own 16-Bit CPU [video] by krallja on Thursday July 28, 2022 @08:58PM (#32271898)
Try Zachtronics games (Shenzhen I/O, Exapunks, TIS-100) and https://www.nandgame.com/ too!
Re:I Designed My Own 16-Bit CPU [video] by culanuchachamim on Thursday July 28, 2022 @09:41PM (#32272202)
Amazing!!
Re:I Designed My Own 16-Bit CPU [video] by NextHendrix on Friday July 29, 2022 @05:07AM (#32274656)
Also consider MHRD[0], which is similar to nandgame, except you write your designs out in a (primitive) HDL starting with just NAND gates and working up to a functional CPU. Like the zachtronics games, it blurs the line between "game" and "work" just the right amount.

[0](https://store.steampowered.com/app/576030/MHRD/)