Announcing SDL 0.8.5 and 0.9.4

A week from now, I’ll be announcing SDL 0.8 and SDL 0.9 to the general
public.

Here’s what’s current:
SDL 0.8.5:
Fixed endianness issue with BeOS x86 blitting
Fixed quit interrupt delivery on BeOS
Fixed dynamic loading on BeOS
Fixed DirectX audio on Win98
Fixed possible sound-related crash on Linux PPC
Fixed Visual C++ structure packing
Fixed UNIX dynamic link library installation
DirectX audio no longer hangs when app loses focus
Fixed DirectX HiColor crash (palette bug)
Fixed DirectX key handling
Fixed some DirectX windowed palette problems
Fixed cursor update bug on Win32

SDL 0.9.4:
All the above bug fixes, plus:
Mouse motion arrives as absolute and relative coordinates
Fixed DirectX windowed palette problems
Removed SDL_MapSurface() and SDL_UnmapSurface()
Initial port to IRIX 6.x
Initial port to OSF/1 3.2 (no sound yet)
MacOS port in progress

Note the IRIX port isn’t complete due to hosed thread libraries and
dynamic linking problems on various releases of IRIX.
Note that the OSF/1 port hasn’t been thoroughly tested.
Note that the MacOS port doesn’t work yet. :slight_smile:

Here’s what’s on the plate for 0.9:
Add MGL/GGI support under Linux
Finish IRIX port
Port to MacOS
CD audio control
Joystick/Gamepad input
Add SDL_Flip() for double-buffering
Implement BDirectWindow interface for BeOS
Implement SDL_WarpMouse() on BeOS
Implement mouse events using DirectInput under Win32
Support dynamic screen depth changes under Win32

I know MIDI isn’t on there, but only because I know nothing about MIDI.
If anyone wants to contribute code, I am glad to accept it.

I’ll probably implement some sort of example demo that uses timidity.

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

Sam Lantinga wrote:

I know MIDI isn’t on there, but only because I know nothing about MIDI.
If anyone wants to contribute code, I am glad to accept it.

I would be happy to help with the MIDI. Is there an API spec you have in
mind? Or should that be done first? :slight_smile:

Max Watson

Sam Lantinga wrote:

I know MIDI isn’t on there, but only because I know nothing about MIDI.
If anyone wants to contribute code, I am glad to accept it.

I would be happy to help with the MIDI. Is there an API spec you have in
mind? Or should that be done first? :slight_smile:

The API spec should be done first. :slight_smile:
If at all possible, try to keep in mind the various ways to do MIDI on
Linux, Win32, and BeOS.

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

I’ll build the new SDL 0.85 for BeOS PPC in the next few hours and leave
them someowhere on my web page. I’ll tackle the x86 build tonite (if I
don’t pass out) or tomorrow.

(I forgot that I was on a PPC machine at work.)

-Dave

Don’t pass out! :slight_smile:
I’ve almost made it through my first month of taking 6 classes. :slight_smile:
Hey, if you get a chance, can you build HElliZER, doom, and qrash as well?
Yeah.If BeOS remains stable that is. I’ve noticed that on the PowerMac9500
here
at work, its not exactly crashproof/freezeproof. (Which is quite bizarre
as my PPC machine at home is solid as a rock)

If you just send me binaries of each, I’ll figure out how to package them.
Yeah
Oh, what’s your web page?
http://www.cs.uml.edu/~dsowsy

I’m trying not to get too ambitious on projects lately as I’m working
like mad to stay on top of my schoolwork (senior year in CS and I’m
trying to get through a lot of the math/courses I’ve been avoiding)

I do know this though…a portable raytracer written under SDL would be
more than a good idea.

Best Regards,
David Sowsy

How about this (based on knowledge of MIDI, not platform-dependencies):

/* Buffer the MIDI file (removing reliance on disk I/O) */
SDL_MIDI *SDL_LoadMIDI(char *file)

/* Start and stop playing the song, returning 1 for success and 0 for failure
(failure should be fatal) */
int SDL_PlayMIDI(SDL_MIDI *song)
int SDL_StopMIDI(SDL_MIDI *song)

/* Get a list of sequencer devices */
SDL_MIDIList *SDL_ListSequencers()

/* Open a device, returning 1 for success and 0 for failure - SDL_MIDIDev should
be part of SDL_MIDIList */
int SDL_OpenSequencer(SDL_MIDIDev *sequencer)

/* Free up the memory taken by the MIDI song */
SDL_FreeMIDI(SDL_MIDI *song)

Note: I’m not sure about making it thread safe… (I’m not sure about making
anything thread-safe for that matter)

Also, before anybody complains about no rewind/fastforward seeking, that will
NOT work with MIDI easily, and the benefits would be limited.

Have fun :-)On Thu, Oct 01, 1998 at 11:18:29AM -0700, Sam Lantinga wrote:

Sam Lantinga wrote:

I know MIDI isn’t on there, but only because I know nothing about MIDI.
If anyone wants to contribute code, I am glad to accept it.

I would be happy to help with the MIDI. Is there an API spec you have in
mind? Or should that be done first? :slight_smile:

The API spec should be done first. :slight_smile:
If at all possible, try to keep in mind the various ways to do MIDI on
Linux, Win32, and BeOS.


– Michael Samuel