Based on dreamlayers'em-dosbox, I made my fork of joncampbell123's DOSBox-X buildable on Emscripten.
Emscripten branch in my repo
For some reason, asm2wasm doesn't like -O3 for my build with Emtepretify on. So the PC-98 game demos below run with slow graphics, not suitable for Danmaku shooting.
Demos now all use fixed cycles=12000. If you feel the CPU usage is too low, push F9+Shift+"+" to speed up.
New: asm2wasm problem fixed. Thank you kripken! now Emtepretified builds are also -O3.
Emtepretified builds (more stable, can run the DOS shell and .BAT files but slower)
Demo 1: Touhou 2 Touhou-Fuumaroku
Demo 2: Touhou 4 Touhou-Gensokyou
Demo 3: Touhou 5 Touhou-Kaikidan
Demo 4: Touhou 3 Touhou-Yumejikuu
Touhou 1's PSG noise channel sounds incorrect, but I will put it here as reference. FIXED
Demo 5: Touhou 1 Touhou-Reiiden
NEW: Touhou 2 with Munt MT-32 MIDI music
This requires a bit more CPU and RAM than those without MT-32 emulation.
non-Emtepretified builds (faster, but less stable.)
Demo 1: Touhou 2 Touhou-Fuumaroku
Demo 2: Touhou 4 Touhou-Gensokyou
Demo 3: Touhou 5 Touhou-Kaikidan
Demo 4: Touhou 3 Touhou-Yumejikuu
Demo 5: Touhou 1 Touhou-Reiiden
DOSBox-X with Emularity frontend. SDL2 build without mobile support.
Touhou 5 Touhou-Kaikidan
Flame Zapper Kotsujin
NEW: Touhou 1 Touhou-Reiiden
DOSBox-X with Emularity frontend, built with Emscripten SDL1. With mobile support.
Touhou 5 Touhou-Kaikidan
Touhou 1 Touhou-Reiiden
Flame Zapper Kotsujin
NEW: Some demos had got some mobile support such as a software keypad.