EmulatorJS/docs/Systems/NES-Famicom.md

44 lines
1 KiB
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';
// Can also be fceumm or nestopia
2021-12-20 16:30:29 +00:00
EJS_core = 'nes';
2022-03-26 20:20:19 +00:00
EJS_lightgun = false; // Lightgun
2022-03-26 20:20:19 +00:00
// URL to BIOS file
2022-03-26 20:20:19 +00:00
EJS_biosUrl = '';
// URL to Game rom
EJS_gameUrl = '';
// Path to the data directory
2022-03-26 20:20:19 +00:00
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
### BIOS
| File Name | Description | md5sum |
| ----------- | ------------- | ----------- |
2023-07-22 23:22:55 +00:00
| disksys.rom | Family Computer Disk System BIOS -<br> Required for Famicom Disk System emulation | `ca30b50f880eb660a320674ed365ef7a` |
| gamegenie.nes | Game Genie add-on cartridge -<br> Required for Game Genei Add-on emulation<br> (Only supported on the fceumm core) | `7f98d77d7a094ad7d069b74bd553ec98` |
### CORES
The *nes* system supports 2 cores
- `fceumm`
- `nestopia`
If set to `nes`, emulator will use the `fceumm` core.