SDL on MacOS

SDL has taken its first baby steps on MacOS

PPC demos for thousands or millions of colors are available at:
http://www.devolution.com/~slouken/SDL/SDL-Demos.sea.hqx

Codewarrior project and resource files for building the library:
http://www.devolution.com/~slouken/SDL/SDL-Library.sea.hqx
These require the latest CVS snapshot.

Note: These are only for serious Mac enthusiasts with a copy of CodeWarrior.

What works:
Most of the graphics at thousands or millions of colors

What doesn’t work:
Just about everything else.

This is just to help the Mac porters of SDL, Colin Klipsch and Mark Elliott,
get started.

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

SDL has taken its first baby steps on MacOS

PPC demos for thousands or millions of colors are available at:
http://www.devolution.com/~slouken/SDL/SDL-Demos.sea.hqx

Codewarrior project and resource files for building the library:
http://www.devolution.com/~slouken/SDL/SDL-Library.sea.hqx
These require the latest CVS snapshot.

Note: These are only for serious Mac enthusiasts with a copy of CodeWarrior.

Guess I’m one of those.

I will grab these immediately and work on getting DrawSprocket support for
resolution switching done as soon as I can.

I plan to look at the event stuff next as long as I am not treading on
toes. It looks straightforward. SDL is so much like the MacOS APIs in many
ways.

Colin, what are you doing ? We should maybe talk to avoid duplication of work.

Mark--------------------------------------------------------------------------------
Dr Mark Elliott Tel. (+44)(0)1222 874686
Department of Chemistry Fax. (+44)(0)1222 874030
University of Wales, Cardiff
PO Box 912
Cardiff CF1 3TB
UK email <@Mark_Elliott>

Hi,

I just ran the two demos in 8 bit colour (my powerbook won’t do 16 bit) and
apart from the colours being screwed up, they both work. Good start.

The flame demo seems slow, but maybe that’s just my powerbook.

What are you doing with the cursor. It seems that you are hiding it (some
of the time) and replacing it with your own, which is occasionally obscured.

I will have a look at this code later today and see what I can do with it.
The only real way to mess with the cursor in MacOS is using a vbl task.
There are so many MacOS calls which can’t be made at interrupt time that I
think you will be better to make the normal cursor work.

Really I can’t do too much until I get home and work on my main machine,
but I will definitely look through the code tonight and hopefully make a
few modifications to the MacOS stuff by tomorrow.

I really would like to know which parts Colin is working on.

Sam, have you looked at the InputSprocket API ? It really is nice, and
seems to give the one thing you don’t have at the moment - a way to
configure buttons, keys, etc. to certain actions, and do it in a consistent
way for all input devices.

Mark--------------------------------------------------------------------------------
Dr Mark Elliott Tel. (+44)(0)1222 874686
Department of Chemistry Fax. (+44)(0)1222 874030
University of Wales, Cardiff
PO Box 912
Cardiff CF1 3TB
UK email <@Mark_Elliott>