# SDL on MacOS

**URL:** <https://discourse.libsdl.org/t/sdl-on-macos/552>\
**Category:** SDL Development\
**Created:** [August 26, 1998, 4:31pm UTC](https://discourse.libsdl.org/t/sdl-on-macos/552 "1998-08-26T16:31:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [August 26, 1998, 4:31pm UTC](https://discourse.libsdl.org/t/sdl-on-macos/552/1 "1998-08-26T16:31:46Z")

</div>

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](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](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](http://devolution.com))– Author of Simple DirectMedia Layer - [http://www.devolution.com/~slouken/SDL/](http://www.devolution.com/~slouken/SDL/)

---

<div class="post-metadata">

**Author:** ![Mark\_Elliott](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/e8c25b/32.png) [@Mark\_Elliott](https://discourse.libsdl.org/u/Mark_Elliott)\
**Post date:** [August 27, 1998, 2:26pm UTC](https://discourse.libsdl.org/t/sdl-on-macos/552/2 "1998-08-27T14:26:34Z")

</div>

> 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](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](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\>

---

<div class="post-metadata">

**Author:** ![Mark\_Elliott](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/e8c25b/32.png) [@Mark\_Elliott](https://discourse.libsdl.org/u/Mark_Elliott)\
**Post date:** [August 27, 1998, 3:17pm UTC](https://discourse.libsdl.org/t/sdl-on-macos/552/3 "1998-08-27T15:17:27Z")

</div>

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\>
