HP 9825 Scientific Desktop Computer

Despite its unassuming calculator looks, the HP 9825 is a powerful 16 bit, all-in-one desktop scientific computer and instrument controller. Well, powerful for the time, which was 1976. It is actually far faster and has more memory than the HP 85 from the 1980s.

It had a 16 bit multi-chip hybrid processor, an early version of the one that would be used to make the famously powerful HP 9845 workstation. However, with its one-line display and efficient but cryptic HPL language, it is much less approachable than the BASIC and CRT endowed HP 85. It was also far more expensive, listed at a whopping $5,900 for the base model in 1977, and that's without the many expensive option ROMs and additional RAM you'd need for a functional system. The fully equipped 9825T model was listed at $8200 in the 1981 catalog.

HP 9825 Videos

After the heroic repair of our HP 98035 clock interfaces, we gave made a nice demo of the HP 9825T in action.

The HP 9825 also makes a few cameo appearances in my other videos, like here in my HP DC100 Cartridge restoration video at 18:03:

https://youtu.be/cTZCD4OXETk?t=1083

or in my 100k subscriber video, at the very beginning:

https://youtu.be/eLuc8khu4Dg


My 9825 suffered a catastrophic power supply and overvoltage shortly after filming the demo video above. Just about everything on it went bad - power supply, RAM, ROM, keyboard and display interface. Not to worry! We just need to repair it all. What a great excuse to dive into the guts of this amazing machine and understand how it works.


The integrated HP Mini Cartridge tape drives are essential to the functionality and enjoyment of the HP 9825. Unfortunately, if you have a 9825, your chances are pretty close to 100% that the tape will not work. Here is a two parts series on how to repair them (and also repair the cartridges).

One of the interesting plug in peripherals for the HP 9825 is the 98035 real time clock module. I have 6 of them, and none of them work. But in this epic repair-a-thon, we get them all going!

Introduction to the HP 9825

The Hewlett-Packard Journal edition of June 1976 gives the best overview of the HP 9825:

Steve Leibson has an entire web site dedicated to the HP 9825, recounting its history from inside HP and its lineage starting with the quintessential HP 9800 calculator and the HP 1000 16-bit mini-computer:

The HP Museum has good documentation although naming is hard to follow. Here is the whole series in the context of 98x5 computers:

My own curated version of the manuals is further below. It is a renamed and organized list of all the manuals I could find on the net, with my own additions of a few missing manuals I scanned.

HP 9825 Manuals (Marc's curated collection)

Here is a collection of all the manuals I could find, plus two exceptional engineering resources: the HP Journal Article and the US4075679 US Patent. The HP Journal is a great overview of the engineering of the machine, and the quintessential, 606 pages long patent is the one and only in-depth reference we have about the details of the engineering of the 9825A. It is complete with the firmware source, a detailed description of the processor, and explanation of sections of the schematics.

HP 9825 Schematics

CPD Processor Documentation

HP 9825T ROM Images

HP 9825T Disassembled and Commented ROM Code by Craig Ruff

HP 98035 Real Time Clock Module Documentation

HP 9825 A24 Board Memory Logic Simulation

In this video, I explain how I used Logisim Evolution to simulate the mysterious RAM control logic used in the 9825.


Download Logisim Evolution from here:

https://github.com/reds-heig/logisim-evolution/releases

Download the simple counter example here:

ExampleSignalGen_01.circ

Dowload my 9825 sim project file from here:

RAM_Refresh_Sim_05.circ

CuriousMarc's HP 09825-66552 Crowbar Circuit Reproduction

My HP 9825 was crippled after the power supply main transistor shorted and the whole thing went into an overvoltage. The main regulating transistor in the buck converter shorted, and the 5V for powering the TTL section went up to 13V, destroying the entire machine. This resulted in a great video series about the repair of the machine, forcing us to understand and reverse engineer every board and every function in the machine, which I don't think had ever been done before. About 5 TTL circuits per board were fried on average, as well as all the LED display chips and some ROMs. Needless to say, if it happens to your 9825, it is no fun at all.

HP apparently knew about the problem and provided a crowbar protection add-on, which is a little board that installs easily on the original supply. Fellow HP restorer Rik Bos found a crowbar on his two European-built HP 9835's, which share almost the same power supply. The PCB number is 09825-66552, which indicates it was originally meant for the HP 9825. As installed on Rik's 9835 machines it looks like this:

From that photo, I was able to figure out what the schematics were and made a reproduction. I even sourced the exact same vintage HP-branded thyristor as in the original, just for kicks. A modern thyristor equivalent is also provided in the schematics, and will be smaller and do just as well of course. See below, the replica board solders right onto the original supply with no modifications.

Documentation including the full KiCAD project and PCB gerbers is provided below. I ordered my PCBs from PCBWay, you can order them right on the link below, but you should be able to get a PCB made from the gerbers below from any vendor of your liking:

https://www.pcbway.com/project/shareproject/HP_09825_66552_Crowbar_Protecton_Circuit_for_the_HP_9825_Vintage_Calculator_a244bde6.html

Recovering HP 9825 Software

I have finally reached a point where I am able to recover old software tapes for the HP 9825, thanks to a modified tape drive with a modernized head amplifier circuit.

HP developed many verification tapes for its test instruments. They are impressively thorough and require a lot of test equipment. But it turns out I have most of it. Seeing it run for hours and put an instrument through its paces is quite impressive!

Programs recovered to date are listed here: