HP-25 Calculator Simulation

This is a faithful simulation of an HP-25 calculator.

Your browser does not support the HTML img tag. ⇐ Click button to open calculator window.

If pop-ups are blocked and window doesn't open, follow this link to the calculator page.


Background

Hewlett-Packard made the HP-25 from 1975 to 1978. I bought one in 1975, the first geek in my school to carry a calculator on his belt. I still have it. The calculator has RPN (reverse Polish notation), scientific functions and short programs. Much more information about it is provided at The Museum of HP Calculators. In 1997, I wrote the core of the simulation in C with a keyboard interface, for testing. I added the photographic user interface to form a Java applet. In 2025, I converted it to Javascript.


Capabilities


Limitations


Files

  • Javascript source
  • Magic numbers of the graphics
  • Graphics image of the calculator face
  • Graphics images of the LED's
  • Graphics images of the slide switches
  • Graphics images of the keys
  • Graphics image of the run/stop key
  • Don't forget the calculator page!
  • Although the simulation can be run entirely off-line, due to file reading restrictions in javascript, a minimal http server is needed.

    Additional Java Applet Files

  • Applet class interprettable: hp25b
  • Applet class interprettable: hp25bw
  • Applet source
  • Applet page
  • The applet per se is public domain, but the code is ugly. I had a peculiar combination of design goals, none of which were making the code instructive, maintainable, expandable, elegant or sexy.

    Images are Copyright David G. Hicks, 1995, 1996, and 1997. You may use them for non-commercial purposes as long as they are properly attributed. (Regrettably, portions of the images are my own doing.)


    On display at the Museum:


    Larry Leinweber, Proprietor

    Return to Larry's Cerebral Snack Bar