HTMLSATURN Brings Sega Saturn Emulation to Plain JavaScript
A new Sega Saturn emulator written in plain JavaScript reaches version 1.0 with ten test games that boot and play sound.

Developer cheviman released HTMLSATURN, a new Sega Saturn emulator written in plain JavaScript with no build step or frameworks. The code is meant to be read: each chip has its own file, and where two hardware descriptions disagree, the code says which one it follows and why. Unknown behavior is marked as unknown, not guessed.
The 1.0 release boots the real BIOS and runs a test set of ten games, including Street Fighter Alpha, Virtua Cop and Daytona USA, with sound. In Chrome, Street Fighter Alpha runs at 60 frames per second and Virtua Cop at 58 to 60. Daytona USA is the slow one, at 44 to 50, where the SH-2 interpreter and the VDP1 rasterizer are both saturated.
Inside, the emulator models both SH-2 CPUs with per-instruction cycle counts, checked against 6,770 edge cases, along with the SCU, VDP1 rasterized in a Web Worker and VDP2 rendered in four threads. Still missing: VDP2’s VRAM cycle patterns, the bus wait states and VDP1’s time-sliced drawing, all listed in the README.
To try it, clone the HTMLSATURN repository, install Node.js 18 or later, run node serve.mjs --sab, open the local address in a Chromium-based browser, then load your own BIOS and disc images.