DOSBox (http://www.dosbox.com/) is a DOS-emulator that uses the SDL-library.
Building from source
http://sourceforge.net/projects/dosbox/files/dosbox/0.74/dosbox-0.74.tar.gz/download
Edit src/gui/sdlmain.cpp
In the line 1746, remove "SDL_INIT_CDROM" like this:
if ( SDL_Init( SDL_INIT_AUDIO|SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_NOPARACHUTE
) < 0 ) E_Exit("Can't init SDL %s",SDL_GetError());
In the line 1521, replace "true" by "false" like this:
Pbool = sdl_sec->Add_bool("usescancodes",Property::Changeable::Always,false);
Save your changes
Then type:
./configure --prefix=/resources/dosbox --disable-dynamic-x86 --disable-opengl CPPFLAGS="-I/resources/indexes/include/SDL"
make
make install
package register dosbox
To launch,type dosbox
For help,type man dosbox