sdl compatibility layer
more implementation details