here are 3 links related to the SDL library, hope you find them useful
https://www.thinbasic.com/community/showthread.php?12068-Sdl-Library...