RPN 48 and RPN 49G — the machines of a generation of engineers

Portfolio

PA
∇⋅E = ρ/ε₀
E = mc²
S = k log W
F = ma
All posts

Shipping

The HP 48SX, 48GX and 49G run again, on their Saturn processor emulated cycle by cycle.

Platforms
iPhone, iPad, Mac; RPN 48 also on Windows
Machines
HP 48SX, HP 48GX, HP 49G
Emulated hardware
Saturn processor, memory controllers, flash banks, 131×64 display, timers

The problem

Between 1990 and 2000 the HP 48 was the working tool of an entire generation of engineers and students, and the HP 49G added symbolic algebra to it. Their RPL programs still exist, in archives and in drawers. What is missing is a machine to run them.

What I built

Two applications that emulate those machines' Saturn processor, its memory controllers, its flash banks, its 131-by-64 display and its timers — faithfully enough for HP's original ROMs to run untouched. Each model keeps its own speed and its own memory: an HP 48SX stays as slow as a 48SX. HP's manuals are read inside the app, next to the calculator.

What was hard

The Saturn is no ordinary processor. It works in binary-coded decimal digits, on sixty-four-bit registers cut into named fields, and its instruction set reads like a foreign language. The timers set the pace: too fast and the machine reboots on its own, too slow and the clock drifts, so programs that measure time get it wrong. The balance point cannot be derived, only searched for.

Where it stands

Both ship on the App Store for iPhone, iPad and Mac; RPN 48 is also in the Microsoft Store. Together with the 50g they are the three emulators of the RPN family — the other five calculators are simulators, and that is another story.