First python project : HP41 emulator + hints of workflow
|
05-16-2021, 01:14 PM
(This post was last modified: 05-19-2021 07:01 AM by Oulan.)
Post: #1
|
|||
|
|||
First python project : HP41 emulator + hints of workflow
While beeing disapointed due to large cpu throttle in HPPL, when python came on the Prime I could not resist ...
So I ported my HP41 emulator on the Prime in Python ... see at LINK Some nice results : - python is at least 10 times faster than HPPL for casual stuff - no cpu throttling - very deep and well done integration of python with prime firmware - hpprime module very well done (some small bugs ...) - python is robust on the prime, very few calc reset/reboot - if you play too long with the emu, when you leave it the prime shut off due to auto off function not taking python execution into account Only tested on a G2 model ... for G1 you can change some timing in nut.py (near line 790 : adjust 0.30 in hpprime.eval('WAIT(.030)')) HP PRIME development workflow in micro-python:
You can do it in the 'HP Connectivy Kit/Content/app.hpappdir/' directory You can also use in the devKit contextual menu 'add a file' in the v/calc. (be sure to 'Sync' before and after). I make minor changes in v/calc without troubles, editor seems robust. I just does not succeed in using 'signets/marks'. 'goto' lines sometimes does not refresh the display, moving the cursor with arrows sometimes correct this (perhaps 1000 lines is too much ?). I sometime edit large parts in the virtual calc directly: PC keyboard and mouse are nice at this job. Only gripes is the lack of 'SHIFT-arrows' to select text. Actually sometimes the dev kit takes some seconds to react ... just wait. When in trouble (shadow apps, strange apps...): As seen somewhere in this forum I do the following:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)