Did anyone ever answer this? I stuck some info farther down.
–joel
Martin Doering wrote:
Hello, SDL developers!
My name ist Martin Doering. I’m the maintainer of the EmuTOS project; we
write a clone of the Atari ST’s TOS operating system. This is meant for to
be run on emulators.
http://emutos.sourceforge.net
For that there is Aranym, an emulator of the Atari Falcon computer
hardware and more. EmuTOS can run on this. Aranym uses SDL for nearly all
it’s input and output functions.
http://aranym.atari.org
While thinking about, how I could make a small linux distribution for to
start Aranym, I got the idea: Why not port Aranym and SDL to the RTEMS
realtime OS?!?
http://www.oarcorp.com/RTEMS/rtems.html
It would be ideal for this purpose, if I would get it ported. You just
link RTEMS realtime executive to your application, like you would do it
with libc. You then get a bootable application (ok, it is a bit more to
do…). Running the emulation would then mean, just put in the boot disk
and go. No Linux around, just the running Aranym.
RTEMS has the following features:
- Realtime OS
- GPLed software
- Posix API
- Threading
- Multiprocessor
- Multiplatform (incl. Intel PC hardware)
- Fast
- Small
Ok. So, now how do I start to port SDL to it? I just plan to have it
running on the common Intel/PC hardware with RTEMS. Is there some
documentation about porting SDL to new platforms? I had a short look into
the different subdirectories of the current CVS. What would I need to add
at least and what do I need to change in the configure stuff?
With a PC, you should be able to use the i386-rtems target and one
of the pcXXX BSP variants. If you make extensive use of POSIX
services or just want to ease porting from Linux, then you
should add --enable-posix.
Not knowing the application, that’s about it.
At first this all is just an idea. And maybe, it will not be the preferred
platform for Aranym. But it could be an interesting thing. Also to have
SDL available on RTEMS maybe interesting for others too. An embedded
system with graphics capabilities maybe a good choice for many
applications.
It would be nice and light and could be a nice baseline anyway.
What do you think, could this be done, and how hard would it be?
If it doesn’t use UNIX processes or shared memory, it shouldn’t be
that difficult to port. The first step with any embedded environment
is getting hello world running though. :)> –
Martin Doering
–
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985