forked from Mirrors/wasm3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Volodymyr Shymanskyy
6d93778f6e
|
3 years ago | |
---|---|---|
.. | ||
.gitignore | 3 years ago | |
README.md | 3 years ago | |
image.png | 3 years ago | |
wasmerboy.wasm | 3 years ago |
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.