VOGONS

Common searches


First post, by almeath

User metadata
Rank Member
Rank
Member

I have recently forked DOSBox SVN on Github to provide a customized version for macOS (Intel 64-bit). It currently incorporates the following patches:

- Munt : for MT-32/CM-32L emulation
- Glide : ready to use with the OpenGlide library for 3dfx graphics "pass-through" support (see my OpenGlide fork on Github)
- 3dfx Voodoo : software emulation of the 3dfx Voodoo graphics card
- Nuked OPL3 : emulates the Yamaha YMF262/CT1747
- Memory : increases memory limit to 384mb for use with Windows 9x
- Large HD : increases hard drive image size limit (seems to work reliably up to 8GB), also useful for Windows 9x
- CGA monochrome : machine type cga_mono is available, use F11 to cycle through amber, green, white, paper white
- Fluidsynth : Fluidsynth software MIDI synthesizer
- 4mb vram : Increases video ram for emulated S3 video chip to 4mb (better performance in some games such as Duke Nukem 3D)
- PC speaker : patch to improve the authenticity of PC speaker emulation (can be enabled/disabled)

My Github fork is here:

https://github.com/almeath/DOSBox-SVN-64-bit-for-macOS

I have also provided a pre-built version for those who are unable to compile from the source:

https://www.dropbox.com/s/qaz72fxo0zhhbho/DOS … 64.dmg.zip?dl=0

The DMG contains two versions:

- A 'standard' DOSBox application that operates the same as the one you would download from the DOSBox website
- A 'self-contained' bundle that I developed myself. You can duplicate it as required to create individuals apps for your DOS games (they should be transferable between different Macs)

I have included full instructions for both versions in the DMG file.

My intention is to keep both the forked source code (with build instructions) and pre-built apps up to date, incorporating additional patches that I find useful.

I am interested in receiving feedback on these apps, as I have only run and tested these on my own Macs - a 2019 iMac and 2015 MacBook Pro. It would be good to know if these work as intended or if I need to fix any outstanding issues.

Thanks in advance. 😀

Reply 2 of 9, by almeath

User metadata
Rank Member
Rank
Member
Warrex wrote on 2021-04-06, 10:49:

Thank you very much! Can you provide a universal app with native support for Apple Silicon / the M1 SoC / arm64? I did not find any info on that in the "Compile SVN in macOS?"-thread.

No problem, hope you find it useful.

On the issue of Apple Silicon support, I am dependent on the upstream development of the DOSBox SVN source. All I am doing here is implementing various custom patches to the source and ensuring operability with current versions of MacOS. I only have access to Intel Macs, and more importantly I do not have the coding skills to implement support for a new architecture.

Currently the official DOSBox (0.74-3-3) only supports three architectures on the Mac ; x86_64, i386 (i.e. 32-bit, for MacOS Mojave or earlier) and PowerPC. It is not 'universal' in the current sense of the term (i.e. x86_64, Apple Silicon).

You might want to check out the DOSBox Development sub-forum, as there may be discussions in there about planned support for Apple Silicon. As soon as it is available in SVN, it will automatically be available in my fork as I keep it on par with the SVN source. That will apply to the Github source, but I will not be able to test anything until I purchase an Apple Silicon machine.

Reply 3 of 9, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

so far there is no satisfying solution for the silicon. The dynamic core is not working (crashes) and there are solutions in other forks but these are mostly hackish and affects other architectures negatively (e.g. works on silicon but crashes on x86_64).
BUT so far Rosetta2 is amazing and SVN runs really fast. I can provide benchmarks later 😀

Edit:
Benchmark PCPbench:
iMac Pro 3 GHz, Core 10 Intel Xeon: 167 fps
MacMini 2.5 GHz, Dual-Core Intel Core i5: 105 fps
MacMini M1 (Rosetta2 emulation): 127 fps

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 9, by Warrex

User metadata
Rank Newbie
Rank
Newbie

Thank you both for the feedback!

PC Player Bench - have not seen that in a very long time. 😀 As for the scores themselves they seem to be pretty underwhelming considering that the M1 has like 3x the ST performance of the 2.5 GHz Intel Core i5-3210M and 6x the MT performance. The GPU is also much faster.

Reply 5 of 9, by kjliew

User metadata
Rank Oldbie
Rank
Oldbie

DOSBox SVN on ArchLinux x86_64
Benchmark PCPBench on Ryzen 2500U
PCPBENCH /once
VESA LFB 640x400 - 179.8 fps
PCPBENCH 4101 /once
VESA LFB 640x480 - 159.5 fps

/EDIT by DOSFREAK DELETED non-related information

Last edited by kjliew on 2021-04-07, 19:02. Edited 3 times in total.

Reply 6 of 9, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

No one needs more than 30fps in PCPBench 😉

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 7 of 9, by Warrex

User metadata
Rank Newbie
Rank
Newbie
Dominus wrote on 2021-04-07, 18:29:

No one needs more than 30fps in PCPBench 😉

How dare you! It is as important to be the king the school yard as it ever was! 😉 Guess I have to wait for the Apple Silicon fixes then.

Reply 8 of 9, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Splitt off the other Qemu discussion to not further derail this thread. Sorry for derailing it to begin with through the benchmark posts. Wasn't intended. Please continue the Qemu discussion at DOSBox SVN - Qemu on M1 benchmark comparison discussion

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 9 of 9, by almeath

User metadata
Rank Member
Rank
Member
Dominus wrote on 2021-04-07, 19:29:

Splitt off the other Qemu discussion to not further derail this thread. Sorry for derailing it to begin with through the benchmark posts. Wasn't intended. Please continue the Qemu discussion at DOSBox SVN - Qemu on M1 benchmark comparison discussion

That's OK, I am sure people are keen to hear about the progress with Apple Silicon support.