Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

SDL DOS port? (Developers)

posted by Rugxulo Homepage, Usono, 13.02.2009, 23:06

> > 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. :-D

EDIT #2: I forgot I can just give you the link, duh. Here. ;-)

 

Complete thread:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (2 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum