Get the latest tech news

Show HN: WIP NandToTetris Emulator in pure C – logic gates to ALU to CPU to PC


Contribute to con-dog/hack_emulator_c development by creating an account on GitHub.

No external dependencies (so far) Start with a single software defined NAND gate in C EVERYTHING is built from this base chip For comparison, most emulator projects start right at the CPU level and don't sequentially build primitive structures They look at CPU truth table / Instruction set and implement that logic directly More straight forward, but you skip all the gates/chips fun.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of pure C

pure C

Photo of Logic gates

Logic gates

Photo of wip nandtotetris

wip nandtotetris

Related news:

News photo

Logic gates using liquids (2019)

News photo

Llm.c – LLM training in simple, pure C/CUDA