The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP-15C emulator also free now!
Message #1 Posted by fhub on 3 Feb 2013, 6:30 a.m.

I've found it on the site of an official HP distributor:
http://www.derekenwinkel.nl/scientific-calculators/hp-15c-limited-edition.html

Just scroll down to the bottom of the page, it's the updated version (Jan 2013) that doesn't need any activation.

It seems the HP people are slowly changing their emulator policy ... :-)

Franz

      
Re: HP-15C emulator also free now!
Message #2 Posted by Marcus von Cube, Germany on 3 Feb 2013, 2:45 p.m.,
in response to message #1 by fhub

They seem to have changed their mind again. I get a 404. :-(

            
Re: HP-15C emulator also free now!
Message #3 Posted by Gerson W. Barbosa on 3 Feb 2013, 3:00 p.m.,
in response to message #2 by Marcus von Cube, Germany

Same here the first time I tried (it is working now). If 404 still persists, try this

http://www.derekenwinkel.nl/wetenschappelijke-rekenmachines/hp-15c-limited-edition.html

or even that

http://www.derekenwinkel.nl/fileuploader/download/download/?d=0&file=custom%2Fupload%2FFile-1359550868.zip

                  
Re: HP-15C emulator also free now!
Message #4 Posted by Marcus von Cube, Germany on 4 Feb 2013, 2:52 a.m.,
in response to message #3 by Gerson W. Barbosa

The download worked for me. Thanks!

The emulator is plagued by the same PSE bug as the hardware. So it's a faithful emulation of the LE. ;-)

      
Re: HP-15C emulator also free now!
Message #5 Posted by Nigel J Dowrick on 3 Feb 2013, 2:50 p.m.,
in response to message #1 by fhub

Franz - this link doesn't work for me. This one does, however: Link to HP-15c emulator. I've installed it: as you say, it runs without any activation, but on my computer the display is temporarily corrupted whenever f or g are pressed.

Thanks for the information!

Nigel (UK)

            
Re: HP-15C emulator also free now!
Message #6 Posted by fhub on 3 Feb 2013, 4:22 p.m.,
in response to message #5 by Nigel J Dowrick

Quote:
... but on my computer the display is temporarily corrupted whenever f or g are pressed.
Yes Nigel, this emulator seems to have big graphic problems. Sometimes it helps to reset the emulator or switch to an other skin (small/medium/big), but after that you must minimize and reopen the window again, because this also messes up the screen.

This emulator is indeed quite buggy (at least the graphic), and I really don't understand that HP couldn't fix this crap even with this update! :-(

Franz

Edited: 3 Feb 2013, 4:23 p.m.

                  
Re: HP-15C emulator also free now!
Message #7 Posted by Gerson W. Barbosa on 4 Feb 2013, 9:05 p.m.,
in response to message #6 by fhub

Quote:
this emulator seems to have big graphic problems.

One of them are those nasty dings on the left side of the bezel :-)

Now seriously, there's no problem here with the f and g keys, but after changing skins the emulator window has to be minimized and then restored again. Also, when running a program the screen most of the times goes blank. This hasn't been fixed by your alternative skins below.

Gerson.

                        
Re: HP-15C emulator also free now!
Message #8 Posted by fhub on 5 Feb 2013, 6:28 a.m.,
in response to message #7 by Gerson W. Barbosa

Quote:
Now seriously, there's no problem here with the f and g keys, but after changing skins the emulator window has to be minimized and then restored again.
Yes, these display problems seem to happen only randomly, and that's what really annoys me. Although my fix (with the skin files) solves this problem, I hate it if I don't understand HOW and WHY this display bug is happening.

The other problem (when switching skins) is of course something that I could only fix when I would have the emulator sources.

Franz

Edited: 5 Feb 2013, 6:29 a.m.

                              
Re: HP-15C emulator also free now!
Message #9 Posted by Tim Wessman on 5 Feb 2013, 12:33 p.m.,
in response to message #8 by fhub

Me either.

We have spent quite a bit of time trying to track these down several different times. The strange thing is, the 12C doesn't have the problem and the 15C does. The code is identical between them though with regards to the emulator part. It is very perplexing.

TW

      
Re: HP-15C emulator also free now!
Message #10 Posted by Nenad (Croatia) on 3 Feb 2013, 3:37 p.m.,
in response to message #1 by fhub

Unfortunately, it correctly emulates the infamous PAUSE bug

            
Re: HP-15C emulator also free now!
Message #11 Posted by DeboT on 4 Feb 2013, 4:24 a.m.,
in response to message #10 by Nenad (Croatia)

Quote:
... it correctly emulates the infamous PAUSE bug
And I think it should. If I develop a program on the emulator, I want it to work on the real calculator - and not have surprises and spend more debugging time if the emulator is not a true representation of the real thing.
                  
Re: HP-15C emulator also free now!
Message #12 Posted by Marcel Samek on 4 Feb 2013, 1:05 p.m.,
in response to message #11 by DeboT

I use this emulator occasionally. There is one bug that I have found that has bitten me:

When you fire up the emulator, it correctly restores the state of memory, as it should. However, it resets all the user flags on each restart of the emulator whereas on the real hardware the flags are not reset when it is powered on. As a result, if you have a program that depends on the state of the flags and does not initialize the flags, it might behave differently on the real hardware and on the emulator.

                        
Re: HP-15C emulator also free now!
Message #13 Posted by DeboT on 5 Feb 2013, 5:45 a.m.,
in response to message #12 by Marcel Samek

The case that proves my point, I guess.

Saving the calculator state between startups does seem to be a bit random among emulators. I have 2 RPN "calculators" on my Nokia N8, Martin Krischik's HP-45 emulator and EasyRPN (not an emulator, but an on-phone calculator). The HP-45 remembers FIX setting and all register contents between startups, but for EasyRPN every startup is a "new day", whereas the real HP-45 does not save anything between switch-ons and most modern scientific calculators do; quite ironic :-)

            
Re: HP-15C emulator also free now!
Message #14 Posted by Kiyoshi Akima on 4 Feb 2013, 4:08 p.m.,
in response to message #10 by Nenad (Croatia)

Is it possible to flash the emulator's ROM with the 15C+ ROM? Given the emulator's nature I'm willing to sacrifice the low battery indicator in return for a working PAUSE.

                  
Re: HP-15C emulator also free now!
Message #15 Posted by Marcus von Cube, Germany on 4 Feb 2013, 4:19 p.m.,
in response to message #14 by Kiyoshi Akima

The problem is not in the ROM but in the emulation layer. The latter is surely different in both implementations (Emulator and 15C+/LE). I guess that the emulation layer was written in C++ and compiled with a MS compiler for the emulator and the IAR cross compiler for the device. The 15C+ seems to have different code here.

      
Re: HP-15C emulator: display problems fixed
Message #16 Posted by fhub on 4 Feb 2013, 5:24 p.m.,
in response to message #1 by fhub

Hi,

I've experimented today with this display bug that was mentioned yesterday in an other posting: the problem was that sometimes (randomly) pressing the [f] key displayed a part of the keyboard image in the number display.
Now I found out that the problems seems to be in the skin files - either there are some wrong entries or the emulator interprets some values incorrectly.

Although I still don't fully understand the purpose of all those entries in the skin file, I could find the lines which caused these display glitches and I've simply commented them out.

So if anyone has the same problem with his HP-15C emulator, just download the following file and unzip the modified skin-files into your emulator folder (I've also included the original files):

http://www.hpmuseum.org/guest/fhub/skins15c.zip

Since the same problem happens with the HP-12c emulator (not the Platinum!), I've also fixed the 12c skin-files (which are almost identical to the 15c files) and uploaded it here:

http://www.hpmuseum.org/guest/fhub/skins12c.zip

Let me know if these modified skins don't fix the problems on your computer.

And if anybody could explain how exactly the lines "POLY=..." work (i.e. what they do) - any detailed explanations would be appreciated.

Franz

            
Re: HP-15C emulator: display problems fixed
Message #17 Posted by Didier Lachieze on 5 Feb 2013, 2:20 a.m.,
in response to message #16 by fhub

Great! that solves the display issue with the f key on my PC! Thanks for that. (still wondering how you identified the lines to comment)...

Edited: 5 Feb 2013, 2:21 a.m.

                  
Re: HP-15C emulator: display problems fixed
Message #18 Posted by fhub on 5 Feb 2013, 6:15 a.m.,
in response to message #17 by Didier Lachieze

Quote:
(still wondering how you identified the lines to comment)...
Well, about 30 years experience with analyzing and modifying programs to fix any bugs! ;-)

But it was indeed quite some work, I had to find out the most important things about the structure of these skin files, and finally I found which lines (i.e. which numbers after "poly=...") are responsible for the display annunciators.

Nevertheless the complete working of the skin files is still a mystery for me - it's ways more complicated than necessary (if you compare it with the skin handling of Christoph Giesselink's emulators).

Franz

                        
Re: HP-15C emulator: display problems fixed
Message #19 Posted by Tim Wessman on 5 Feb 2013, 12:34 p.m.,
in response to message #18 by fhub

It really isn't any different. One is an XML with labels for each individual item, the other is just flat.

poly= on calculators with LCD segments, gives the outline of the area to be filled for the specific pixel. POLY= same, but for the copy screen which has a much larger size.

A negative on those means copy a region from the bmp image rather then make a filled polygon.

On units where the calc has a matrix display, MATRIX= defines the number of pixels and a scaling value.

key= defines the key location and keycodes that actuate the key.

Fairly straightforward stuff. We didn't design it for end user editing of course, and that is what you really are complaining about! :-)

TW

Edited: 5 Feb 2013, 12:40 p.m.

            
Re: HP-15C emulator: display problems fixed
Message #20 Posted by Thomas Radtke on 5 Feb 2013, 7:27 a.m.,
in response to message #16 by fhub

That works, thanks!


[ Return to Index | Top of Index ]

Go back to the main exhibit hall