HP-42S
Vorlage:Use dmy dates Vorlage:Infobox Calculator
Der HP-42S RPN Scientific ist ein programmaierbarer UPN wissenschaftlicher Taschenrechmer, der 1988 von Hewlett-Packard eingeführt wurde. Er hat fortgeschrittene Funktionen, die für Anwendungen in Mathematik, Linearer Algebra, Statistik, Informatik und andere ausgelegt sind.
Überblick
Der HP-42S was to be released as a replacement for the aging HP-41 series as it is designed to be compatible with all programs written for the HP-41. Da er nicht erweiterbar ist, und ihm fehlen any real I/O ability, beide Schlüsselfunktionen der HP-41-Serie, wurde er als Ersatz für den HP-15C verkauft. Der HP-42S ist einiges kompakter als der 41 und bietet einige eingebaute Funktionen mehr, wie den Matrix-Editor, Unterstützung von Komplexe Zahlen, einen equation solver, Benutzer-definierte Menüs und grundlegende graphische Fähigkeiten (der 42S kann Graphen nur mit Programmen zeichnen). Zudem hat er ein zweizeiliges Punktmatrix-Display, wodurch Stack-Bearbeitungen leichter zu verstehen sind.
Der HP-42S wurde bis 1995 hergestellt.[1] As this calculator is regarded amongst the best ever made in terms of Qualitt, key stroke feel, leichte Programmierung, and tägliche Gebrauch für Ingenieure,[2] In HP-Rechner-Kreisen ist der 42S bekannt für seine hohen Preise bei online-Auktionen, die bis zu einem vielfahem seines Einführungspreises betragen, which has created a scarcity for utility end users.
Spezifikation


