---
title: "chip8-sharp: CHIP-8 emulator in C# | VulCode"
description: "chip8-sharp is a CHIP-8 emulator in C#: a program that runs software written for CHIP-8, a simple virtual machine from the 1970s."
url: "https://vulcode.com/en/portfolio/other/chip8-sharp"
lang: "en"
---

[Other](https://vulcode.com/en/portfolio/other)

# chip8-sharp

CHIP-8 emulator in C#

A CHIP-8 emulator written in C# as a pure library, with no graphics layer of its own. It covers the full instruction set and is checked against the community's test ROMs.

## About the project

chip8-sharp is a CHIP-8 emulator in C#: a program that runs software written for CHIP-8, a simple virtual machine from the 1970s. It covers the full instruction set, and its correctness is checked by community test ROMs (ready-made programs that expose emulator bugs) run headless, that is without a window. The emulator is a pure library with no rendering dependency, so whoever uses it chooses how the picture is displayed.

## The challenge

CHIP-8 is the classic "first emulator", but doing it properly takes discipline and tests, not guesswork. That applies to the full instruction set, the timers and input, which is why the instruction set is checked by tests that run without a window.

## What we did

- A complete CHIP-8 emulator in C#

- The full instruction set, timers and input

- Tests run headless, with no window or graphics

- Validation against community test ROMs

- A pure library with no rendering dependency

## Related projects

- Project
  ### vantage
  A desktop app for keeping an eye on home servers (a homelab), written in C# on Avalonia. One window shows machine load, Docker containers and whether services respond.
  [Project](https://vulcode.com/en/portfolio/other/vantage)

- Project
  ### kestrel
  A relational database engine written from scratch in Kotlin. It takes SQL queries from the command line, keeps data on disk and protects writes from being lost on a sudden power-off.
  [Project](https://vulcode.com/en/portfolio/other/kestrel)

- Project
  ### sift
  A program in Haskell that checks whether a logical formula can be satisfied. The solver comes with a propositional-logic toolkit and a parser for files in the DIMACS format.
  [Project](https://vulcode.com/en/portfolio/other/sift)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
