ahamez / cpp8080

A 8080 emulator written in C++17.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cpp8080

A 8080 emulator written in C++17 started after reading http://www.emulator101.com. The idea was to see what C++17 could bring to the writing of an emulator. The answer is: not so much. C++11/14 was helpful to generate the jump table, but otherwise, I didn't find a way to use effectively C++17 new features.

Acknowledgements

I could not have written cpp8080 without those ressources:

Architecture

cpp8080 is a C++17 library. The repository contains two examples built on this emulator:

  • Space Invaders (without sounds)
  • a test that exercices the emulated CPU

Dependencies

  • A C++17 compiler
  • SDL2 (needed for Space Invaders)

Build

Requires conan.

mkdir build && cd build
conan install .. --build=missing
cmake .. -G Ninja
ninja
ninja test

About

A 8080 emulator written in C++17.

License:MIT License


Languages

Language:C++ 99.0%Language:CMake 1.0%