using parallel port with pascal

Im working in a university project and would like to build a hardware mp3
player, and want to make the input for browsing directories, play songs,
read songs name, etc from a small keyboard attached to the parallel port,
how can I read in pascal the key pressed in parallel port and when the key
is detected make an special action?
And then send the output(like song title, time, etc..)  to an lcd display

Thank you very much

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own