Skip to content

antoniskalou/chip8-ocaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8 VM

A chip-8 virtual machine written in OCaml.

Features

  • 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

Requirements

  • SDL2
  • OCaml 5

How to build

$ opam install . --deps-only --with-test
# run tests
$ dune build
$ dune test
# build release and install in env
$ dune build --release
$ dune install

Where to find ROMs?

I found a bunch at the Chip8 Archive.

Attributions

Known Issues

  • Older ROMs may cause VM to hang

License

GPLv3

About

Chip8 virtual machine written in OCaml

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages