SDL under MacOS/68K

Hi there; I’m interested in keeping up a port of an SDL application
(developed with Linux/X/gcc) on an old but servicable Macintosh
(Quadra 610 w/ 36MB RAM). To this end I’ve downloaded Macintosh
Programmer’s Workshop but nobody has compiled a version of SDL for 68k
Macs. Is this difficult to do with MPW, and can anyone who’s tried
something similar offer any tips?

cheers,–
Matthew > http://www.soup-kitchen.net/
> ICQ 19482073

We haven’t focused on 68k support for quite a while now. There have been
old versions of SDL that supposedly ran on 68k, so don’t give up yet :slight_smile:
I have never compiled anything besides trivial console C apps on 68k
before, but here are some things I can think of that might need to be
done:

-SDL seems to run on OS 8.1 or higher on PPCs (which I have verified).
Since 68k is not supported on 8.1, there might be some APIs missing in
8.0 that we use, and these will have to be replaced with equivalents.

-The audio code will have to be modified to support 68k interrupts.

-It will have to be compiled without OpenGL, and perhaps DrawSprocket
(fullscreen video driver) and InputSprocket (joystick driver).

-You may need the latest version of the Universal Headers that still
supports 68k machines to build successfully. Hopefully you can dig up this
info on Apple’s site or elsewhere.

The above changes are not that extreme. It shouldn’t be too hard to
reconfigure the makefiles for MPW/68k. But there are some small additional
problems in the code that might take more time to discover and repair…On Fri, 21 Sep 2001, Matthew Bloch wrote:

Hi there; I’m interested in keeping up a port of an SDL application
(developed with Linux/X/gcc) on an old but servicable Macintosh
(Quadra 610 w/ 36MB RAM). To this end I’ve downloaded Macintosh
Programmer’s Workshop but nobody has compiled a version of SDL for 68k
Macs. Is this difficult to do with MPW, and can anyone who’s tried
something similar offer any tips?

cheers,


Matthew > http://www.soup-kitchen.net/
> ICQ 19482073


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Ah, shame, the project deadline doesn’t give me enough time to hack around
with the libraries, let along getting into MacOS programming. I was
hoping I could deliver a MacOS version alongside the Windows & Linux
executables, but unless I can lay my hands on a PPC-based Mac it might be
tricky. Thanks for the tips, though, in case I find myself with a couple
of weeks to spare :)–
Matthew > http://www.soup-kitchen.net/
> ICQ 19482073