New SDL Port

Hi there!

I’m sorry if this has become a common post for members of this list, but I
am starting a new port of SDL. I have not been able to find much information
so far on how to do this so I thought I’d try this list group. Does anybody
know of any good documents or advice on where to start? I’m sure I’ll need
to re-write certain low-level functions, but so far I’m just not sure which
etc…

Thanks, and I’m sorry if this is a very n00b question, I’m just getting
started and have not had a great deal of exposure yet to SDL.

Sincerely
Dirk Coetsee

Hey.

I believe there is a software only implementation of SDL as one of the
backends, at least for graphics (if memory serves it is called the
"dummy" video driver). I assume this is still true of SDL 1.3. If you
want to port SDL, simply copy the functions and implement them for
your platform of choice.

Regards,
Brian.

2009/3/19 Dirk Coetsee <dirk.coetsee at gmail.com>:> Hi there!

I’m sorry if this has become a common post for members of this list, but I
am starting a new port of SDL. I have not been able to find much information
so far on how to do this so I thought I’d try this list group. Does anybody
know of any good documents or advice on where to start? I’m sure I’ll need
to re-write certain low-level functions, but so far I’m just not sure which
etc…

The dummy driver isn’t a software driver, it’s a non-driver that doesn’t do anything. It allows you to start up SDL for graphical operations that take place off-screen without needing to set up any display surfaces or renderers.>________________________________

From: Brian <brian.ripoff at gmail.com>
Subject: Re: [SDL] New SDL Port

Hey.

I believe there is a software only implementation of SDL as one of the
backends, at least for graphics (if memory serves it is called the
"dummy" video driver). I assume this is still true of SDL 1.3. If you
want to port SDL, simply copy the functions and implement them for
your platform of choice.

Regards,
Brian.

My apologies, that is what I meant by software. Obviously you can’t
really have a display surface implemented without platform specific
code, but you can manipulate images in memory.

Regards,
Brian.On Thu, Mar 19, 2009 at 3:54 PM, Mason Wheeler wrote:

The dummy driver isn’t a software driver, it’s a non-driver that doesn’t do anything. ?It allows you to start up SDL for graphical operations that take place off-screen without needing to set up any display surfaces or renderers.

Thanks Bob, that was actually really helpful. I was kind of hoping to bypass
wading my way through all the code since I am on a very severe deadline,
but I guess there’s nothing for it. Thanks though, I just mainly need to
find and isolate the system-dependent parts so I can change them. It’s a
pity there’s no like guide… like a library of those functions. I’ll try
write one!

Dirk

2009/3/23 Dirk Coetsee <dirk.coetsee at gmail.com>

Thanks Bob, that was actually really helpful. I was kind of hoping to
bypass wading my way through all the code since I am on a very severe
deadline, but I guess there’s nothing for it. Thanks though, I just mainly
need to find and isolate the system-dependent parts so I can change them.
It’s a pity there’s no like guide… like a library of those functions. I’ll
try write one!

Please do! But, put it in the source code so it is extracted by doxygen.
Then it might stay around and get updated.

Bob Pendleton>

Dirk


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


±----------------------------------------------------------