If you are interested in making a game with Free Pascal, I strongly suggest taking a look at JEDI-SDL.