Thread: SDL or not SDL?
View Single Post
Old April 12th, 2002   #12 (permalink)
nwagenaar
Emu author
 
nwagenaar's Avatar
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 114
Re: SDL or not SDL?

Quote:
Originally posted by Sanhime
There are some emulators that are available is SDL and non-SDL, like vboy and boycott adv.

So what is the difference? I don't understand.

Thanks.
*PHEW* Here comes a shot to explain what's the difference between the non-SDL and the SDL versions.

Mostly, the non-SDL versions requires lowlevel API's (like DirectX, GDI on WIN32) for graphics, sound, etc. Most of these versions have nifty GUI's.

The SDL versions uses the Simple Directmedia Layer which handles the API calls on the desired operating system without rewriting your sources for that specific OS (well atleast not all ), thus a recompile of the sources on that specific OS with SDL will result in the same program on an other OS. In short, SDL makes the program OS independant and can be made available for multiple operating systems.

An example is for instance the BoyCott Advance/SDL series. It's available for BeOS, Linux, FreeBSD, OpenBSD (pre-beta), QNX (pre-beta) and WIN32. And I only needed to change small portions in the source to make it compile on all these operating systems (allthough lu_zero is busy with the QNX version).

Speaking for the SDLemu releases, most of these releases have additional features on top of the official WIN32 versions of those emulators. For instance several graphical filters (2xSAI, SuperEagle, etc), OpenGL rendering and YUV rendering (on top of SDL rendering). Also I heard from numerous people that the SDL version of BoyCott Advance runs faster then the official WIN32 version I can play commercial games with 100% GBA speed on my Celeron 400 with a simple Voodoo 3 and it's definately not choppy.

Regards,

Niels Wagenaar
BoyCott Advance/SDL, Cygne/SDL, Handy/SDL and NeoPocott/SDL developer.
http://sdlemu.ngemu.com
__________________
Better a penguin that rox than
Windows that often locks!
nwagenaar is offline   Reply With Quote