mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
aa32d25717
Co-authored-by: Allan Niles <74841470+allancoding@users.noreply.github.com> Co-authored-by: ElectronicsArchiver <85485984+ElectronicsArchiver@users.noreply.github.com>
683 B
683 B
NES / Famicom
Code example
<div style="width:640px;height:480px;max-width:100%">
<div id="game"></div>
</div>
<script type="text/javascript">
EJS_player = '#game';
EJS_biosUrl = ''; // Url to Famicom Disk System bios
EJS_gameUrl = ''; // Url to Game rom
EJS_core = 'nes';
EJS_lightgun = false; // Lightgun
EJS_pathtodata = 'data/'; //path to all of the wasm and js files. MUST all be in the same directory!!
</script>
<script src="data/loader.js"></script>
Your rom MUST have one of the following extensions
.fds
.nes
.unif
.unf
You can find the famicon BIOS by looking up the md5 sum which is ca30b50f880eb660a320674ed365ef7a