The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

Emulator CPU usage
Message #1 Posted by Martin Pinckney on 9 Oct 2010, 10:02 p.m.

I've noticed that when the 41c emulator by Harassed Programmer is active, the CPU usage meter on my laptop stays over 50%. By comparison, with the Emu48 by Christoph GieBelink it may be only around 5%.

Has anyone else observed such behavior? Why such heavy demands from such a small program?

I have an HP TC4400 running Windows 7 Professional.

      
Re: Emulator CPU usage
Message #2 Posted by Massimo Gnerucci (Italy) on 10 Oct 2010, 2:48 a.m.,
in response to message #1 by Martin Pinckney

Quote:
Harassed
???

I remember this problem when I tried a (very old now) version quite some time ago. No solution found then.

Greetings,
Massimo
      
Re: Emulator CPU usage
Message #3 Posted by HrastProgrammer on 11 Oct 2010, 11:07 a.m.,
in response to message #1 by Martin Pinckney

Quote:
Harassed Programmer

LOL^2 ... "Harassed" (= "To irritate or torment persistently")

I should probably don't bother to answer but anyway ... My HP-41E for Windows is very old program and some parts of it could be coded much better, going to sleep while waiting for a key, for example. But I used it only as a test/development platform for my emulators running on HP-48GX/49G, so I didn't bother to fix it.

Use V41 by Warren Furlow, it is much better. As far as I can remember, link to his site should not be posted here, but you can Google for it ...

Best regards.
Harassed Programmer

            
Re: Emulator CPU usage
Message #4 Posted by Martin Pinckney on 11 Oct 2010, 3:49 p.m.,
in response to message #3 by HrastProgrammer

No, actually I do appreciate your answering... and not taking offense at my little joke. I was, of course, referring to your FAQ's which suggest to me that you are often Harassed by folks expecting free software...

                  
Re: Emulator CPU usage
Message #5 Posted by HrastProgrammer on 12 Oct 2010, 1:37 a.m.,
in response to message #4 by Martin Pinckney

No problem, I didn't recognize it's a joke, sorry. I never said in my FAQ that I am "harassed" by people expecting free software, just that (1) not all of my emulators will be free and (2) none of my software will be open-sourced because I don't like open-source concept, nothing else.

BTW, I restored HP-41E source from the archive (it's the latest version, I think, v1.02 from 2001) and fixed this annoying CPU usage issue. If you want, you can download it here:

http://www.hrastprogrammer.com/hp41e/hp41epc.zip

                        
Re: Emulator CPU usage
Message #6 Posted by Massimo Gnerucci (Italy) on 12 Oct 2010, 2:01 p.m.,
in response to message #5 by HrastProgrammer

Just downloaded, thanks!
Nice job, as usual...

Greetings from Milan,
Massimo

                              
Re: Emulator CPU usage
Message #7 Posted by HrastProgrammer on 13 Oct 2010, 1:43 a.m.,
in response to message #6 by Massimo Gnerucci (Italy)

:-)


[ Return to Index | Top of Index ]

Go back to the main exhibit hall