SDL2 for macOS 9 "rough draft"
Published on: 2025-05-03 23:54:50
SDL2 for MacOS 9 "rough draft"
This is a "rough draft" of SDL2 for MacOS 9, using CodeWarrior Pro 6 and 7. Enough was done to get it building in CW, and the start of a "macosclassic" video driver was created. It DOES seem to basically work, but much still needs to be done. Event handling is just enough to handling Command-Q, there is no audio, etc etc etc.
----
Dev notes: Getting just SDL2 itself building, did take a lot of effort, but it was mostly "mechanical", dealing with the foibles of CodeWarrior, creating project files from scratch, things it couldn't handle, "simple" things like headers missing that are standard on more modern systems, etc. The first step was doing that with all "dummy" drivers. Was a bit shocked I got even that far. The results did absolutely NOTHING in the test programs. With a dummy video driver, they don't even try to set up textures, etc.
The key missing part was a Classic MacOS "video" driver, which also includes event handling. I determined it was no
... Read full article.