A chip-8 virtual machine written in OCaml.
- All opcodes and flag behaviour verified against Chip8 specific test roms.
- Most quirks (other than clipping, which is WIP)
- Configurable colours & render scale
- A rudementary debugger
- Audio
- SDL2
- OCaml 5
$ opam install . --deps-only --with-test
# run tests
$ dune build
$ dune test
# build release and install in env
$ dune build --release
$ dune install
I found a bunch at the Chip8 Archive.
- Originally inspired by caml8, then I did my own thing.
- This excellent guide
- Another more practical guide
- awesome-chip8
- Older ROMs may cause VM to hang
GPLv3