Hacker News new | ask | show | jobs
by csl 4158 days ago
If anyone is interested, I just wrote a simple guide on how to get your own DOS programs up and running with em-dosbox: https://csl.name/post/em-dosbox/

Em-dosbox and emscripten are really amazing projects. An emulator is cross-compiled to JavaScript, which is then JITed in your browser's js VM. It's not only amazing that it works, but also that it runs pretty well (compared to native dosbox, it's only a little bit slower on some programs).

1 comments

how do you think em-dosbox compares to jsdosbox?
I like that it we can use either zip archives or img files with jsdosbox-- and that the setup is pretty straightforward.

Here's a guide I hacked together a couple of months ago for comparison: http://atechdad.com/how-to-jsdosbox/

em-dosbox uses emscripten's packager by default, but it doesn't have to. Anything that can dump files into an emscripten virtual filesystem will work. The Internet Archive's loader uses .zip file bundles via BrowserFS: https://github.com/jvilk/BrowserFS