← Alle prosjekter

BIT4 – 4-bit CPU Emulator

En 4-bits datamaskinarkitektur bygget fra bunnen av: egen CPU, ALU, RAM, videoenhet, assembler og instruksjonssett, uten rammeverk.

Kildekode
BIT4 – 4-bit CPU Emulator

Overview

BIT4 is a 4-bit computer built entirely in software, from the lowest level up. It includes its own CPU, ALU, RAM, video unit, instruction set and an assembler for writing programs.

The challenge

Modern frameworks hide how a computer actually works. I wanted to understand it properly by designing every part myself: how instructions are fetched and decoded, how the ALU calculates and how memory and video output are connected.

How I built it

Tech

Teknologier