The Museum of HP Calculators

HP Forum Archive 18

[ Return to Index | Top of Index ]

CLASSIC RPN Calculator Simulators - Updated
Message #1 Posted by Mike T. on 9 Feb 2008, 12:57 p.m.

Sorry for the repost but I couldn't edit the original message which is now archived.

Since I've found this forum useful and gained from the knowledge shared by other contributors I thought it would be nice to be able to be able to give something back, so for those of you who have always wondered what it was like to use some of the older HP calculators the links below will allow you to download the latest version of my RPN Calculator simulator for Windows.

This release is a development of an earlier beta release of an HP33C simulator, but I've completely rewritten it and expanded it to be able to include a number of different models including the HP10C, HP21, HP25C, HP29C, and HP31E in addition to the original HP33C.

I'm now in the process of adding simulators for the HP11C, HP22, HP27, HP34C and now the HP67C as well but these are not all finished yet.

Download the HP10C simulator here.
Download the HP11C simulator here work in progress.
Download the HP21 simulator here.
Download the HP22 simulator here - work in progress.
Download the HP27 simulator here - work in progress.
Download the HP25C simulator here.
Download the HP29C simulator here.
Download the HP31E simulator here.
Download the HP33C simulator here.
Download the HP34C simulator here - work in progress.
Download the HP67C simulator soon - work in progress, prototype comming soon(ish).
The source code (Visual BASIC 5.0) can be found here - updated 11 Feb 08.
The readme file can be found here

To run any of the simulators extract the contents of the ZIP file to a folder and just double click on the appropriate executable. It will run on Windows NT 4.0, Windows 2000 and Windows XP (but NOT Windows 95/98/Me) providing that the Visual BASIC 5.0 runtime is installed (it is installed by default with Windows 2000 and XP).

Have fun - your feedback and comments are very welcome. If you find a bug (other then something covered in the known issues) then if you let me know and I'll try to fix it as soon as possible.

Mike T.

Windows NT 4.0 can only run a maximum of three different simulators at any time.

Edited: 11 Feb 2008, 10:38 a.m. after one or more responses were posted

      
Re: CLASSIC RPN Calculator Simulators - Updated
Message #2 Posted by Howard Lazerson on 9 Feb 2008, 8:47 p.m.,
in response to message #1 by Mike T.

calculators work fine on my i mac using parallels

      
Re: CLASSIC RPN Calculator Simulators - Updated
Message #3 Posted by Olivier TREGER on 9 Feb 2008, 10:19 p.m.,
in response to message #1 by Mike T.

Nice job but...

Mac version anytime?

            
Re: CLASSIC RPN Calculator Simulators - Updated
Message #4 Posted by Marcus von Cube, Germany on 10 Feb 2008, 3:09 a.m.,
in response to message #3 by Olivier TREGER

Oliver,

Parallels does the job nicely, but if you are on an Power Mac...

The Software is written in Visual Basic. I don't thinks it's easy to port it to the Mac. VB.net might be an option if there were a .net runtime for Mac OS.

                  
Re: CLASSIC RPN Calculator Simulators - Updated
Message #5 Posted by Olivier TREGER on 10 Feb 2008, 11:51 a.m.,
in response to message #4 by Marcus von Cube, Germany

Quote:
Oliver,

Parallels does the job nicely, but if you are on an Power Mac...


I do use an Intel iMac and use VMware Fusion but when I don't really need Window$, I try to stay away from it...

Quote:
The Software is written in Visual Basic. I don't thinks it's easy to port it to the Mac. VB.net might be an option if there were a .net runtime for Mac OS.


Linux version maybe? Since OS X is a full flavoured Un1x, it maybe portable to Mac OS X later then.
            
Re: CLASSIC RPN Calculator Simulators - Updated
Message #6 Posted by Mike T. on 11 Feb 2008, 1:52 p.m.,
in response to message #3 by Olivier TREGER

Unfortunatly not - I might eventually write a Linux version if I feel the need to learn C or C++ and GTK or similar, but the right now I don't have the time to take on such a big task...

Mike T.

      
Re: CLASSIC RPN Calculator Simulators - Updated
Message #7 Posted by Namir on 10 Feb 2008, 12:28 p.m.,
in response to message #1 by Mike T.

Hi Mike,

Any HP-67 version in the planning?

Namir

            
Re: CLASSIC RPN Calculator Simulators - Updated
Message #8 Posted by Mike T. on 10 Feb 2008, 3:26 p.m.,
in response to message #7 by Namir

Yes

It shoudn't take too long to put something together from the existing code base but it will take a quite a lot longer to test.

Mike T.

                  
Re: CLASSIC RPN Calculator Simulators - Updated
Message #9 Posted by Namir on 10 Feb 2008, 3:58 p.m.,
in response to message #8 by Mike T.

Mike,

If you have the virtual HP-29C then you are about 80% there (just an educated hunch).

Namir

                        
Re: CLASSIC RPN Calculator Simulators - Updated
Message #10 Posted by Jon S Canale on 10 Feb 2008, 4:37 p.m.,
in response to message #9 by Namir

Mike,

I really get a kick out of these calculators - I have a 25C and 11C and it's neat to see them on screen.

