DOSBox ported to Emscripten is a web-focused port of the classic DOSBox emulator that enables legacy DOS applications and games to run directly inside modern web browsers using WebAssembly and JavaScript. Built with Emscripten, the project compiles the original DOSBox C/C++ codebase into a format that can execute efficiently in a browser environment, bringing near-native performance to web-based emulation. This allows users to launch and interact with DOS programs without installing any software locally, significantly lowering the barrier to accessing retro PC software. The emulator supports a large portion of DOSBox functionality, including CPU emulation, graphics rendering, and input handling, although some edge cases may still present limitations due to browser constraints. One of its key challenges is file persistence, as the default in-browser filesystem is temporary unless explicitly extended.
Features
- DOSBox emulation compiled to WebAssembly for browser execution
- Ability to run DOS games and applications without installation
- Asyncify integration to improve execution flow in browsers
- Support for graphics, input, and core DOSBox functionality
- Embeddable into custom web applications and interfaces
- Compatibility with modern web servers and deployment workflows