CVS Update (MacOS X!)

This CVS snapshot contains the first stab at MacOS X support,
contributed by Stan Shebs!
http://www.libsdl.org/cvs.html

The MacOS X public beta has started, you can buy a beta CD at
Apple’s online store for $29.95, and install it on a Macintosh
with System 9.04 installed and 128 MB of RAM.

I’m not necessarily recommending that you do this, but if you
feel adventurous, you are welcome to let me know how it works. :slight_smile:

A full list of SDL CVS changes follows:

  • Added initial MacOS X support (thanks Stan Shebs)
  • Man pages have been updated (thanks Akawaka)
  • SDL_WarpMouse() now works on BeOS (thanks Christian)
  • Windows GDI driver now supports 565 modes (thanks Ben)
  • Correctly load OpenGL extensions on Win32 (thanks Beosil)
  • Fixed crash with some threaded audio drivers
  • Audio is now closed in SDL_Quit(), if necessary

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

Sam Lantinga wrote:

The MacOS X public beta has started, you can buy a beta CD at
Apple’s online store for $29.95, and install it on a Macintosh
with System 9.04 installed and 128 MB of RAM.
http://www.apple.com/macosx/

I’m not necessarily recommending that you do this, but if you
feel adventurous, you are welcome to let me know how it works. :slight_smile:

It works great! It’s very cool to have a system with the usual
flashy graphics stuff, then open a terminal window and have
access to all the sekrit BSD commands. But don’t use rootly
powers to rename /System/Library - you will be punished hard!
(voice of personal experience… :slight_smile: ). The system is actually
quite stable now, and although I’ve been using various pre-beta
versions for six months (and some of those did crash, like when
I did stupid things like, renaming critical system files), I have
yet to lose any data.

The port in CVS is pretty basic, and is missing some stuff,
most notably sound, because I haven’t yet figured how to
replace the Sound Manager calls that were dropped from Carbon.
But I was able to use it to build Missile Command, Circus Linux,
SDL Doom, etc. I have a psDoom + SDL Doom hybrid that you can
use to shoot at OS X processes, I’ll be making that available
soon. (It’s fun to kill the Dock or the Finder, but unnerving
to see them auto-revive. Bad to kill the window server tho. :slight_smile: )

Stan

The port in CVS is pretty basic, and is missing some stuff,
most notably sound, because I haven’t yet figured how to
replace the Sound Manager calls that were dropped from Carbon.

I think we will need to use CoreAudio. BTW, is this just a Carbonized SDL
we’re talking about here? I was hoping to make SDL not rely on Carbon…> From: Stan Shebs

But I was able to use it to build Missile Command, Circus Linux,
SDL Doom, etc. I have a psDoom + SDL Doom hybrid that you can
use to shoot at OS X processes, I’ll be making that available
soon. (It’s fun to kill the Dock or the Finder, but unnerving
to see them auto-revive. Bad to kill the window server tho. :slight_smile: )

Stan

The port in CVS is pretty basic, and is missing some stuff,
most notably sound, because I haven’t yet figured how to
replace the Sound Manager calls that were dropped from Carbon.

I think we will need to use CoreAudio. BTW, is this just a Carbonized SDL
we’re talking about here? I was hoping to make SDL not rely on Carbon…

It’s sort of a blend between Carbon and POSIX at the moment.
I’m hoping to use only native API’s as soon as we figure out what
those are… :slight_smile:

I’m pretty excited about MacOS X - now if only I had waited to buy
my iBook so I could have enough disk space and RAM to run it. :slight_smile:

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software> > From: Stan Shebs

Darrell Walisser wrote:

The port in CVS is pretty basic, and is missing some stuff,
most notably sound, because I haven’t yet figured how to
replace the Sound Manager calls that were dropped from Carbon.

I think we will need to use CoreAudio. BTW, is this just a Carbonized SDL
we’re talking about here? I was hoping to make SDL not rely on Carbon…

Yes, this is just carbonization. I doubt that CoreAudio is an option;
Carbon and Cocoa are the two official APIs, and some of the beta->final
work amounts to closing backdoors that were in the developer previews.
(You can imagine the internal screams when one of those doors gets shut
on somebody’s fingers, metaphorically speaking heh-heh.)

Supposedly Quicktime is the way to go for all audio.

Stan> > From: Stan Shebs <@Stan_Shebs>