JavaScript NES emulator optimized for simplicity and readability
I found a great article, Golfing a NES emulator in JS but I'm torn about it because I really can't get behind the whole "golfing" thing. But the author is right about one thing, JSNES is a nice achievement but the React-based UI is obscenely huge, and the project is flawed in many ways. So I wanted to make something like jsnes-lite but forked it at a point where he'd gotten rid of the nonsense but before it was made so tiny to be incomprehensible and thus impossible to extend. I also improved the sound by making the triangle channel like the real NES, and created proper ES6 modules.
Unfortunately, it only seems to run well on Chrome/Chromium.
Live demo: https://bobbicodes.github.io/omiNES/
Controls are arrow keys, X, C, Esc, Enter. Configure in main.js.
Currently only mapper 0 (NROM) is implemented. See here for compatible games.
npm i
npm run dev
npm run build
npm run preview