EmulatorJS/docs/NES-Famicom.md
ElectronicsArchiver c5a26a4808 Separated Systems
2021-12-20 11:30:29 -05:00

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