Live data from Hacker News

SDL2 for macOS 9 “rough draft”

macintoshgarden.org

21–30 of 62 posts

Re: SDL2 for macOS 9 “rough draft”

#21
post #11

Looks neat! SDL seems open to supporting legacy platforms, so hopefully it'll get mainlined at some point (at this point, may be more likely if they port SDL3 though, SDL2 is in maintenance mode). Does anyone know if it's possible to use a new compiler for this rather than CodeWarrior 7? It would make it easier to port stuff to Mac OS 9 if you don't also have to deal with the compiler only supporting old C/C++ standa…

Retro68k allows you to build with gcc12 https://github.com/autc04/Retro68

Re: SDL2 for macOS 9 “rough draft”

#22
post #16

Wouldn't it be easier to cross-compile using a modern LLVM/GCC? I assume both have 68k backends?

I was really confused by the mention of 68k at first since MacOS 8.6 dropped support for that, but following the link it looks like it supports System 7 as well.

Cross-compiling would be faster (than emulation or too-old hardware), but I have never heard it called "easy". There are a lot of projects out there that need special configuration, and many don't even support the HOSTCC variable, etc. And that's before considering the importance of system libraries.

Re: SDL2 for macOS 9 “rough draft”

#23

Is SDL2 just something that everyone is expected to know what it is? I was thinking it was about a Software Development Lifecycle on Mac0S9, but it clearly isn't... but there is no where in this post or that page that explains what SDL2 is.

Yes, it is one of those things that I’d expect your average HN user to know about

Re: SDL2 for macOS 9 “rough draft”

#24
post #22
post #16

Wouldn't it be easier to cross-compile using a modern LLVM/GCC? I assume both have 68k backends?

I was really confused by the mention of 68k at first since MacOS 8.6 dropped support for that, but following the link it looks like it supports System 7 as well. Cross-compiling would be faster (than emulation or too-old hardware), but I have never heard it called "easy". There are a lot of projects out there that need special configuration, and many don't even support the HOSTCC variable, etc. And that's before cons…

I commented that because the author said "dealing with the foibles of CodeWarrior". I guess in the scenario cross-compiling wouldn't be easy, but possibly easier?

Re: SDL2 for macOS 9 “rough draft”

#26
post #25

Uhm, nothing says what SDL is ? The description is an interesting story about the struggles of getting vintage code to build; but it assumes that the reader knows what the thing is to begin with.

If you do not know what it is, nor cant be arsed to look it up perhaps hackernews is not the correct discussion forum for you. Lurk more.

Re: SDL2 for macOS 9 “rough draft”

#27
Wondering what I could do with it ... I rewrote Glypha (an old Mac shareware game I wrote) using modern SDL2. Might be fun to try to "back port" (?) it to OS 9 on top of SDL2 (rather than the clunkier CopyBits() calls I used in the original shareware game).

Re: SDL2 for macOS 9 “rough draft”

#28
post #25

Uhm, nothing says what SDL is ? The description is an interesting story about the struggles of getting vintage code to build; but it assumes that the reader knows what the thing is to begin with.

If you do not know what it is, nor cant be arsed to look it up perhaps hackernews is not the correct discussion forum for you. Lurk more.

I've been here longer than you, and have an order of magnitude more karma than you do.

Re: SDL2 for macOS 9 “rough draft”

#29

Is SDL2 just something that everyone is expected to know what it is? I was thinking it was about a Software Development Lifecycle on Mac0S9, but it clearly isn't... but there is no where in this post or that page that explains what SDL2 is.

What exactly is your background? MY first idea was that you might be very young but your account is from 2010.

Not knowing SDL feels like someone having no idea what C++ or Unreal Engine is. I am curious how you managed to avoid learning about SDL despite being on hacker news.

Re: SDL2 for macOS 9 “rough draft”

#30

Wondering what I could do with it ... I rewrote Glypha (an old Mac shareware game I wrote) using modern SDL2. Might be fun to try to "back port" (?) it to OS 9 on top of SDL2 (rather than the clunkier CopyBits() calls I used in the original shareware game).

I'd love to hear how that goes. I've never written any code for OS 9 or earlier. I have heard many things about the brilliance of QuickDraw for writing very fast 2D drawing code on the very limited hardware of the time. I have not heard anything about the actual experience of writing software with QuickDraw calls.

I'd also be really interested to know how SDL2 would fare by comparison. Would it be as fast on old hardware? It wasn't built with the assumptions of that old hardware in mind, so I would be very surprised if it performed as well.

Post reply on HN