Which pascal are you using? If you're using TP then I can probably help you since I've written a rudimentary asteroids game with it. You can borrow the sourc if you wish.
do you mean coding graphics in general, or are you asking how to load an image file?
It looks like you're new here. If you want to get involved, click one of these buttons!