Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 754 Bytes

File metadata and controls

30 lines (23 loc) · 754 Bytes

Tiny-Chip8

A minimal, efficient Chip-8 emulator for embedded systems.

Features

  • Basic CHIP-8 CPU emulation (display features included)
  • Simple and lightweight design
  • Includes built-in CHIP-8 font set
  • Easy to integrate into your projects

Showcase

Running the maze demo from Chip8-Roms on a ESP32 with a ST7567 display My showcase

Usage

Initialize the emulator, load your CHIP-8 program into memory starting at 0x200, then repeatedly call the cycle function to execute instructions.

tinychip8 emulator;

void initialize_tc8()
{
  tinychip8_bind(&emulator);
  emulator.init(&emulator);
}

while (running) {
  emulator.cycle(&emulator);
}

...