HP Forums
First python project : HP41 emulator + hints of workflow - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: First python project : HP41 emulator + hints of workflow (/thread-16950.html)

Pages: 1 2 3


RE: First python project : HP41 emulator + hints of workflow - ggauny@live.fr - 05-25-2021 11:04 AM

Hi,
here same issue with little thing more : green dashes as you can see on attachement. And sometime not good on terminal as attachement 2.
On 41c. And on G2.


RE: First python project : HP41 emulator + hints of workflow - Oulan - 05-25-2021 06:39 PM

(05-25-2021 11:04 AM)ggauny@live.fr Wrote:  Hi,
here same issue with little thing more : green dashes as you can see on attachement. And sometime not good on terminal as attachement 2.
On 41c. And on G2.

The 3 hexs numbers are the 3 first levels of the cpu return stack, just an hint for debugging key mapping, you can forget it ... see infos() function in nut.py, just remove all the lines and add pass:
Code:
  def infos(self,c):
    pass
The size of the text is the default text size of the UI of the prime (I use medium, it seems that you use large, so the redraw bugs). Actually I didn't find an easy way to set the text size from python (perhaps some hpprime.eval('xx') can do the trick).


RE: First python project : HP41 emulator + hints of workflow - ggauny@live.fr - 05-26-2021 08:10 AM

Hi Olivier,
Ok, thanks.


RE: First python project : HP41 emulator + hints of workflow - Oulan - 05-26-2021 09:38 AM

Next release : py41d at the same link :

You can swap SQRT and SQR and 1/X and y^x with:
Code:

L:132  (-_inv,  _KF,  _KF,  _KF,  _q6,  _KF,  _KF,    0),  # x^y     F
L:139  (-_sqx,  _KL,  _KL,  _KL,  _KL,    0,  _KL,    0),  # x²      L
Just add 2 '-' in key.py at lines 132 and 139 to toggle SHIFT at keypress

Olivier


RE: First python project : HP41 emulator + hints of workflow - Stevetuc - 05-26-2021 02:19 PM

Just to follow up on my previous post. Py41b works on g1. Py41c and Py41d do not. I've tried changing config.py to restrict number modules loaded but it didn't help. Heap:1024 and Stack:40000 memory 12.34MB

Maybe hp team can comment on what's the issue here.? It would be great if this excellent program would work on g1 as it evolves!


RE: First python project : HP41 emulator + hints of workflow - Massimo Gnerucci - 06-03-2021 09:00 AM

Great job Olivier!
Could you please take into account the color theme when in dark mode?

Thanks a lot.


RE: First python project : HP41 emulator + hints of workflow - Oulan - 06-04-2021 02:01 PM

(06-03-2021 09:00 AM)Massimo Gnerucci Wrote:  Great job Olivier!
Could you please take into account the color theme when in dark mode?

Thanks a lot.

New py41e version at link

Now can import/export raw files


RE: First python project : HP41 emulator + hints of workflow - Massimo Gnerucci - 06-04-2021 04:29 PM

(06-04-2021 02:01 PM)Oulan Wrote:  
(06-03-2021 09:00 AM)Massimo Gnerucci Wrote:  Great job Olivier!
Could you please take into account the color theme when in dark mode?

Thanks a lot.

New py41e version at link

Now can import/export raw files


What a service!
Thank you very much Olivier.


RE: First python project : HP41 emulator + hints of workflow - Massimo Gnerucci - 06-04-2021 04:40 PM

Just another thing I just discovered: BST doesn't get NULLed when kept pressed.


RE: First python project : HP41 emulator + hints of workflow - Oulan - 06-05-2021 10:14 AM

(06-04-2021 04:40 PM)Massimo Gnerucci Wrote:  Just another thing I just discovered: BST doesn't get NULLed when kept pressed.

Hi,
That is the normal behavior of a real HP 41.
So the emulator do the same.


RE: First python project : HP41 emulator + hints of workflow - Massimo Gnerucci - 06-05-2021 01:03 PM

(06-05-2021 10:14 AM)Oulan Wrote:  
(06-04-2021 04:40 PM)Massimo Gnerucci Wrote:  Just another thing I just discovered: BST doesn't get NULLed when kept pressed.

