EmulatorJS/docs/Systems/Sega Mega Drive.md

47 lines
846 B
Markdown
Raw Normal View History

2022-03-26 20:41:27 +00:00
# Sega Mega Drive
2021-12-20 16:30:29 +00:00
2022-03-26 20:41:27 +00:00
## Code example
```html
<div style='width:640px;height:480px;max-width:100%'>
<div id='game'></div>
</div>
<script type='text/javascript'>
2021-12-20 16:30:29 +00:00
EJS_player = '#game';
2023-07-22 23:22:55 +00:00
// Can also be genesis_plus_gx or picodrive
2021-12-20 16:30:29 +00:00
EJS_core = 'segaMD';
2022-03-26 20:41:27 +00:00
// URL to Game rom
EJS_gameUrl = '';
/*
* Path to the WASM / JS files
* HAS TO BE in the same directory.
*/
EJS_pathtodata = 'data/';
</script>
2021-12-20 16:30:29 +00:00
2022-03-26 20:41:27 +00:00
<script src='data/loader.js'></script>
```
2023-07-22 23:22:55 +00:00
### BIOS
| File Name | Description | md5sum |
| ----------- | ------------- | ----------- |
| bios_MD.bin | MegaDrive TMSS startup ROM | `45e298905a08f9cfb38fd504cd6dbc84`
### CORES
The *segaMD* system supports 2 cores
- `genesis_plus_gx`
- `picodrive`
If set to `segaMD`, emulator will use the `genesis_plus_gx` core.