The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

Screenshots of the HP-15C LE emulator?
Message #1 Posted by Torsten on 13 Sept 2011, 1:41 p.m.

I would like to see screenshots of the HP-15C LE Emulator. Can someone upload photos?

Torsten

      
Re: Screenshots of the HP-15C LE emulator?
Message #2 Posted by Dave on 13 Sept 2011, 2:03 p.m.,
in response to message #1 by Torsten

There's nothing to see. It looks exactly like the 15C. Find a picture of the 15C, and you'll have a screen shot of the emulator. In fact, you can just R-click the logo and hide the title bar so all you see is the calculator.

Edited: 13 Sept 2011, 2:04 p.m.

            
Re: Screenshots of the HP-15C LE emulator?
Message #3 Posted by Torsten on 13 Sept 2011, 2:38 p.m.,
in response to message #2 by Dave

No additional functions like saving/loading programs etc.?

                  
Re: Screenshots of the HP-15C LE emulator?
Message #4 Posted by M. Joury on 13 Sept 2011, 2:41 p.m.,
in response to message #3 by Torsten

Not that I can find (unfortunately).

                        
Re: Screenshots of the HP-15C LE emulator?
Message #5 Posted by Gerson W. Barbosa on 13 Sept 2011, 2:43 p.m.,
in response to message #4 by M. Joury

Does it run at fastest possible speed? TIA.

                              
Re: Screenshots of the HP-15C LE emulator?
Message #6 Posted by Michael de Estrada on 13 Sept 2011, 2:51 p.m.,
in response to message #5 by Gerson W. Barbosa

As far as I can tell it runs at the processor speed, effectively instantaneous.

                                    
Re: Screenshots of the HP-15C LE emulator?
Message #7 Posted by M. Joury on 13 Sept 2011, 3:04 p.m.,
in response to message #6 by Michael de Estrada

Hmmmmm..... Interesting. Your results seem utterly different from mine.

                              
Re: Screenshots of the HP-15C LE emulator?
Message #8 Posted by M. Joury on 13 Sept 2011, 3:03 p.m.,
in response to message #5 by Gerson W. Barbosa

I would say not. I compared it against the WP34S emulator and programmed both to do a 100,000 DSE loop. I wrote the programs the same way on both machines not using any of the tricks of the WP34S. The 15C took approx. 5 seconds to complete while the WP34S took under a second.

I don't know how the emulator is implemented but a 100,000 count on a 1.6GHz Intel processor should be nearly instantaneous.

There are also a couple of bugs in the emulator itself. Not the HP-15C if you get my drift. Refreshing the window is broken in some situations and I saw screen artifacts while keying in my short test program. For example, those that have it installed can try this: Go into program mode and press the f key. You will see an image of the top row of keys on the emulator screen (at least I did).

Cheers,

-Marwan

Edited: 13 Sept 2011, 3:08 p.m.

                                    
Re: Screenshots of the HP-15C LE emulator?
Message #9 Posted by Gerson W. Barbosa on 13 Sept 2011, 3:26 p.m.,
in response to message #8 by M. Joury

WP34s is expected to run faster because it runs native C++ code. Emulators are noticeably slower. Compare, for instance, Free42 with Emu42.

Cheers,

Gerson.

                                          
Re: Screenshots of the HP-15C LE emulator? -- edited
Message #10 Posted by M. Joury on 13 Sept 2011, 3:54 p.m.,
in response to message #9 by Gerson W. Barbosa

I agree. Which is why I commented on the emulator implementation. As another benchmark I just tried the same sort of loop on EMU48 running a 48SX and, for what it's worth, the timing was very close to that of the HP15C LE emulator.

Still, keep in mind that the WP34S is still being emulated. What you have with the 15C is an emulator running an emulator running your code while with the WP34S it is an emulator running your code. So an extra layer of emulation which, again, is why the emulator layer becomes so important.

I am not sure that your example of Free42 vs. Emu42 is valid since Free42 is presumably running native code on whatever hardware platform it is running on while WP34S is still being emulated.

However, the extra layer of emulation could indeed be the culprit here.

Cheers,

-Marwan

Edited: 13 Sept 2011, 4:01 p.m.

                                                
Re: Screenshots of the HP-15C LE emulator? -- edited
Message #11 Posted by Marcus von Cube, Germany on 13 Sept 2011, 4:18 p.m.,
in response to message #10 by M. Joury

On Windows, there is no emulation layer in WP 34S and only one in the 15C LE. Both run native code compiled for the x86 architecture. In the case of the 15C, this native code runs a NUT CPU which executes the original 15 C firmware. In the case of WP 34S there is no such layer. It's just an ordinary Windows program.

We call it "emulator" because it pretends to be the real calculator without being it but not in the sense of trying to mimic the internals of the ARM processor.

                                                      
Re: Screenshots of the HP-15C LE emulator? -- edited
Message #12 Posted by M. Joury on 13 Sept 2011, 4:32 p.m.,
in response to message #11 by Marcus von Cube, Germany

Hi Marcus,

Thanks for that clarification. I assumed that the WP34S running under Windows was emulating the ARM processor and I made the same assumption for the HP12C. So one layer of emulation removed from each and I assume that this would place the WP34S at the same "emulation" level as Free42.

I guess that I would call both WP34S and Free42 simulators per some of the posters in this thread. Obviously this is not universally accepted.

Thanks again,

-Marwan

Edited: 13 Sept 2011, 4:33 p.m.

                                                            
Re: Screenshots of the HP-15C LE emulator? -- edited
Message #13 Posted by Marcus von Cube, Germany on 13 Sept 2011, 5:03 p.m.,
in response to message #12 by M. Joury

We had this discussion already. We emulate (simulate?, pretend?) the outer appearance of the calculator on the screen (which is a software totally separate from the code that runs inside the hardware). The calculator guts themselves are compiled from the very same sources that are used to build the ROM image. It's just a different target.

                                                                  
Re: Screenshots of the HP-15C LE emulator? -- edited
Message #14 Posted by M. Joury on 13 Sept 2011, 5:30 p.m.,
in response to message #13 by Marcus von Cube, Germany

Makes sense. Like I said. Peoples opinions differ. I just made an assumption, based on the term "emulator", that was wrong.

                        
Re: Screenshots of the HP-15C LE emulator?
Message #15 Posted by Torsten on 13 Sept 2011, 3:08 p.m.,
in response to message #4 by M. Joury

Then there's still room for other simulators/emulators which offer these functions. I doubted whether it is worthwhile to continue with my HP-15C simulator.

Edited: 13 Sept 2011, 3:11 p.m.

                              
Re: Screenshots of the HP-15C LE emulator?
Message #16 Posted by Namir on 13 Sept 2011, 3:40 p.m.,
in response to message #15 by Torsten

Thanks! This is a slightly newer version of the first two that I had!

Namir

                              
Re: Screenshots of the HP-15C LE emulator?
Message #17 Posted by Marcus von Cube, Germany on 13 Sept 2011, 3:52 p.m.,
in response to message #15 by Torsten

Torsten, if you go the way of Free42 (maybe even sharing some code) your simulator may well be distinctive enough.

                                    
Re: Screenshots of the HP-15C LE emulator?
Message #18 Posted by Howard Owen on 13 Sept 2011, 9:31 p.m.,
in response to message #17 by Marcus von Cube, Germany

Source code is available under the GPL. Check out the download link.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall