Khushal Agrawal

Systems programming / complete

Chip-8 Emulator

A C++ Chip-8 emulator with CPU, memory, picture processing, sound support, and SDL2 graphics.

Architecture Overview

The emulator implements the Chip-8 virtual machine: registers, memory, stack, timers, instruction execution, display state, and SDL2-based graphics.

Technical Challenges

  • instruction decoding
  • memory and stack correctness
  • display buffer updates
  • sound timer behavior
  • SDL2 rendering loop integration

Lessons Learned

Chip-8 is a focused way to practice interpreter loops, binary instruction formats, and hardware-inspired state machines.

Tools

C++, SDL2