Skip to content

Comments

Add emscripten platform to makefile#14

Open
JoeOsborn wants to merge 60 commits intolibretro:mainfrom
JoeOsborn:emscripten-build
Open

Add emscripten platform to makefile#14
JoeOsborn wants to merge 60 commits intolibretro:mainfrom
JoeOsborn:emscripten-build

Conversation

@JoeOsborn
Copy link

This seems to allow dosbox-pure to build on the emscripten platform. The core begins to load but doesn't seem to fully work in a browser; that said, I can't really get any Emscripten core I've compiled myself to work in a browser outside of the official release packages. So it might be working, but I can't figure out how to test it properly.

schellingb and others added 30 commits February 1, 2021 05:24
Disable strip for debug builds
Fix Android compile warning
Increase version number
Update DOSBox SVN
Change "Disable extended memory" mode to still emulate 16 MB of RAM
Show CPU overload warning only once per minute
Add "Custom Keyboard + Mouse" input modes
Don't let frontend render faster than the emulated monitor refresh rate
On some platforms required for strdup in encoding_utf.c
- Backport schellingb#111 - Add mips32/OpenDingux to .gitlab-ci.yml
- Backport schellingb#133 - Add separate target for Mingw
…rget as well.

Dynarec is disabled for ios9 (armv7), ios-arm64 and tvos-arm64 for now.
Some platforms can have extremely low default values.
* Use vita funcs
* Fix static linking
* Adjust vita build flags
Also clean up formatting
@JoeOsborn
Copy link
Author

Should this be filed against @schellingb ’s repository or this fork?

@LibretroAdmin
Copy link

Hi, @schellingb over to you.

@JoeOsborn
Copy link
Author

Given libretro/RetroArch#15033 this may work much better! I didn’t realize at the time that the pthread builds weren’t as well supported on the RA side. Is there a way to force RA to build dosbox with pthreads on?

DOSbox just hangs without them.  Note that RA should be built using
pthread=4 or whatever.
@LibretroAdmin
Copy link

Hi, I tested this on our buildbot - it doesn't compile -

https://git.libretro.com/libretro/dosbox-pure/-/jobs/3284326

@JoeOsborn
Copy link
Author

Is there a way to tell the buildbot to compile this core with pthread=2 or pthread=4? This core seemingly won’t work without threads because of how it connects libretro api with the dosbox system.

@JoeOsborn
Copy link
Author

That said, I was seeing weird phenomena like DOS out of memory errors for Commander Keen 1 and freezes for Keen 4 and Wolf3D, and I’m not familiar enough with the dosbox code to make attempts at diagnosing those. So let’s disable dosbox-pure for emscripten even though it does compile, unless someone can own the fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants