Martin Fouilleul 17c0f02962 | ||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
image.png |
README.md
WasmBoy
To run WasmBoy, you need a Gameboy ROM file. For example, you can download tobudx.gb
(Tobu Tobu Girl ROM)
wasm3.wasm
is a normal WASI build of Wasm3.
Run with Webassembly.sh
Drag'n'drop wasm3.wasm
, wasmerboy.wasm
, tobudx.gb
to Webassembly.sh and run:
wasm3 /tmp/wasmerboy.wasm /tmp/tobudx.gb
To speed it up (at your own risk, this disables security features):
chromium-browser --no-sandbox --js-flags="--wasm-opt --wasm-no-bounds-checks --wasm-no-stack-checks" "https://webassembly.sh"
Run with Wasmer
mkdir fs
cp wasmerboy.wasm tobudx.gb ./fs
wasmer run --dir=fs --enable-experimental-io-devices wasm3.wasm -- fs/wasmerboy.wasm fs/tobudx.gb
Also
Check out Aaron Turner's article on Wasmer and WasmBoy.