I've made a patch that enables GLES2 with a nice scanlines effect working in any resolution, and dynamic recompiler, for Raspberry Pi 1 and 2.
This is, no doubt, the best version of DOSBOX running on the Pi (taking into acount that DOSBOX is a VERY demanding emulator CPU-wise).
For now, until this patch is integrated into DOSBOX code, simply clone the SVN:
Code: Select all
svn checkout svn://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk dosbox-code-0
Code: Select all
cd dosbox-code-0
patch -p1 < dosbox_gles.patch
Code: Select all
CFLAGS="-Ofast -mfpu=vfp -march=armv6j -mfloat-abi=hard" CXXFLAGS="-Ofast -mfpu=vfp -march=armv6j -mfloat-abi=hard" ./configure --disable-opengl --enable-opengles
Code: Select all
CFLAGS="-Ofast -mfloat-abi=hard -march=armv7-a -mfpu=neon-vfpv4" CXXFLAGS="-Ofast -mfloat-abi=hard -march=armv7-a -mfpu=neon-vfpv4" ./configure --disable-opengl --enable-opengles
Code: Select all
make -j8
Now edit .dosbox/dosbox-SVN.conf and get sure that the following values are set like this:
Code: Select all
usescancodes=false
core=dynamic
Enjoy!