[SDL] About porting SDL to a simple OS (called uCore)
grimfang4 at gmail.com
Mon Mar 11 06:09:28 PDT 2013
A good place to start is to look at the SDL source from the hg repository.
There's a file in the base directory called README.Porting that tells you
which files to start with, to use the dummy drivers and to build them up
for your platform. It's likely that the drivers for other OSes will be
good reference for the code you need to write.
If you are new to SDL, it is also a good idea to write a couple of small
SDL programs on another platform to get a feel for what it does. You can
look at the test programs too, and use the mailing list to clarify any
On Mon, Mar 11, 2013 at 6:13 AM, Peiyun Hu <penn.peiyun at gmail.com> wrote:
> Hello, everyone,
> I'm just a newcomer to SDL and want to port SDL to a simple OS called
> uCore, which is based on MIT's XV6.
> I am told that SDL is convienient to port to other platforms. Now I have a
> very basic confusion. I know that what SDL could do includes video, events,
> audio, threads, timer etc. But this seems too general for me. I wonder
> whether there is a list of modules that must be reimplemented when porting.
> Many thanks!!!
> Peiyun Hu 胡沛筠
> Department of Computer Science and Technology, Tsinghua University
> Beijing, P.R.China
> Zip Code: 100084
> SDL mailing list
> SDL at lists.libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL