HP 41C emulator and MyRPL language



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.

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.
https://www.virtualbox.org/
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
http://sim41.webcindario.com/runtime.htm
6) Download and Install the calculators or MyRPL on the win7 image.

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

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.

Other HP41 and Emulator links

(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



Magic Creator with 300 assignable buttons.(2020/08/06). 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
STO
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
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