Name unrelated, just having fun building a CHIP-8 interpreter
- Install SDL2
shards installcrystal run src/shrimp.cr --release -- --rom="/path/to/rom"
The interpreter can also be compiled to web assembly and run in the browser. This can be viewed at https://danielgilchrist.github.io/shrimp.
To compile to WASM and run the interpreter locally in your browser simply run the below script:
scripts/run_wasm_local.shNote: You will need python3 (local web server to get around CORS issues with .wasm files on localhost) and docker installed.