First post, by aqualung99
Greetings fellow DosBox fans!
I would like to announce that I have created a new branch of DosBox 0.74!
My branch offers these features:
> All rendering/scaling handled by OpenGL-ES shaders
> OpenGL-ES support works on Arm chips on Linux
- - Works 100% on my ODroid U3 running this Ubuntu:
http://odroid.in/ubuntu_14.04lts/ubuntu-14.04 … 20150224.img.xz
- Other Arm should work if an OpenGL-ES capable desktop is present!
> Supports 2-pass rendering; 2nd pass has bilinear interpolation enabled
- - Comes included with optimized bicubic filtering 2-pass shader
- Comes included with single-pass "CRT" shader
- ODroid is only fast enough to run the simplest of shaders though!
- You can always change the shaders to do whatever you might want
> Fallback to regular OpenGL on x86 desktops (thanks to SDL). GLES shader files work for both!
> Fully ported to SDL 2.0.4
> On Linux, MUNT library (libmt32emu) support is integrated for MT32 emulation
- - You will still need the MT32 control ROMs
> On Linux, FluidSynth support is integrated for General MIDI (GM) emulation
- - A small sound font is included, but you can use others
> (On Windows, you can use regular midi out plus either
MUNT for MT32 or CoolSoft's Virtual Midi Synth for GM,
so you don't need it built-in. Technically you still could.)
> Physical CD-ROM support is lost (dropped by SDL)
> Built-in screen-capture support is lost (there are work-arounds now-a-days)
You can browse the source code here:
https://github.com/aqualung99/dosbox-0.74-ES
or clone with:
https://github.com/aqualung99/dosbox-0.74-ES.git
See the file 'Install-0.75GLES.txt' for instructions on installing the
prerequisites and other optional components.
I've left the default CPU cycles to be "Auto" but I highly, highly recommend setting
a fixed number of cycles, on *all* platforms. The "Auto" code no longer seems reliable.
This version is known working on the following platforms:
> ODroid U3 running Ubuntu 14.04.2
> AMD x86 running Arch
> i7 x86 running Arch
> i7 x86 running Fedora
> i7 x86 running Windows
- If you build under Windows using DevStudio, make sure you include the "/Oy-"
compiler flag to disable the "Omit frame pointers" optimization.
I've noticed that particular optimization causes the Microsoft compiler to
generate bad DosBox timing code.
Thank you and thanks to the DosBox team!
-aqualung99
Update!
I have ported Timothy Lottes' CRT shader to the DosBox-ES format! The new shader is called "DosBoxMain_Lottes2.ps" and is now installed as part of the normal build. See pictures below!
Please note this new shader is complex and even my Jetson K1 (ARM) has a hard time running it quickly. But PCs run it great (remember, my version supports both ARM OpenGL-ES and x86 OpenGL! And a single shader for all!)