Nevermind, after some more searching, I found this page:
http://jedi-sdl.pascalgamedevelopmen...listmodes.html

It shows me how to use it in Pascal

cheers,
Paul