SDL MacOS Problems

I’m using SDL 1.1.2 with COdewarrior 5 on a PowerMac and MacOS9.
I’m trying to make some of the demos compile under MacOS. I’m having trouble
with HElliZEr 1.0.
Now I’ve been able to make the graohics work, and it is not bad at all. The
problem is sound. I can’t make the mikmod sdl driver work.
Does somebody has some idea or hint?

I’ve also noticed that while the calls:
SDL_RemoveTimer
SDL_AddTimer
are compiled in SDLlib.ppc, they are not exported in the stub lib.
well,I exported them and then tried testtimer. It freezes and I can’t do
anything else than forcing a quit from the program.

Any ideas? I think that probably procedure descriptors (UPP?) should be used
in the Mac version for the timercallback.
Riccardo Trocca

BTW, I know it’s possible to get mikmod to work on MacOS, because I
ported SDL_mixer to it. I don’t know what you would have to do with
HEllIZER though.

I’ve also noticed that while the calls:
SDL_RemoveTimer
SDL_AddTimer
are compiled in SDLlib.ppc, they are not exported in the stub lib.
well,I exported them and then tried testtimer. It freezes and I can’t do
anything else than forcing a quit from the program.

The testtimer program isn’t freezing, it’s just running a 25 second timer
test. It’s more obvious on UNIX platforms because it prints to standard
output as it runs.

SDL_AddTimer() and SDL_RemoveTimer() are not yet supported under MacOS,
though stub functions are now exported. The Mac port uses the older
SDL_SetTimer() API which supports only one timer, and yes, it uses UPPs,
I think.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software