SDL DOS port? (Developers)
> > Did anybody check the SDL library whether is easy or hard to make a DOS
> > port of it. It is strange - there are many bizzare operating systems
> > supported but DOS isn't.
> >
> > http://www.libsdl.org/
>
> AFAIK SDL is a wrapper library, it doesn't include any OS specific code.
> The principal problem is that I don't know any good standard threads
> library for DOS. I didn't have the occasion to try FSU Pthreads and the
> GNU Pthreads port doesn't work too well for me, it is slow and often
> crashes.
Quoting Japheth's page (http://www.japheth.de/HX.html) :
"About SDL
SDL (Simple Directmedia Layer) is an Open Source effort to provide a multi-platform API for games, emulators, .... There are ports for various platforms available. As far as HXGUI is concerned, support for video, (wave) audio, keyboard, mouse, timer and threads is implemented. _Please be aware that there is no special version of SDL for HX (or DOS) available. It is the Win32 port of SDL which can be used with HX._ The SDL site is at http://www.libsdl.org/index.php, where the source code of all ports can be found."
P.S. The only problem with that is that it's probably compiled by MinGW, i.e. requiring the non-free MSVCRT.DLL. I think most DOS-related media stuff usually just uses Allegro for convenience (although obviously porting SDL stuff to that isn't as easy).
EDIT: Khusraw, I haven't tried yet, but if you want to attempt to compile FSU Pthreads, try searching the comp.os.msdos.djgpp archives for Ken Wang. He had some tips to build it (c. 2002) that seemed useful. It's been on my todo list to try, but I haven't gotten a "round tuit" yet. 
EDIT #2: I forgot I can just give you the link, duh. Here. 
Complete thread:
- SDL DOS port? - Laaca, 25.01.2009, 15:06 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- SDL DOS port? - Khusraw, 25.01.2009, 17:06
- SDL DOS port? - Rugxulo, 13.02.2009, 23:06
- SDL DOS port? - Khusraw, 14.02.2009, 15:18
- SDL DOS port? (FSU pthreads) - Rugxulo, 15.03.2009, 16:02
- SDL DOS port? (FSU pthreads) - Khusraw, 16.03.2009, 08:31
- SDL DOS port? (FSU pthreads) - Rugxulo, 15.03.2009, 16:02
- SDL DOS port? - Khusraw, 14.02.2009, 15:18
- SDL DOS port? - Japheth, 15.03.2009, 16:30
- SDL DOS port? - Khusraw, 16.03.2009, 08:16
- SDL DOS port? - Rugxulo, 13.02.2009, 23:06
- SDL DOS port? - Khusraw, 25.01.2009, 17:06
Mix view