Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.15 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.15 KB

Erlang Elixir

Elixir CI License: MIT

ExChip8

Chip8 emulator written with Elixir using Scenic.

Requirements

# Scenic deps installation:
sudo apt-get install pkgconf libglfw3 libglfw3-dev libglew2.1 libglew-dev
# On mac:
brew install glfw3 glew pkg-config

Using release binary

CHIP8_FILENAME="<rom filename>" ./chip8/bin/ex_chip8 start

Development

# Install deps and compile:
mix deps.get
mix compile

# Run mix dev mix task:
mix game

# Run tests
mix test
  • Configure used game rom:
# config/dev.exs:
config :ex_chip8, :filename, "<rom filename>"

Dialyzer

# Create plt cache folder.
mkdir -p priv/plts

# Run dialyzer check.
mix dialyzer