Hi
OK, I am gonna have a stab at porting SDL onto an embedded system.
Here is the h/w spec
Fujitsu Carmine with the following:
? Maximum resolution 1280 x 1024
? Maximum color depth 24bpp
? Up to 8 Layers of image overlay
? Accelerated 2D drawing
? Accelerated 3D drawing
? Anti-aliasing
? Alpha blending
128MB of DDR SDRAM memory, 64bit bus
running at 133MHz
This system has dual monitor support, and it seems that you just blit to a different address for the 2nd screen.
It’s all in native C so my question is…where do I start? I have a lot of experience on embedded systems but
not on this lower-level stuff. Can’t be too awkward…ho ho.
Any pointers are very welcome! 
Ed__________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
Hi Ed,
I seem to remember there being something either in the source tree or
on the website about porting to other systems.
Fundamentally, you #include the public headers and provide
implementations for all of the functions.
Start with basic functionality using software implementations (you can
probably c&p from other platforms).
Initialisation, basic frame buffer, polled-I/O, then event queuing and
then more advanced 2d/overlay and finally GL/ES (assuming that’s what’s
used for 3d).
The most important thing is to make sure you write a complete set of
tests for whatever you’re implementing, it will save you lots of time in
the long run (although it IS a serious pain while you’re doing it!). I
don’t know how complete the current test suit is, but if you do find a
deficiency, make sure to include your new test code in your distribution.
Eddy
Edward Byard wrote:> Hi
OK, I am gonna have a stab at porting SDL onto an embedded system.
Here is the h/w spec
Fujitsu Carmine with the following:
? Maximum resolution 1280 x 1024
? Maximum color depth 24bpp
? Up to 8 Layers of image overlay
? Accelerated 2D drawing
? Accelerated 3D drawing
? Anti-aliasing
? Alpha blending
128MB of DDR SDRAM memory, 64bit bus
running at 133MHz
This system has dual monitor support, and it seems that you just blit to
a different address for the 2nd screen.
It’s all in native C so my question is…where do I start? I have a
lot of experience on embedded systems but
not on this lower-level stuff. Can’t be too awkward…ho ho.
Any pointers are very welcome! 
Ed
Not happy with your email address?
Get the one you really want http://uk.docs.yahoo.com/ymail/new.html -
millions of new email addresses available now at Yahoo!
http://uk.docs.yahoo.com/ymail/new.html
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org