One little problem with the 11C however, is that the "f" functions on many of the buttons don't seem to work. See f - fix - 3 for example. The "f" is ignored and a "7" is registered.

Thanks again.

Regards,

Jon

Edited: 10 Feb 2008, 4:38 p.m.

                              
Re: CLASSIC RPN Calculator Simulators - Updated
Message #11 Posted by Tim on 11 Feb 2008, 12:42 a.m.,
in response to message #10 by Jon S Canale

All the calculators seem to have problems. The HP10 and 11 the EEX does not work. On the other calculators are tested hard. The enter button seems to malfuntions. Have these been fully tested?

                                    
Re: CLASSIC RPN Calculator Simulators - Updated
Message #12 Posted by Namir on 11 Feb 2008, 4:53 a.m.,
in response to message #11 by Tim

The EEX and Enter buttons seem to work fine on the software versions I downloaded. Are you talking about a specific sequence of operations where these buttons do not work?

Namir

Edited: 11 Feb 2008, 8:11 a.m.

                                    
Re: CLASSIC RPN Calculator Simulators - Updated
Message #13 Posted by Mike T. on 11 Feb 2008, 10:29 a.m.,
in response to message #11 by Tim

Try the latest build of the HP10C simulator - I think remember fixing the EEX button problem at some point (I'd forgotton the update the key code in the function decoder, always a danger when cutting and pasting large blocks of code that are nearly the same!).

Thanks for the feedback on the HP11C, currently it is work in progress so it it may be a while before I get around to finishing it off and even longer before I test it all, but I will fix the problem you've spotted (again it is a small bit of code that I should have remembered to change after using cut and paste to copy large block of code from another form).

Mike T.

                                    
Re: CLASSIC RPN Calculator Simulators - Updated
Message #14 Posted by Mike T. on 12 Feb 2008, 2:16 p.m.,
in response to message #11 by Tim

All ...?

While the models that are still work in progress havn't been tested very much at all I have been using some of the others for quite a while, particularly the HP33C which has been extensivly refined and developed over a period of several years.

If as you suggest the enter key doesn't work on any of the simulators I'd be interested in knowing a bit more about your system's configuration (OS version, language settings, display resolution, and keyboard layout etc).

Mike T.

                                    
Re: CLASSIC RPN Calculator Simulators - Updated
Message #15 Posted by Mike T. on 27 Feb 2008, 4:28 a.m.,
in response to message #11 by Tim

Think I may have eventually managed to reproduce (and then fix) the problem you found last night.

I assume that you found that if you keyed in a number of 8 digits or more then pressed enter and then eex it didn't work, however if you keyed in a number of 8 digits or more then pressed enter and then clx before pressing eex it did...?

Thanks for the feedback.

Mike T.

                  
Offer to make your life easier
Message #16 Posted by Namir on 10 Feb 2008, 4:36 p.m.,
in response to message #8 by Mike T.

Mike,

A few years ago I wrote an HP-67 emulator using VB6. Should run ok on VB5 to te best of my knowledge. If you are interested I can email you or send you on a CD with all of the source code. You are welcome to browse through it and use all or parts of it. Perhaps the first incarnation is to replace the image of the HP-67 with your style of graphics images.

Let me know.

Namir

                        
Re: Offer to make your life easier
Message #17 Posted by Mike T. on 11 Feb 2008, 10:19 a.m.,
in response to message #16 by Namir

Actually adding an HP67 to my collection of simulators isn't going to be very hard at all since I use a common calculator class module in all the simulators and the HP67 only requires me to add two or perhaps three 'new' functions to that module. (Will have to work out what 'P-S' and '-x-' do, and I assume that '% CH' is the same as 'delta %').

Since your origial question I've already produced a new form and so it shouldn't take too long to finish once I've worked out the key codes etc.

However I'm don't understand why the HP67 seems to have two blue 'f' functions, and two blue '(i)' functions...

Mike T.

Edited: 11 Feb 2008, 10:30 a.m.

                              
Re: Offer to make your life easier
Message #18 Posted by Namir on 11 Feb 2008, 12:46 p.m.,
in response to message #17 by Mike T.

Mike,

I think pressing the [g][GTO] invokes the GSB f command which invokes the the lower case labels. If I am wrong, please someone correct me.

The keys [g][STO] keys invoke the command DSZ(i). Likewise, the kes [g][RCL] invoke the ISZ(i) command.

I used a timer control to simulate the -x- command and the STK commands. In both cases, the timer controls the process of displaying the digits with and without the decimal point for a few times, so it appears to be blinking.

Namir

Edited: 11 Feb 2008, 12:47 p.m.

                                    
Re: Offer to make your life easier
Message #19 Posted by Mike T. on 12 Feb 2008, 2:25 p.m.,
in response to message #18 by Namir

Not having an HP67 to play with I'm a bit stuck on the key codes. Does the HP67 use the same key code convention as the other simulators with for example the label keys (A-E) having key codes 11, 12, 13, 14, 15, the enter key the code '41' and f ENTER being represented by the key codes '31 41' or is a different scheme used?

If program steps were saved using these key codes how were programs stored on the magnetic cards to enable them to be loaded on either the HP97 or HP67?

Mike T.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall