

Experiment with generator for calling interrupts.Experiment with web workers for recompiled code generation.If you are looking for another SMS emulator in JavaScript, go to Miracle. Many parts of the script are borrowed from JSNES, a NES emulator in JavaScript by Ben Firsh. The recompiler is not compatible with Closure Compiler in advanced optimizations mode and will likely never be.Though state save and load functions are ported, there are not used and should be more JavaScript friendly (using JSON for example, see JSNES for an example of implementation).Video of the talk about JSSMS I gave at Reject.js 2013.

The recompilation code is located in src/compiler folder as well as technical insights. The code then evolved from a basic interpreter to a complex recompiler able to run on mobile at full speed. Originally, this is a JavaScript port of JavaGear by Chris White. JsSMS is a dynamic recompiling emulator for Sega Master System & Game Gear ROMs written in JavaScript and designed to be fast on mobile browsers.