Hi,
That is the normal behavior of a real HP 41.
So the emulator do the same.

Ooops, shame on me!
I stand corrected. Sorry.


RE: First python project : HP41 emulator + hints of workflow - Massimo Gnerucci - 06-05-2021 06:53 PM

And thanks for the update of go41cx!


RE: First python project : HP41 emulator + hints of workflow - ggauny@live.fr - 06-06-2021 09:14 AM

Hello Olivier,

I'm wondering if you will give us a user manual ?

For example, how to call a program and execute it or else. I have some problem to do this, maybe it was too helpfull for others followers.

Good sunday !


RE: First python project : HP41 emulator + hints of workflow - Oulan - 06-07-2021 06:14 AM

(06-06-2021 09:14 AM)ggauny@live.fr Wrote:  Hello Olivier,

I'm wondering if you will give us a user manual ?

For example, how to call a program and execute it or else. I have some problem to do this, maybe it was too helpfull for others followers.

Good sunday !

Hi,

About the HP41 calculator, your can find informations at LINK, LINK or at LINK.

For the emulator part, you have now a picture of the keymap at LINK.


RE: First python project : HP41 emulator + hints of workflow - rprosperi - 06-07-2021 12:31 PM

An online version of the 41C manual is available here.


RE: First python project : HP41 emulator + hints of workflow - ggauny@live.fr - 06-07-2021 03:25 PM

Thank you all, but I've already all this texts and my own french manuals HP 41C and HP41CX. I was thinking little manual *How to do* as with Warren Furlow emulator, we can clic on the screen to have possibility *Get User Code*, *Save User Code* for example, load *MOD* for card reader and so on you see ?

But I've enjoy your super great emulator on my Primes !


RE: First python project : HP41 emulator + hints of workflow - Liamtoh Resu - 06-10-2021 01:44 AM

here is a link for the:

HP-41C OPERATING MANUAL A Guide for the Experienced User

"https://web.archive.org/web/20180104042855/http://www.decadecounter.com/vta/pdf/HP%2041C%20Operating%20Manual.pdf"

It is a 17mb download, 74 pages and text search is not enabled.

===
other links:

http://www.jeffcalc.hp41.eu/hpplus/files/techrefman.pdf

===

hp41 related sites

http://www.jeffcalc.hp41.eu/
http://www.jeffcalc.hp41.eu/emu41/index.html

http://www.*****/Intro.cfm

===

note: It is quite a jump for me from using the hp35 in 1975 to
optaining a hp33s by chance at Walmart. I missed alot of
hp calculators along the way. I now have the 33s, 50g, 35s, and the prime g2.

Thanks.


RE: First python project : HP41 emulator + hints of workflow - ijabbott - 06-10-2021 07:48 PM

(06-10-2021 01:44 AM)Liamtoh Resu Wrote:  here is a link for the:

HP-41C OPERATING MANUAL A Guide for the Experienced User

"https://web.archive.org/web/20180104042855/http://www.decadecounter.com/vta/pdf/HP%2041C%20Operating%20Manual.pdf"

It is a 17mb download, 74 pages and text search is not enabled.

There is a search-enabled version on Eric Rechlin's HP Calculator Literature page.


RE: First python project : HP41 emulator + hints of workflow - Liamtoh Resu - 06-10-2021 09:20 PM

A question about the hp41c emulator:

Does any one have a recommendation for which 41c/41cv/41cx document
to start with for someone who has never used a hp41c calculator?

I like the idea of having two calculators in one!

Thanks.


RE: First python project : HP41 emulator + hints of workflow - Steve Simpkin - 06-11-2021 12:12 AM

(06-10-2021 09:20 PM)Liamtoh Resu Wrote:  A question about the hp41c emulator:

Does any one have a recommendation for which 41c/41cv/41cx document
to start with for someone who has never used a hp41c calculator?

I like the idea of having two calculators in one!

Thanks.

I would recommend the original HP-41C Owner's Handbook and Programming Guide. It assumes you know nothing about HP calculators and is a great example of the friendly, well written calculator manuals that HP used to write.

https://literature.hpcalc.org/community/hp41c-ohpg-en.pdf