Table Of Contents
- What is supported?
- I'm using SDL audio and my application locks up immediately.
- Why do I see bad flickering on my double-buffered surfaces?
Q: What is supported? A: SDL supports MacOS 9.0 and newer using both the ROM toolbox routines and GameSprockets. It is possible to support older versions of MacOS, and if you need this for any reason please contact the SDL mailing list. SDL can be built with either MPW (Apple's free compiler) or CodeWarrior.
Q: I'm using SDL audio and my application locks up immediately. A: Your audio callback will be called at interrupt time, so you should do no I/O in it, nor should you call functions that change the memory heap, like malloc(), free() etc. Not following this rule will lead to hard crashes on classic MacOS.
Q: Why do I see bad flickering on my double-buffered surfaces? A: The default SDL video driver does not do VBL-based flipping so it cannot sync to the monitor refresh. The DrawSprocket driver does do VBL-sync. Hold down the command key when starting your app and select the DSp driver. Or, you can add this line before you call SDL_Init():
putenv("SDL_VIDEODRIVER=DSp");