HP 41C emulator and MyRPL language

Image above: This is a program for calculating pi by Archimedes method.
Finds an approximation of pi by determining the length of the perimeter of
a polygon inscribed within a circle with radius equal to one.
It begins with a polygon with 6 sides where the radius of the circle is equal
to the side length and double the sides of the polygon each time, recalculating
pi as a half of the new perimeter. (Image taken from sim41w version 2.2.1)

I wrote my first HP 41 emulator for DOS operating system at years 1994-1995.
The emulator was published on Internet at 1995 .

I created "The hp41 emulator page" on www.geocities.com at year 1995.
Since 2009, geocities.com is off line, so , I translated the html pages here.

At year 2004 I began to write an HP41 emulator for Windows, updating the old DOS code.
Later I decided to write more emulators for the HP family of calculators,
beginning with the HP67.

I began to write the MyRPL programming language at year 2016.

At the end of may 2021 i began to write the Focal-2D programming language.
Preview versions coming soon on this site

You will find all these programs here.

Comments and questions welcome . Please, excuse errors in English usage.

You may help to the evolution of these emulators and MyRPL. If you find an error on
them, e-mail me. Thanks.

Alvaro Gerardo Suárez
Former member of the directive staff at Mensa Society

All the software present in these pages could be tested with Oracle Virtualbox and
a free image of windows 7 32 bit for virtualbox provided by Microsoft at http://www.modern.ie
You need a computer with windows 10 and at least 4 Gigas of RAM.
1) Download and Install VirtualBox.
2) Download the windows 7 image.
Go to: https://developer.microsoft.com/en-us/microsoft-edge/tools/
Select: Virtual machines. Choose the machine and download it.
Unzip the file and rename the .ova file to .ovf file
For example, if you downloaded IE8.Win7.VirtualBox.zip, unzip and rename: IE8 - Win7.ova to IE8-Win7.ovf
3) Import the image to virtualbox.
Go to the virtual box menu and select: import appliance
4) Enter to the windows 7 image (also known as virtual machine), start it and navigate to this site
For example: navigate using IE8 provided in the virtual machine.
5) Download and install the runtime to the virtual machine, from this site
6) Download and Install the calculators or MyRPL on the win7 image.

SIM41 for DOS | SIM41 Windows | SIM25 | SIM59 | SIM65 | SIM67 | SIM502

Sim41w version 2.2.1 (2024-06-24)

Algebraic behavior in SIM41

The eight queens problem

Moon landing simulator tested OK in SIM41

The game of NIM adapted from original code for the HP25 calculator.

Printing all allocated memory registers using the PRX command.

(2020/01/20) Single line RPN calc

Play with RPN logic using Java Script

Simple RPN calculator with standard buttons

RPN calculator in Java Script with memory management

Scientific RPN calculator with three memory registers

Scientific RPN calculator a variation of previous calculator

Spanish page. Updated (2020/02/07)

SIM41W version 0.01 running in Windows 2000 Server. (800 by 600 pixels) View a Screenshot

SIM41W version 0.06, skin 3, running in a Laptop with a Wide Screen (1280 by 800 pixels) and XP Home View a Screenshot

Metaprogramming with sim41w A program could modify itself (2014/08/15)

(My RPL) means My Reverse Polish LISP

Manual hp67 english. for sim67

Manual hp65 english. for sim65

Manual ti-59 english. for sim59

Manual fx-502p english. for sim502

Manual fx-502p spanish. for sim502

Manual hp25 english. for sim25

Manual hp41 english. for sim41

Manual hp41 Extended functions. for sim41 (windows version)

Manual hp41 Quick Reference. for sim41

[ IMPORTANT NOTE: If you have problems downloading files from this site with Chrome,
I tested downloads ok with Firefox, Microsoft Edge, Opera navigator, Pale Moon and others. ]

Focal-2D 1.04 programming language (2021/07/18). Hp41 programming language on a two dimensional grid

Focal-2D 1.04 Example 1 (2021/07/18). Closed cycle

