← Wed, Sep 16 digest

A software thing I built: GPS on a 25MHz 486-SX

read article ↗ hn thread ↗

summary

In the early 1990s, it was possible to create a real-time GPS moving map display on a low-power 486-SX CPU without a math co-processor by utilizing a specialized math library called Hipparchus. This approach replaced heavy floating-point and trigonometric calculations with integer-based calculations using Voronoi Cells, allowing for higher resolution and faster performance than early consumer GPS devices. The project demonstrated that algorithmic optimization can overcome hardware limitations, though the technology was later absorbed by Microsoft and integrated into SQL Server.

key points

  1. The Hipparchus library used Voronoi Cells and 8- and 16-bit integer calculations to bypass the need for a math co-processor, providing superior speed and resolution over traditional floating-point math.
  2. The developer implemented a high-resolution 1024x768 color display that updated every two seconds, achieving performance that was not common in consumer GPS devices until nearly a decade later.
  3. The project faced challenges such as intellectual property constraints and the US government's 'Selective Availability' policy, which intentionally degraded consumer GPS accuracy until the year 2000.

who should read it

Software developers, computer historians, and those interested in algorithmic optimization and the history of early geospatial software.

discussion positive

consensus

Commenters generally agree that while map projections like Equal Earth are more socially equitable, the Mercator projection remains technically superior for navigation. There is also a shared appreciation for the early days of GPS hardware, specifically the use of 80386 processors in handheld devices. The discussion reflects a nostalgic yet pragmatic view of early embedded systems and signal processing.

top insight

The technical explanation of Gold Codes and auto-correlation reveals how GPS signals are extracted from thermal noise. By using processing gain to correlate against a 1Mchip/s gold code, devices can recover signals that are approximately 20dB below the thermal noise floor. This clarifies the 'magic' of spread spectrum technology in a way the original article likely omitted.

Generated by an LLM from the article and thread. Check the sources before relying on it.