EmulatorJS/docs/NES-Famicom.md

51 lines
784 B
Markdown
Raw Normal View History

2022-03-26 20:20:19 +00:00
# NES / Famicom
2021-12-20 16:30:29 +00:00
2022-03-26 20:20:19 +00:00
## Code Example
2021-12-20 16:30:29 +00:00
2022-03-26 20:20:19 +00:00
```html
<div style='width:640px;height:480px;max-width:100%'>
<div id='game'></div>
2021-12-20 16:30:29 +00:00
</div>
2022-03-26 20:20:19 +00:00
<script type='text/javascript'>
2021-12-20 16:30:29 +00:00
EJS_player = '#game';
EJS_core = 'nes';
2022-03-26 20:20:19 +00:00
// Lightgun
EJS_lightgun = false;
// URL to Famicom Disk System bios
EJS_biosUrl = '';
// URL to Game rom
EJS_gameUrl = '';
/*
* Path to the WASM / JS files
* HAS TO BE in the same directory.
*/
EJS_pathtodata = 'data/';
2021-12-20 16:30:29 +00:00
</script>
2022-03-26 20:20:19 +00:00
<script src='data/loader.js'></script>
2021-12-20 16:30:29 +00:00
```
2022-03-26 20:20:19 +00:00
## ROM Type
Your **ROM** can have the following types:
- `fds`
- `nes`
- `unif`
- `unf`
### BIOS
You can find the **Famicon BIOS** by looking up the **MD5** checksum: <br>
`ca30b50f880eb660a320674ed365ef7a`