SDL has official support for Linux, Windows, BeOS, MacOS, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, and IRIX. And unofficial (incomplete of buggy) support for Windows CE, AmigaOS, Atari, QNX, NetBSD, AIX, OSF/Tru64, and SymbianOS.
As can be seen among the supported systems are the original systems for Dungeon Master

At least have a look at <a href="http://www.libsdl.org">www.libsdl.org</a>