Skip to content
systemcoding.dev

Library

Everything you need to level up your coding skills.

Flat illustration of guest machines running on a hypervisor over hardware, with the Rust, QEMU and Linux logos.
Virtualization

Write a CHIP-8 Emulator in Rust From Scratch

Write a CHIP-8 emulator in Rust 1.85: a safe Chip8 struct, enum-based opcode decoding with pattern matching, wrapping arithmetic and a testable display buffer.

11 min read
Flat illustration of guest machines running on a hypervisor over hardware, with the C, QEMU and RISC-V logos.
Virtualization

Write a CHIP-8 Emulator in C From Scratch

Build a complete CHIP-8 interpreter in C11: memory, registers, the font, all 35 opcodes, timers, a 64x32 display buffer and a text-mode renderer to test it.

10 min read
Flat illustration of logic gates wired into a small circuit, with the Python, Haskell and SparkFun logos.
Hardware

Test HDL Designs in Python With cocotb

Write cocotb 1.9 tests in Python for a Verilog counter: drive a Clock, await RisingEdge and ReadOnly, assert outputs and run on Icarus Verilog from a Makefile.

7 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.