Skip to content

A NES emulator written in C that runs in the browser with WebAssembly

License

Notifications You must be signed in to change notification settings

lazyxu/wasm-nes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-nes

wasm-nes is a NES emulator written in C that runs in the browser with WebAssembly.

Quick Start

Setup Emscripten Environment

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.

Getting the sources

git clone https://github.com/MeteorKL/wasm-nes
cd wasm-nes

Build and run

you can execute the scripts(tools/run_xxx.sh) to build and run in one click.

NATIVE executable file

bash ./tools/run_native.sh

WASM and JavaScript "glue" code

bash ./tools/run_wasm.sh

open http://localhost:1111/.

Tests

test list: https://wiki.nesdev.com/w/index.php/Emulator_tests

test passed:

[x] nestest

Docs

Emulators

About

A NES emulator written in C that runs in the browser with WebAssembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published