I first used this: https://git.cryptopath.org/cer...
Only one important commit is there: https://git.cryptopath.org/cer...
That code compiled but did not work. I made changes and got a DOS program to run. Then I decided to start with a git repository which has all the DOSBox history and re-do things in a cleaner way. These two em-dosbox-0.74 commits on Jan 5, 2014 are based on the cerial/dosbox commit mentioned earlier:
Compile error fixes f6e0953
Disable SDL CD and CD image support on Emscripten. 59e11b1
For example, take a look at how CD function bodies were commented out and replaced with "return false" in the cerial commit. I used a different method, removing most CD functions and using "#ifdef EMSCRIPTEN".
I can safely say I did most of the porting work overall, but Ismail deserves some credit. I am sorry about not saying anything in the commit messages. Don't forget to credit the DOSBox developers. The porting work is tiny compared to the overall effort invested in DOSBox.