Porting SDL to vxWorks

I am evaluating porting SDL to both a new architecture (1) and vxWorks.
Can anyone advise me on a recommended approach? My first take is that
I’d be best off starting with the graphics layer, and making one of the
framebuffer layouts work in a very simple way, and then expanding on
this, and eventually moving on from there to other subsystems. This
would be in very generic C, and I’d be putting machine specific
optimizations off until the very end. Does this seem reasonable?

I’m new to SDL, and I’m not sure whether I’m biting off too much by
trying both simultaneously, but I don’t have access to any systems
running the new architecture and a supported os, or a supported
architecture running vxWorks, so I’m sort of stuck.

From searching the list, it appears people have started vxWorks ports in
the past, but I don’t see any mention of current work on them now. Can
anyone comment on the status of these ports?

Also, I note there is some discussion of SDL 2.0. How far along is that
process? Is it a substantially different source base? Would I be better
advised to start with that base, the current CVS, or a current stable
release?

  1. The architecture is a proprietary architecture that I’m under NDA
    about, so I really can’t give many details about it right now. It’s a
    system on a chip sort of thing. This will change as we near a release,
    of course, and the code will be contributed back (if anyone wants it)

Any advice or suggestions on this would be welcome.

Mark Anderson wrote:

I am evaluating porting SDL to both a new architecture (1) and vxWorks.
Can anyone advise me on a recommended approach? My first take is that

Well I’ve programmed a lot vxworks at work and I don’t understand how
you can fit SDL on it. At least the 5.x version that I know doesn’t have
any graphics or sound API. So, supposing you are executing it on an x86
architecture for instance, you’ll need to write anything, hardware
drivers at PCI level too for the gfx, the soundcard, the mouse…

You need at least to port something like svgalib and then start adapting
SDL.

Bye,
Gabry