Saturnus docs
Open the app

HP 27S

The HP 27S is a scientific calculator that Hewlett-Packard introduced in January 1988. It was HP's first scientific pocket calculator with algebraic entry instead of RPN (opens in a new tab). It has no programming: you type your equations into a solver instead, and it adds money calculations, a clock and appointments to the usual scientific functions.

An HP 27S in Saturnus showing 3.1416
The 27S as Saturnus draws it, showing π.

Saturnus is a free emulator of the HP 27S. It runs the 27S's own ROM, read out of your calculator, in your browser, as a desktop app for Mac, Windows and Linux, and on the command line.

Open the HP 27S in Saturnus

At a glance

Released4 January 1988, at $110
DiscontinuedBetween 1990 and 1993 (sources differ)
Code nameMentor
ProcessorSaturn core in HP's Lewis chip, about 1 MHz
Memory8 KB RAM (about 6,900 bytes for you), 64 KB ROM
DisplayTwo lines of 22 characters, 131 × 16 pixels
Keyboard37 keys, one shift key, six menu keys
EntryAlgebraic, with operator precedence
Input and outputInfrared output to HP's 82240A printer, beeper
ClockTime, date and ten appointments
PowerThree button cells
Size148 × 80 × 15 mm

History

Four calculators in one day

On 4 January 1988 HP introduced four calculators at once: the 27S, the 17B, the 19B and the 28S. An electronics magazine reported in March 1988 (opens in a new tab) that all four have HP Solve, which lets you enter equations without programming, and print by infrared to HP's 82240A printer.

The 27S and the 17B were the first of HP's Pioneer series: slim calculators of the same case and keyboard, built around Lewis, a custom chip with an improved Saturn processor core. Wikipedia notes (opens in a new tab) that the two share the same hardware inside. The 42S followed in October 1988.

Algebraic at HP

For years HP's scientific calculators had used RPN. The Museum of HP Calculators (opens in a new tab) calls the 27S the first fully algebraic pocket scientific calculator HP made; the qualification is needed because HP had sold algebraic desktop calculators and computers before.

Its algebra keeps pending operations in the display. Type 1 + 2 × 3 and you see the expression; type + 6 and the 27S works out what it can and shows 7 + 6. Functions of one number still come after it: you type 5 SIN, not SIN(5).

A "do-everything" calculator

The Museum of HP Calculators calls (opens in a new tab) the 27S another "do-everything" calculator, after the first one, its namesake the HP-27 (opens in a new tab). Like the HP-27, it cannot be programmed. Although called a scientific calculator, it has time value of money with loans, savings and amortization, date arithmetic, a clock and appointments.

Price and end

The 27S launched at $110. Finseth's data shows (opens in a new tab) it at $80 by November 1990. When it was discontinued is not clear: the Museum says (opens in a new tab) 1991, Finseth (opens in a new tab) before 1993, and Wikipedia gives (opens in a new tab) the range 1990 to 1993.

What makes it special

The history stack

The calculator keeps four lines: the line you work on and the three results before it, which the manual calls (opens in a new tab) the history stack. The display shows two of them, or one and a menu. The arrow keys scroll through it, and LAST brings the previous result into the expression you are typing. So even an algebraic calculator has a stack you can look back on.

Operators follow precedence: in the manual's example (opens in a new tab), 4 + 9 × 3 = gives 31. The 17B, launched the same day, works in chain order instead.

The solver instead of programs

The SOLVE application stores your equations and solves each for any of its variables. Type an equation, and the 27S makes a menu of its variables: key in a number and press a variable's menu key to store it, or press the key alone to solve for that variable. The built-in applications' menus work the same way. Equations can share variables, so a value found in one is ready in the next. The manual's first example (opens in a new tab) is free fall: enter the equation of motion once, then ask how far an object falls in 5 seconds or how long it takes to fall 500 metres.

An equation can do more than arithmetic. The IF function picks between two expressions by a condition, and Wikipedia notes (opens in a new tab) that sub-formulas, loops and conditional execution can be written inside formulas. Letters for names come from the ALPHA menu, which Finseth lists (opens in a new tab) as a first, shared with the 17B: a two-level menu of characters on the menu keys.

The applications

In Saturnus

Saturnus was tested with ROM revision B:

What it does not do: the 27S has no serial port, so Files has nothing for it, and the infrared printer output is not emulated. The memory view and the RPL editor are for the HP 48 and 49 only.

The command reference lists the 27S's 251 functions with the keys that run them, and examples for 60 of them, run in Saturnus.

Open the HP 27S in Saturnus

Questions and answers

Where do I get the HP 27S's ROM?

HP never published the 27S's ROM, so there is no download, and Saturnus does not include it. You can read the ROM out of your own 27S, with an HP 48 as the infrared receiver: Christoph Gießelink's Emu42 page (opens in a new tab) points to the tools and the steps. Then choose the file in the app. Saturnus was tested with ROM revision B.

Can I use the HP 27S online, in my browser?

Yes, with the ROM file from your own calculator. The app runs in the browser on a computer or a phone, with nothing to install. You choose the ROM file once; the calculator then runs on your device, not on a server, and the app works offline after the first visit. On a phone you can add it to the home screen.

Is there an HP 27S emulator for Mac, Windows and Linux?

Yes. The Saturnus desktop app runs the 27S and the other eleven models. It is free and open source, for Macs with Apple silicon and for Windows and Linux on Intel, AMD or ARM processors: the downloads are on Saturnus's site. For a Mac with an Intel processor there is no desktop app; use the app in the browser.

Can I move programs between Saturnus and a real HP 27S?

No. The 27S has no serial port: its infrared port only prints, and Saturnus does not emulate the printer output. Moving files to a real calculator lists what each model can do.

Does the emulated 27S keep my work?

Yes. The calculator keeps its memory when you close or reload the app, as a real one does when switched off. Save state keeps a second copy that Load state brings back, and a state saved to a file (.sat) opens in the browser, the desktop app and the command line.

How close is it to a real HP 27S?

It runs the 27S's own ROM, and the ROM check of the calculator's self-test passes. Run times are an estimate: the CPU runs at 1 MHz, the figure the sources give for its chip, and no real 27S has been timed. The infrared printer output is missing, and appointment alarms have not been tested. How Saturnus is built describes the method and the tests.

Sources