The source is available on sourceforge.net
I think it just has to be built for the iphone system

Here's the source code
SourceForge.net: DOSBox DOS Emulator