Free42
Free42 émule la calculatrice scientifique HP-42S et l’imprimante HP-82240 sur Mac, avec une version 3.2.5 compatible dès macOS 10.9, tandis que Plus42 ajoute des fonctions supplémentaires.
Free42 est un émulateur complet de la calculatrice scientifique programmable HP-42S et de son imprimante associée, l’HP-82240. Développé par Thomas Okken, il reproduit fidèlement le comportement matériel et logiciel de l’appareil original, sans nécessiter d’image ROM. L’émulation inclut une interface utilisateur conforme à celle de la HP-42S, ainsi que la compatibilité avec ses programmes existants.
Sur macOS, l’émulateur fonctionne à partir de macOS 10.13 (High Sierra) et s’adapte aux architectures récentes, incluant Apple Silicon. Open source sous licence GPLv2, Free42 est distribué avec des sources accessibles et des outils complémentaires (conversion de programmes, skins personnalisables). Pour des fonctionnalités étendues (écran agrandi, calculs algébriques, graphiques 2D), la version Plus42 est recommandée.
Dernière mise à jour :
Plateformes
Architecture
Mac OS X - macOS
Apple Silicon
64 bits
Téléchargement et liens
- Télécharger Free42
- Version iOS (3.5.4)
- Site officiel
- Code source
- Commande copiée dans le presse-papiers.
- Fiche Homebrew
Historique des versions
3.5.4
- Correction de la coupure des nombres complexes longs lors de la conversion entre modes NN et S.
- Amélioration des vérifications pour les opérations modifiant la matrice en cours d’édition dans EDITN.
* Fixed two-argument STOFLAG. It got broken in 3.5. * Fixed pasting of HP-41 style GTO/XEQ IND X/Y/Z/T/L.2026-10-31: release 3.5.1* Fixed a crash while handling nested lists. * Implemented RE, IM, and CONJ. * 0=? and 0≠? now accept complex numbers, real and complex matrices, and lists. Lists are checked recursively; empty lists are considered to be zero. * X=? and X≠? now consider a and a+0i to be equal. Which, let's be real here, they are. * Note that these changes do not apply to X=0?, X≠0?, X=Y?, and X≠Y? They remain complex-unfriendly, for the sake of HP-42S compatibility.2026-10-30: release 3.5* It is now possible to make shifted assignments in the programmable menu and in CUSTOM. * It is now possible to use a list for REGS, instead of a matrix. With a list in REGS, the numbered registers can hold all types of data. * Many built-in functions can now be applied to lists, causing them to operate on the elements of the list one by one. See the Free42 web site for details. * Implemented SORT function. It sorts lists. See the Free42 web site for details. * PRV and PRX now handle nested lists, and matrices inside lists. * Better list display in the stack. * SHOW didn't handle lists. Fixed. * Implemented PARAMS function. Given a global LBL name, it returns a list containing all its associated MVAR parameters.2026-10-22: release 3.4.1* PRTRACE bug fix: it could corrupt the global LBL table. * PRTRACE improvements: 1. When there is a RTN that was caused by a KEYX, now shows the details of the menu keystroke, after the line that had caused program execution to halt. 2. When invoked from a program without an error having been caught, the first line in the stack trace now shows the PRTRACE line, rather than the line after the PRTRACE.2026-10-16: release 3.4* Implemented try/catch style error handling: TRY, TRYX, CATCH?, PRTRACE. See the Free42 web site for details. * RTNERR supports five additional error numbers; see the Free42 web site for details. * Keyboard mapping now uses a platform-independent syntax. The existing keymap.txt is renamed to keymap.old, and a new keymap.txt is created, using the new syntax. All the skins in the Free42 skins collection that contain keyboard mappings have been updated to take advantage of the new syntax, but the old syntax is also still supported, but only in skins, not in keymap.txt. * Direct XEQ mapping: Skins can now define macros that perform an XEQ that works regardless of which menu is active, using the syntax `FOO` to perform XEQ "FOO". * Implemented MENU1: This works just like MENU, i.e. it opens the Programmable Menu, except MENU1 opens the menu as an application menu, rather than as a regular menu. This means that MENU1 allows users to interact with command menus without losing their place in the programmable menu. * Flag 33 is now automatically cleared whenever a non-programmable-menu key is pressed. This can be used to implement VARMENU-like behavior using the programmable menu. * Implemented IP→S, a function that converts the integer part of a number to a string, like AIP, except the string is placed in the X register, not ALPHA. * Fixed NORM/TRACE output for programmable menu. * Added keyboard shortcut for Show Print-Out. * Windows and MacOS versions: When a skin is selected that is too large to fit on the screen, it is now automatically scaled down to fit, while preserving its aspect ratio.2026-05-04: release 3.3.12* Fixed RLN and RRN for negative numbers in BSIGNED mode. * Decimal version: More accurate GAMMA for integer arguments.2026-01-13: release 3.3.11* Added statistics sums to STAT->Σ and CATALOG->STAT menus. * Android version: Fixed initial keyboard focus.2025-10-28: release 3.3.10* Fixed crash in menu logic.2025-10-21: release 3.3.9a (Android only)* Another workaround for the buggy vibrator in Android 16. This one is a new option, "use older haptic feedback logic," for phones like the Pixel 10 Pro, where the pre-3.3.8f haptic feedback logic worked, but the new logic introduced in 3.3.8f does not.2025-10-15: release 3.3.9* When a new program was created by inserting END, the new program could end up being locked initially. Fixed. * Linux version: Fixed beeper when running under Wayland. * Linux version: Replaced built-in XPM icons with PNG ones, for compatibility with certain recent Linux distros. * Windows and MacOS versions: Made the links in the About box more obviously clickable.2025-10-10: release 3.3.8f (Android only)* Workaround for buggy vibrator in Android 16.2025-09-27: release 3.3.8e (Android only)* More Android 16 kB compatibility tweaks.2025-09-27: release 3.3.8d (Android only)* Updated build configuration to support 16 kB page size.2025-07-19: release 3.3.8c (Android only)
3.5.4 App Store
- Correction de la coupure des nombres complexes longs lors de la conversion entre modes NN et S.
- Amélioration des vérifications pour les opérations modifiant la matrice en cours d’édition dans EDITN.
NN→S would cut off long complex numbers. Fixed.
EDITN: better checks for operations that modify the matrix currently being edited.
3.5.3 App Store
- Correction de l’erreur interne lors de l’appui sur les flèches ▲ ou ▼ dans le menu programmable non assignées.
- Améliorations des gestionnaires de texte pour les opérations Copier-Coller.
- Réduction des effets secondaires des fonctions appelées via le mapping direct XEQ dans les skins.
In the programmable menu, pressing ▲ or ▼ if they hadn't been assigned would cause an Internal Error.
Some text handling fixes for Copy and Paste.
Functions invoked using direct XEQ mapping in skins now have fewer side effects.
3.5.2 App Store
- Ajout du support pour les commandes ARG. (argumentaire de fonctions).
- Implémentation des conversions bidirectionnelles entre DPD et les formats N/PS/PD/PQ.
- Correction du comportement de STOFLAG avec deux arguments, brisé depuis la version 3.5.
- Pasting corrigé pour les commandes GTO/XEQ IND X/Y/Z/T/L au format HP-41.
Implémenté les conversions vers et depuis le format décimal flottant à virgule décimale encodé DPD : N→PS/PD/PQ, PS/PD/PQ→N.
Corrigé STOFLAG à deux arguments. Il était défectueux depuis la version 3.5.
Corrigé la collation des commandes GTO/XEQ de style HP-41 pour IND X/Y/Z/T/L.
3.4.1 App Store
- Correction des problèmes liés à la gestion des traces de programme (PRTRACE) pour une meilleure stabilité.
- Amélioration de la précision des logs et des diagnostics dans les scénarios d'erreur critiques.
- Optimisation des performances lors de l'exécution de programmes complexes nécessitant des traces.
- Réduction des risques de plantages en cas de gestion incorrecte des données de trace.
Corrections et améliorations pour PRTRACE.
3.4 App Store
- Ajout d’un système de gestion des erreurs inspiré de try/catch avec les commandes TRY, TRYX, CATCH? et PRTRACE.
- Extension de RTNERR avec cinq nouveaux codes d’erreur, détaillés sur le site officiel.
- Refonte du format de mappage clavier indépendant du système, avec migration automatique des fichiers existants (renommés en keymap.old).
- Intégration de la commande MENU1 pour ouvrir le menu programmable en tant que menu d’application, sans perte de contexte.
- Correction de l’affichage NORM/TRACE dans les menus programmables.
- Ajout d’un raccourci clavier pour afficher l’impression des résultats.
Implémentation d'un système de gestion des erreurs de type try/catch : TRY, TRYX, CATCH?, PRTRACE. Consultez le site web de Free42 pour plus de détails.
RTNERR supporte cinq nouveaux numéros d'erreur ; consultez le site web de Free42 pour plus de détails.
La cartographie du clavier utilise désormais une syntaxe indépendante de la plateforme. Le fichier existant keymap.txt est renommé en keymap.old, et un nouveau fichier keymap.txt est créé, utilisant la nouvelle syntaxe. Toutes les peaux dans la collection des skins de Free42 qui contiennent des cartographies de clavier ont été mises à jour pour profiter de la nouvelle syntaxe, mais la vieille syntaxe reste également supportée, mais uniquement dans les peaux, et non dans keymap.txt.
Cartographie directe XEQ : Les peaux peuvent désormais définir des macros qui exécutent un XEQ fonctionnant indépendamment du menu actif, en utilisant la syntaxe `FOO` pour exécuter XEQ « FOO ».
Implémentation de MENU1 : Cela fonctionne exactement comme MENU, c'est-à-dire qu'il ouvre le menu Programmable, sauf que MENU1 ouvre le menu en tant que menu d'application, plutôt qu'en tant que menu régulier. Cela signifie que MENU1 permet aux utilisateurs d'interagir avec les menus de commande sans perdre leur place dans le menu programmable.
Le drapeau 33 est désormais automatiquement effacé chaque fois qu'une touche non liée au menu programmable est pressée. Cela peut être utilisé pour implémenter un comportement similaire à VARMENU en utilisant le menu programmable.
Implémentation de IP→S, une fonction qui convertit la partie entière d'un nombre en chaîne de caractères, comme AIP, sauf que la chaîne est placée dans le registre X, et non dans ALPHA.
Correction de la sortie NORM/TRACE pour le menu programmable.
Ajout d'un raccourci clavier pour Afficher l'Impression.
Versions Windows et macOS : Lorsqu'une peau est sélectionnée et qu'elle est trop grande pour tenir à l'écran, elle est désormais automatiquement redimensionnée pour s'adapter, tout en préservant son ratio d'aspect.
3.3.12 App Store
- Correction des fonctions RLN et RRN pour les nombres négatifs en mode BSIGNED.
- Meilleure précision de la fonction GAMMA avec des arguments entiers.
Corrigé RLN et RRN pour les nombres négatifs en mode BSIGNED.
Plus précis GAMMA pour les arguments entiers.
3.2.5
3.2.5
Changelog complet
3.1.12
- Fixed pasting of GETMI, PUTMI, GETLI, and PUTLI.
3.1.11
- Added option to show the active keyboard map superimposed on the skin. The desktop versions have this in the Help menu, and the mobile versions have it in the About dialog.
- Added functions for direct access to matrix and list elements: GETMI, PUTMI, GETLI, and PUTLI. See the Free42 web site for details.
- iOS and MacOS versions: Improved Dark Mode support.
3.1.10
- Now pre-populating state name for States -> More -> Rename.
3.1.9
- Implemented GETKEYA. This works like GETKEY, except that it will not wait for a keystroke if no keystrokes are in the keyboard queue, returning 0 instead in that case.
- Android version: Fixed crash with relative file imports.
3.1.8b
* Fixed crash for certain unrecognized key codes from Bluetooth keyboards.
3.1.8a
* PSE could halt program execution if it was used right after TONE or BEEP.
Fixed.
3.1.8
* Fixed ALPHA pasting during command entry.
3.1.7
* Now recognizing comment delimiters '@' and ';' for program pasting.
* More accurate complex ASIN/ASINH.
3.1.6
* Accuracy improvements for C.LN1+X, and complex LN, ATAN, and ATANH.
3.1.5b
* Windows version: Fixed display flicker using buffered painting.
* iOS and MacOS versions: Changed skin loader to use WKWebView.
3.1.5a
* Reduced display blurriness when the main window is resized.
3.1.5
* Direct command mapping now supports alternate mappings for ALPHA mode.
* Windows version: Fixed a couple of display glitches.
3.2.5
* When looking up built-in functions, ^ and ↑ are now considered equal. This
fixes problems with program typing and pasting, and with direct command
mapping in certain skins, specifically HP-41G and the Mueck_F42* skins.
(Note: this is a related but separate issue from the updates to the Mueck
skins' *.raw support files three days ago.)
3.2.4
* More accurate integer powers of complex numbers. Specifically: special cases
for pure real, pure imaginary, and numbers of the form a+ai and a-ai.
* Fixed VIEW for long values.
* Windows and Linux versions: Fixed handling of skins with non-zero offsets of
the main image (the top left corner of the Skin: line).
3.2.3
* Added a few characters to the character set, in order to allow copying and
pasting text between Free42 and Plus42 without losing information.
* iOS version: Implemented Swipe to Delete in the file selector dialog.
3.2.2
* The CUSTOM menu didn't stick reliably, due to a bug introduced in 3.2. Fixed.
3.2.1
* Fixed crash when trying to load invalid skins.
* Added IDENT function. This returns the app's version number as an integer,
in aabbccdd format, with 3.1.12b formatted as 3011202, for example.
* XROMs are now decoded immediately when pasting.
* iOS version: Removed noise from annunciator area in the Standard-4" and
Standard-X skins.
3.2b (Android and iOS)
* More keyboard fixes.
3.2a (Android only)
* Pop-up keyboard typing fixes.
3.2
* Program locking, to prevent accidental editing of programs. This is done
using the LOCK and UNLOCK functions. See the Free42 web site for details.
* Improved display contrast in the built-in skins.
* Android and iOS versions: Pop-up ALPHA keyboard, for easier text entry.
* Linux version: Dark Mode support.
Réagir sur le forum
Une question, un retour d’expérience ? Ouvrez la discussion sur le forum.