- Serie: Pioneer
- Code Name: Davinci
- Einführung: 1988-10-31
- 64 KB ROM
- 8 KB RAM
- Funktionen: über 350
- Erweiterbarkeit: Officially no other than IR printing (32 KB memory upgrade[3] and over-clocking hardware hacks are possible)
- Peripherals: HP 82240A infrared Drucker
Ausstattung
- All wissenschaftlichen Grundfunktionen (Hyperbolische Functionen eingeschlossen)
- Statistics (including curve fitting and forecasting)
- Probability (including factorial, random numbers and Gamma function)
- Equation solver (root finder) that can solve for any variable in an equation
- Numerical integration for calculating definite integrals
- Matrix operations (including a matrix editor, dot product, cross product and solver for simultaneous linear equations)
- Komplexe Zahlen (einschließlich Repräsentation von Polarkoordinaten )
- Vektor Funktionen
- Named variables, Register und binäre flags
- Graphisches Display mit graphischen Funktionen und einstellbarem Kontrast
- Menus with submenus and mode settings (also custom programmable) that use the bottom line of the display to label the top row of keys
- Sound (piezoelectric beeper)
- Base conversion, integer arithmetic and binary and logic manipulation of numbers in binary, octal, decimal and hexadecimal systems
- Kataloge for reviewing and using items stored im Speicher
- Programmierbarkeit (keystroke programming mit branching, loops, tests and flags)
- Die Fähigkeit Programme abzuarbeiten, die für die HP-41C-Serie geschrieben wurden
Programmierung
The HP-42S is keystroke-programmable, meaning that it can remember and later execute sequences of keystrokes to solve particular problems of interest to the user. The HP-42S uses a superset of the HP-41CX FOCAL language.
The HP-42S supports indirect addressing with which it is possible to implement a Universal Turing machine and therefore the programming model of the HP-42S can be considered Turing-complete.
Beispielprogramm
This is a sample program which computes the factorial of an input integer number (ignoring the calculator's built-in factorial function). The program consumes 18 bytes. No memory registers are used.
| Step | Instruction | Comment |
|---|---|---|
| 01 | Vorlage:KeypressVorlage:KeypressVorlage:KeypressVorlage:Keypress | Start of program "FAC" |
| 02 | Vorlage:Keypress | 1 is put into X, hence the value to be calculated upon (which was initially in X) is lifted (pushed) into stack register Y |
| 03 | Vorlage:KeypressVorlage:KeypressVorlage:Keypress | Define label 00 |
| 04 | Vorlage:KeypressVorlage:KeypressVorlage:KeypressVorlage:Keypress | Recall stack register Y and multiply with X |
| 05 | Vorlage:KeypressVorlage:KeypressVorlage:Keypress | Decrement stack register Y and if not zero ... |
| 06 | Vorlage:KeypressVorlage:KeypressVorlage:Keypress | ... go back to label 00 |
| 07 | Vorlage:Keypress or Vorlage:Keypress | Returns control (and result in X) to either the user or to a calling program. |
Legacy
In May 2017, SwissMicros released pre-production samples of an RPN calculator closely resembling the HP-42S, the DM42. The final product was released on the 9 December 2017. Even though slightly smaller (144×77×13 mm, 170 g) than the original HP-42S (148×80×15 mm, 170 g), the calculator comes with an additional top row of keys for soft menus, a keyboard layout supporting direct alpha character input, a much larger high-contrast display (Sharp low power transflective memory LCD with a resolution of 400×240, protected by Gorilla Glass) showing all four stack levels at once (configurable), ca. 75 KB usable RAM, a beeper, a callable real-time clock as well as an infrared port for HP 82240A/HP 82240B printer support and a USB interface (with Micro-B connector) emulating a FAT16-formatted USB mass storage device for easy program transfer and state backup / transfer as well as for firmware updates. The calculator, which comes in a stainless steel case with matte black physical vapor deposition (PVD) coating, supports keyboard overlays and is based on a modified version of Thomas Okken's GPLed Free42 simulator with Intel's decimal floating-point math library for higher precision (decimal128) running on an STM32L476RG processor (ARM Cortex-M4 core, 128 KB RAM, 1 MB internal flash) with another 8 MB of external QSPI flash (of which ca. 6 MB are available to users). It is powered by a CR2032 coin cell or via USB and clocked dynamically at 24-80 MHz. The DM42 is also the hardware basis for the community-developed WP 43S calculator,[4][5] a successor to the WP 34S.
See also
- FOCAL character set
- Comparison of HP graphing calculators
- HP calculators
- List of Hewlett-Packard pocket calculators
Einzelnachweise
Literatur
- HP-42S RPN Scientific Calculator - Owner's Manual. 1. Auflage. Hewlett-Packard Co., Corvallis, OR, USA Juni 1988, 00042-90001 (hp41.net [PDF; abgerufen am 17. September 2017]).
- HP-42S RPN Scientific Calculator - Programming Examples and Techniques. 1. Auflage. Hewlett-Packard, Juli 1988, 00042-90020, 00042-90019 (hp41.net [PDF; abgerufen am 19. Dezember 2017]).
- An Alternative HP-42S/Free42 Manual. Januar 2010 (thomasokken.com [PDF; abgerufen am 17. September 2017]).
- HP-42S Quick Reference Guide (1 ed.). Corvallis, OR, USA, Dex Smith. October 1988. 00042-92222E.
- HP-42S Owner's Manual Addendum: Hidden Matrix Functions. 23. August 2017, abgerufen am 17. September 2017.
- DM42 User Manual. SwissMicros GmbH, 21. Oktober 2020, abgerufen am 21. Oktober 2020.
Weblinks
- SwissMicros DM42
- HP-42S intro on hpcc.org
- HP-42S page on hpmuseum.org
- HP-42S resources on hp42s.com (defunct as of July 2017)
- HP-42S description on rskey.org
- HP-42S description on thimet.de
- Free42 for Android by Thomas Okken, an Open Source project.
- Free42, A HP-42S Calculator Simulator. 20. April 2011, abgerufen am 12. August 2011.
[[Category:HP calculators|42S]] [[Category:HP programmable calculators|42S]] [[Category:HP Pioneer series calculators|42S]] [[Category:Computer-related introductions in 1988]]
- ↑ Referenzfehler: Ungültiges
<ref>-Tag; kein Text angegeben für Einzelnachweis mit dem Namen HPM_HP42S. - ↑ Referenzfehler: Ungültiges
<ref>-Tag; kein Text angegeben für Einzelnachweis mit dem Namen HPM_177373. - ↑ Referenzfehler: Ungültiges
<ref>-Tag; kein Text angegeben für Einzelnachweis mit dem Namen Hosoda_2007. - ↑ Referenzfehler: Ungültiges
<ref>-Tag; kein Text angegeben für Einzelnachweis mit dem Namen Bonin_2019_OG. - ↑ Referenzfehler: Ungültiges
<ref>-Tag; kein Text angegeben für Einzelnachweis mit dem Namen Bonin_2019_RG.