Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

abnormalhare/Accui4004

Repository files navigation

Accui4004

This is a (almost sub-)cycle accurate emulator of the Intel 4004 Chip written in Zig. This is my first real project I've completed in Zig and it was really cool to work on. Information on how to make a program for this is here

How to build

This requires Zig to build. Zig's latest version can be downloaded here
Build using zig build. The command arguments are Accui4004.exe [filename].i44.

image

The controller

The emulator has a builtin "controller" hardcoded to map to the keys W A S D E Q ; and '. The last 2 may vary on Windows systems with different keyboards. If this is the case, they are the two keys between the letter L and the enter key.

Fibonacci.i44 running in Accui4004

Make your own 4004 system!

While at the moment it is cumbersome, no "chip" in this emulator requires another! Opening motherboard.zig and scrolling to the sync_motherboard function will allow you to edit the "wires" of the simulation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published