Saturn.emu
Saturn.emu emulates Sega Saturn. It picks the BIOS for the game's region: sega_101.bin (Japan and Asia (NTSC)) or mpr-17933.bin (North America, Europe, Oceania and 4 more). The 5 other files are optional.
About this profile
Technical notes
Member of the EX Emulator series by Robert Broglia, published as
com.explusalpha.SaturnEmu and built for arm64 and x86_64 only
(Saturn.emu/, Saturn.emu/config.mk:7-9). ES-DE reaches it
through the SATURN-EMU find rule, which only the Android rule set carries, and
offers it under both the saturn and saturnjp systems. Mednafen's Saturn module
is vendored under Saturn.emu/src/ss on the 1.32 line
(EmuFramework/) and driven by the
app's own video, audio, input and save layers
(Saturn.emu/). Seventeen files differ from the Mednafen
1.32.1 release, none of it touching file loading: statics become externals the
app reads (Saturn.emu/src/ss/ss.cpp:146, Saturn.emu/src/ss/smpc.cpp:96,146,
Saturn.emu/src/ss/vdp2.cpp:46,63, Saturn.emu/src/ss/cdb.cpp:535), backup memory
moves to the app's file objects and the periodic save timers are dropped
(Saturn.emu/, mednafen 1.32.1 src/ss/ss.cpp:927-970,
1592-1600,1867-1874), the VDP2 work queue becomes a framework ring buffer
(Saturn.emu/), and the rest is enum and virtual
qualifier tidying. The BIOS and cart ROM block is byte-identical to the release,
as are cart.cpp, cart/rom.cpp and db.cpp.
Content is read from .cue, .ccd, .chd, .toc and .m3u files
(Saturn.emu/metadata/conf.mk:5, Saturn.emu/). An
archive is opened by the app, which prefers an .m3u member and otherwise keeps
the first entry passing that filter, and an .m3u names up to 16 images
(Saturn.emu/). Every load goes through the module's
LoadCD entry point (Saturn.emu/,
Saturn.emu/). The ROM entry point Load is never called:
its only call site in the tree is a shared helper this app does not use
(EmuFramework/).
Four files the user supplies carry no name of their own. Pickers store
arbitrary URIs under NA/EU BIOS, JP BIOS, KoF '95 ROM and Ultraman ROM, each
filtered to names ending in .bin and each refusing to descend into archives
(Saturn.emu/,44-145,
EmuFramework/,
Saturn.emu/,128-131,
Saturn.emu/,98-101). MDFN_GetSettingS answers the four
path settings with the fixed tokens jp, na, kof95 and ultraman, and
MDFN_MakeFName turns each token back into the matching URI, ending the load
with a message pointing at the File Paths menu when it is unset
(Saturn.emu/,245-285). Every other setting name
reaches unreachable(), so no other firmware request can be made.
Which BIOS is read follows the emulated area: Japan and Asia NTSC take the JP
path, every other area the NA/EU path (Saturn.emu/). The
area comes from the Region menu, or when that is Auto from the first 16 sectors
of the disc, checked against the security code hash and the "SEGA SEGASATURN "
magic (Saturn.emu/,
Saturn.emu/, Saturn.emu/,
1126-1144,1778-1787). The image is rejected at any length other than 524288 and
then hashed (Saturn.emu/). With ss.bios_sanity forced on
(Saturn.emu/) a table of five known images drives two
further tests: a file whose name is one of the five must hash to that entry, and
a file whose hash is one of the five must belong to the area being emulated
(Saturn.emu/). An image outside the table passes both,
since each test only rejects on a match. A third test compares Saturn against
ST-V images and can never fire here.
Cart type comes from the Cart Type menu when it is not Auto, otherwise from the
internal game database, otherwise none
(Saturn.emu/,
Saturn.emu/, Saturn.emu/).
The database forces the KoF '95 cart for MK-81088 and T-3101G and the Ultraman
cart for T-13308G, marking all three a game requirement
(Saturn.emu/src/ss/db.cpp:93-96,403), so those three discs read a ROM image and
every other disc reads none.
ST-V, the bootable ROM cart and Action Replay 4M Plus are compiled and
unreachable. All three exist only behind cart types the Cart Type menu does not
list and the database never assigns, and the first two are entered from Load
alone (Saturn.emu/src/ss/ss.cpp:1630,1669, Saturn.emu/).
Their paths would ask for ss.bios_stv_jp, ss.bios_stv_na, ss.bios_stv_eu and
ss.cart.satar4mp_path, none of which MDFN_GetSettingS answers
(Saturn.emu/,1293,
Saturn.emu/). The ST-V EEPROM save file and the
ST-V branches in the app's own backup memory code are dead for the same reason
(Saturn.emu/,141-142).
Per content the app writes and reads back a .bkr backup RAM image, a .smpc real
time clock block, .mca save states and, when a memory cart is selected, a
gzipped .bcr cart image. Settings live in SaturnEmu.config
(Saturn.emu/,152-155,
Saturn.emu/, Saturn.emu/,
Saturn.emu/). Mednafen's image reader picks up an .sbi
beside a cue sheet when one is present
(EmuFramework/). Cheats are
off (Saturn.emu/), and ui.png, gpOverlay.png and the
shader sources are drawn from the application bundle
(EmuFramework/,
EmuFramework/,
EmuFramework/).
7 files. One of 2 is required, for the games' region. 5 are optional.
In this collection: 7 in repo and 0 missing.
Required
Section titled “Required”| File | Status |
|---|---|
sega_101.binSaturn BIOS v1.01, read for Japan and Asia NTSC
Hashes, validation, source and more
|
in repo Region: Japan and Asia (NTSC) |
mpr-17933.binSaturn BIOS read for every area outside Japan and Asia NTSC
Hashes, validation, source and more
|
in repo Region: North America, Europe, Oceania, South Korea, Asia (PAL), Brazil and Latin America |
Optional
Section titled “Optional”| File | Status |
|---|---|
sega_100.binSaturn BIOS v1.00, accepted for Japan and Asia NTSC
Hashes, validation, source and more
|
in repo Region: Japan and Asia (NTSC) |
sega1003.binSaturn BIOS v1.003, accepted for Japan and Asia NTSC
Hashes, validation, source and more
|
in repo Region: Japan and Asia (NTSC) |
sega_100a.binSaturn BIOS v1.00a, accepted for every area outside Japan and Asia NTSC
Hashes, validation, source and more
|
in repo Region: North America, Europe, Oceania, South Korea, Asia (PAL), Brazil and Latin America |
mpr-18811-mx.ic1King of Fighters '95 ROM cart
Validation, source and config key
|
in repo |
mpr-19367-mx.ic1Ultraman - Hikari no Kyojin Densetsu ROM cart
Validation, source and config key
|
in repo |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start