HP-41 extension module

Extension slots of the HP-41CX

HP-41 extension (or expansion) modules allowed the user of a HP-41 programmable calculator to extend the functionality of the machine. The HP-41 had room for up to four expansion modules at the back of calculator.

The HP-41 was not the only calculator of its generation that allowed expansion modules. The TI-58 and TI-59 also had pluggable ROM modules. The HP-41 modules were however much more versatile.

The Memory Modules (HP-41C only)

HP 82106A memory module for HP-41C
HP 82170A QUAD memory module for HP-41C

Memory modules added RAM main memory to the calculator, allowing more programming steps and/or more data registers.

The original HP-41C had a main memory of 63 registers of 7 bytes each. Each register could hold either a number, a 6-character string, or up to 7 program steps in the Focal language (program steps used a variable number of bytes).

Each memory module added 64 registers, and the calculator could hold up to 4 of them, for a grand total of 319 registers. While this was considered huge for the time (a little more than 2 kilobytes,) all expansion slots were used. User groups found a way to merge two memory chips in a single module, thus freeing two expansion slots. HP designed a module holding all four in one slot, the so-called Quad Memory Module. The later HP-41CV had the quad module built-in.

The Application Pacs

The ROM-based application 'pac' modules added up to 4 kilobytes of read-only memory (some up to 8 kilobytes, but these were simply two independent 4K modules in the same box). Most modules held dozens of programs written in the HP-41C programming language, Focal.

Programs in the ROM modules could be called from a user program, using the ubiquitous XEQ function. In the program code, XEQ appeared as "XROM" when it was used to call a ROM program.

The 82104A Card Reader

HP 82104A - card reader/writer

The card reader was a device able to read and write small rectangular plastic cards with two magnetic strips. The card reader could copy contents of memory onto magnetic cards, and later read back the data into memory.

As the HP-41C had permanent memory (user programs and data were not wiped out when power was off) there was no absolute need for a permanent storage device, so the card reader was optional.

Each card held two strips of 112 bytes each, that could hold 16 data registers or up to 112 program steps. This limited capacity resulted in typical programs requiring 5 or more magnetic cards to be saved. A full backup of the machine's 319 memory registers plus internal data required 11 magnetic cards (each card had to be inserted twice.)

The card reader could read magnetic cards from the earlier model HP-67. HP-67 programs were translated in HP-41C instructions, as the HP-67 and HP-41 share the same programming model and operation stack. Some instructions however were specific to the HP-67, and the card reader provided additional instructions to emulate the 67.

Magnetic cards could be write-protected, and programs saved as private: once loaded back, the source code for the program could not be displayed. This made magnetic cards an obvious choice for program distribution.

However, the electric motor put a heavy strain on the calculator batteries, and the price tag for blank cards put an even heavier strain on the user's wallet.

The 82182A Time Module

The time module added a real-time clock. The clock allowed you to use the actual time in your programs.

You could also define alarms that triggered calls to user programs. The alarms were able to switch the calculator on, so it was possible to create programs that executed at some point during the day, then switched the calculator off until the next alarm. As the HP-41 was often used as data-gathering device in labs, this allowed the calculator to read data from monitored devices at specific times every day, without having to run in between the readings (thus saving battery capacity).

The HP-41CX had the time module built-in.

The 82143A Thermal Printer/Plotter

The printer used rolls of thermal paper to print lines of up to 24 characters. The thermal paper provided for a bluish printout, but was somewhat unstable, as the printout could vanish or the whole paper turn blue due to excessive heat.

The printer had some graphical capabilities, as you could design your own character shapes, or even turn on or off individual pixels. However, the buffer memory could not hold sufficient information to print a whole line in graphic mode, and you could not alter line spacing, so it was impossible to print continuous graphics. The printer nevertheless provided some printing utilities that were able to graph a function on a band of paper.

The 82242A Infrared Printer Interface

Instead of using the aforementioned printer, this module could be used to interface a thermal printer with an infrared interface, namely the HP 82240A and the HP 82240B. This allows for on-the-go printing without using cables - but the printer itself needs batteries, too.

The 82153A Optical Wand

HP 82153A - optical wand

The optical wand was a barcode reader shaped like a thick pen, and was designed to read lines of HP-proprietary standard barcodes into the calculator memory. The barcodes, printed in e.g. HP solutions books, could consist of programs, numeric or alphabetical constants, and even keypresses (letting the calculator be operated without using the keyboard) useful for diagnosing calculators where the keyboard was suspected to be faulty.

The 82180A Extended Functions Module

X Functions module 82180A for HP-41C/CV

The Extended Functions module added many functionalities the users had wanted for ages, as the ability to programmatically assign functions to keys, repartition memory, etc.

But the most important new function was the management of extended memory: while the HP-41C could theoretically access up to 1024 registers, the early design limited main memory to 319 registers only. The Extended Functions module added instructions to manage a bank of additional memory in the available addressing space of the machine. As this memory was not directly addressable by user programs, it was seen as a set of named files containing either programs or data. Programs and data registers could be copied back and forth from the extended memory to the main memory, where they could be accessed as usual.

Extended memory could also hold ASCII files, and a rudimentary text editor was added also.

The Extended Functions module contained 124 registers of Extended memory. More could be added by ... Extended Memory modules. The HP-41CX contained the Extended Functions module as standard.

The 82181A Extended Memory Module

X Memory module HP82181A for HP-41CX

Extended memory modules added more extended memory to the HP-41C. They required an extended functions module to be present, or the HP-41CX version of the calculator.

Each module added 238 registers of extended memory. Up to two extended memory modules could be inserted, for a grand total of 124 + 2*238 = 600 registers. Added to the 319 registers of main memory, this covered practically all of the machine's 1024 addressable registers, for a total of 919 registers, or 6433 bytes.

The HP82160A HP Interface Loop (HP-IL) module

HP-IL interface module for the HP41C

See the main article on HP-IL.

This article is issued from Wikipedia - version of the 1/4/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.