/jsnes

Simple NES Emulator in JavaScript

Primary LanguageJavaScriptMIT LicenseMIT

JSNES

Simple NES emulator in JavaScript.

Usage

Place your ROM file and add the file path to index.html.

<option value="./rom/mario1.nes">mario1</option>

Start a local web server.

$ ruby webrick.rb 9999

Then, you can play the game via http://localhost:9999.

Key bindings

NES Keyboard
Up W
Down S
Left A
Right D
A Button L
B Button K
Start Enter
Select Space

Games

Confirmed these games worked well.

NROM (INES Mapper 000)

Super Mario 1 Xevious Spelunker Druaga

MMC1 (INES Mapper 001)

Rockman 2 Final Fantasy I Dragon Quest III Dragon Quest IV

UNROM (INES Mapper 002)

Rockman

CNROM (INES Mapper 003)

Dragon Quest I Portopia Renzoku Satsujin Jiken Takahashi Meijin no Boken Jima

Reference

https://www.nesdev.org/wiki/Nesdev_Wiki
https://www.nesdev.org/wiki/NES_reference_guide

License

MIT License. Please see LICENSE file.