A lost starship. A lost colony. A space marine trapped on a medieval colony planet.
Andre Norton's Witchworld books