Check this out at Mike Swanson's NexStar site:
https://www.nexstarsite.com/OddsNEnds/GPSRollover.htm