Skip to content
systemcoding.dev
Topic

Virtualization

QEMU, KVM and hypervisors, writing emulators from CHIP-8 to RISC-V, and building containers from namespaces and cgroups by hand.

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

Write a 6502 CPU Emulator Core in C

Build a 6502 CPU core in C11: registers, the status flags, addressing modes, ADC and SBC with overflow, branches with cycle counts, and a small test program.

10 min read
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

Get new posts by email

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

Unsubscribe in one click. No spam, ever.