Focal-2D 1.04 Example 2 (2021/07/22). Five short Focal-2D programs

Focal-2D Documents (2021/07/23). Version 1.04

MyRPL Single Calc (2021/01/08). Skin for magic creator

MyRPL Magic Creator (2020/12/24). Christmas version

Skin without stack (2020/12/24). for magic creator christmas version

Incremental skins.(2020/11/15). Applying a set of skins to Magic Creator

Magic Creator.(2020/10/21). Introduction

Magic Creator skin for version 2.14.(2020/10/12). Changes the arrangement of buttons

MyRPL Magic Creator with 300 assignable buttons.(2020/08/06). Download Version 2.14

MyRPL forms.

(2020/01/13) - MyRPL Exercise. Integer division

(2020/01/04) - RPL Exercise. Put numbers on the stack

Magic Creator with preconfigured buttons and variables.(2019/12/05). This is an example of custom configuration

(2019/11/30) - Programs at https://www.hpmuseum.org/rpl.htm were tested OK.

(2019/11/30) - Program examples available at wikipedia (RPL language) were tested all OK.

(2019/11/30) - Discovered an issue in magic creator when loading buttons. Workaround:
A message appears when trying to load a file with button definitions. The choices are Accept or Ignore.
Press Ignore and all is fine.

Tip: When assigning variables to buttons allways check out
if the foreground color (fore_color) is different to the background color (back_color).
Obviously, if the colors are equal, nothing is seen in the button.

Red green and blue intensity of colors in MyRPL.(2019/08/10). Creation of a variable used to convert RGB to a single numeric value.

To assign an internal command as SIN to an empty assignable button: First
create a unnamed program variable with the command.
Example: << SIN >>. Enter
Later store the program variable to the variable name SIN.
Write SIN and press the button
Note that in this case, SIN is an internal command linked to a variable name
with the same name.
Go to view buttons. Assign the program variable SIN to a button number.
Press Ctrl and W of your PC keyboard at same time to save the assignment.
Optional: Change the button background color with mouse right click

Magic creator has 100 empty assignable buttons. Only variables could be linked
to buttons. Shift0 shows the first 25 buttons, shift1 shows buttons 26 to 50,
shift2 shows buttons 51 to 75, shift3 shows buttons 76 to 100.

Magic Creator fully configurable calculator.(2019/07/11). Version 1.01 with new external windows forms

Magic creator image. View a screenshot

My RPL 1.22 notes

My RPL documents

MyRPL is open source distributed under GNU Public License version 3 View sources available since 2017/12/12

HP41 Emulator for Windows
Original Version 1.10 Updated (2021/05/16)
Complete revision of all printer commands !
Shadow stack registers from version 1.10

HP41 Emulator for Windows Extended Version 1.3 Updated (2020/02/03)

SIM59 TI59 Emulator for Windows, version 1.1 (2019/05/30)

SIM67 for Windows version 1.1.0HP67 Emulator Updated (2019/05/04)

SIM65 HP65 Emulator for Windows, version 1.1.0 updated (2019/04/21)

SIM25 HP25 Emulator for Windows, version 1.2.0 (2019/04/19)

SIM502 Casio FX-502P Emulator for Windows, version 1.1 (2019/06/29)

HP 25, HP 41, HP 65 and HP67 Emulators at my Desktop, view a screenshot

Easy41 HP 41 Compiler, version 1.0 Alpha (2005/06/07)

FOCALFREE utility for HP41 free grammar translation. Version 1.2

Translating programs to FOCALfrom your favorite language

Free FOCAL to V41 translation

Turing machine simulator version 0.3 alpha

Sphinx Big Calculator version 0.15 alpha (2006/09/17)

FAQS Frequently Asked Questions. UPDATED (2018/05/04)

RPN explained (2020/01/29)

Runtime for old windows versions (32bits)

SIM41 for DOS

The publicity on this site is not mine. The hosting is free and put publicity on these pages.