The old primes from Pentax are very good, better than just about any other make.You can of course mount them on a Pentax K100D. But only with manual focus. So, if you want to explore what this little gem can do, you should cancel the order for the D50 and get a K100D instead, with image stabilization in-body.
Send it to me.