Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

SDL 3 officially adds DOS (DJGPP) support - binary build (Developers)

posted by RayeR Homepage, CZ, 18.05.2026, 22:03
(edited by RayeR on 20.05.2026, 18:06)

Well, I know why I hate that crap...
1st followed the wiki page:
https://wiki.libsdl.org/SDL3/README-dos
Indeed the 1st command failed because default CMAKE tries to use MSVC (cl) for some internal stuff. As I have only MinGW installed I had to setup a kludge (1st add mingw32 to path then add djgpp crosscompiler to the path) and modify the 1st command to:
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=build-scripts/i586-pc-msdosdjgpp.cmake

then it finally built without any error. It created static lib libSDL3.a and bunch of test programs. As I'm just sitting at Win11 PC I can test only via Dosbox-X. I tried some random, most of them works, including SB sound test, except qsort.exe that crashes. And obviously GL and Vulkan stuff doesn't work.

Download here: http://sourceforge.net/projects/ffmpeg-x264-dos/files

UPDATE: qsort.exe under plain DOS finished OK, so it's some Dosbox-X bug. BTW SDL DOS port use __djgpp_nearptr_enable so it cannot run in NTVDM (no fallback to banked modes)...

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
23453 Postings in 2214 Threads, 407 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum