Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silk-suite/silk8
A CHIP-8 interpreter written in Rust and exported to Web with WebXR visualization.
https://github.com/silk-suite/silk8
chip-8 chip8 threejs wasm webxr
Last synced: 3 months ago
JSON representation
A CHIP-8 interpreter written in Rust and exported to Web with WebXR visualization.
- Host: GitHub
- URL: https://github.com/silk-suite/silk8
- Owner: silk-suite
- License: mit
- Created: 2024-04-19T04:39:24.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-25T23:16:54.000Z (7 months ago)
- Last Synced: 2024-09-27T12:03:16.282Z (3 months ago)
- Topics: chip-8, chip8, threejs, wasm, webxr
- Language: Rust
- Homepage: https://silk-suite.github.io/silk8/demo/
- Size: 2.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SILK-8
SILK-8 is a CHIP-8 interpreter written in Rust that also can run in the browser via WebAssembly.
This repo includes a three.js visualization that is usable on desktop and in WebXR.## Support
Currently this interpreter can emulate programs for CHIP-8 and SCHIP (legacy and modern), with support for XOCHIP planned.
## Caveats
- Does not support half-pixel scrolling in legacy superchip.
## Development
For Rust, simply build and run with cargo. For the web export, ensure you have followed the setup instructions for [wasm-pack](https://rustwasm.github.io/docs/wasm-pack/introduction.html), then build with `wasm-pack build --target web`. This will place the WASM files in the `pkg` folder. From there, either copy the new files over to the demo folder or adjust the initialization in the demo page to point to the `pkg` folder instead.