mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
4f4b87386e
Co-authored-by: Allan Niles <74841470+allancoding@users.noreply.github.com> Co-authored-by: ericKuang <kk297466058@gmail.com>
57 lines
1.1 KiB
Markdown
57 lines
1.1 KiB
Markdown
# SNES
|
|
|
|
## Code Example
|
|
|
|
```html
|
|
<div style='width:640px;height:480px;max-width:100%'>
|
|
<div id='game'></div>
|
|
</div>
|
|
|
|
<script type='text/javascript'>
|
|
EJS_player = '#game';
|
|
|
|
// Can also be snes9x
|
|
EJS_core = 'snes';
|
|
|
|
//SNES mouse
|
|
EJS_mouse = false;
|
|
|
|
// SNES Multitap
|
|
EJS_multitap = false;
|
|
|
|
// URL to BIOS file
|
|
EJS_biosUrl = '';
|
|
|
|
// URL to Game rom
|
|
EJS_gameUrl = '';
|
|
|
|
// Path to the data directory
|
|
EJS_pathtodata = 'data/';
|
|
</script>
|
|
<script src='data/loader.js'></script>
|
|
```
|
|
|
|
## ROM Type
|
|
|
|
Your **ROM** can have the following extensions:
|
|
- `smc`
|
|
- `sfc`
|
|
- `swc`
|
|
- `fig`
|
|
- `bs`
|
|
- `st`
|
|
|
|
### BIOS
|
|
|
|
| File Name | Description | md5sum |
|
|
| ----------- | ------------- | ----------- |
|
|
| BS-X.bin | BS-X - Sore wa Namae o Nusumareta Machi no<br> Monogatari (Japan) (Rev 1) - Optional | fed4d8242cfbed61343d53d48432aced |
|
|
| STBIOS.bin | Sufami Turbo (Japan) - Optional | d3a44ba7d42a74d3ac58cb9c14c6a5ca |
|
|
|
|
### CORES
|
|
|
|
The *snes* system supports 1 core
|
|
- `snes9x`
|
|
|
|
If set to `snes`, emulator will use the `snes9x` core.
|
|
|