wasm-nes is a NES emulator written in C that runs in the browser with WebAssembly.
Get the Emscripten SDK, using these instructions: https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html
It is recommended to put the emsdk
folder in the HOME
directory.
git clone https://github.com/MeteorKL/wasm-nes
cd wasm-nes
you can execute the scripts(tools/run_xxx.sh
) to build and run in one click.
bash ./tools/run_native.sh
bash ./tools/run_wasm.sh
open http://localhost:1111/.
test list: https://wiki.nesdev.com/w/index.php/Emulator_tests
test passed:
[x] nestest