newRPL: [UPDATED April 272017] Firmware for testing available for download

04172016, 07:59 PM
Post: #261




RE: newRPL: [UPDATED Apr1716] Firmware for testing available for download
New version of the firmware with the following additions:
* Angles! This is a new feature ready to be tested. * Polar complex numbers: quite rough in some edges, but implemented except a few places. * Polar vectors: you can create them, but they are not ready to be operated upon. Mostly the idea is to test all corner cases of angles and their associated commands, as well as complex vectors (don't forget to enable complex mode with 103 SF in order to get complex results from real operations). Happy bug hunt. 

04182016, 10:36 AM
(This post was last modified: 04182016 10:52 AM by Helix.)
Post: #262




RE: newRPL: [UPDATED Apr1716] Firmware for testing available for download
Perhaps there is a setting that I don't know, but the autopower off is activated after only 30 seconds.
Another remark: when I enter 0, the autocomplete feature shows π0. JeanCharles 

04182016, 12:34 PM
Post: #263




RE: newRPL: [UPDATED Apr1716] Firmware for testing available for download
(04172016 07:59 PM)Claudio L. Wrote: New version of the firmware with the following additions: One curious feature about power consumption: with the calculator off and drawing 4 mA, holding down leftshift, rightshift, or alpha decreases current to about onetenth of this value! Pressing other buttons has no effect; current returns to 4mA when the button is released. Although I've measured this with the latest firmware, it may have happened with the previous firmware too; I didn't test for it. Nigel (UK) 

04182016, 12:35 PM
Post: #264




RE: newRPL: [UPDATED Apr1716] Firmware for testing available for download
(04182016 10:36 AM)Helix Wrote: Perhaps there is a setting that I don't know, but the autopower off is activated after only 30 seconds. It can be configured, of course, but there's no userfacing application to do that yet. It goes in powers of 2 from 30 seconds, so it can be 30 sec, 1 minute, 2 min, 4 min,etc. What's a reasonable default? I use 30 seconds, most of the time is OK but sometimes it can be annoying. (04182016 10:36 AM)Helix Wrote: Another remark: when I enter 0, the autocomplete feature shows π0. Yes, autocomplete will suggest commands where the first character is nonASCII based on the second character. This is so you can type LIS and the suggestion will include also >LIST for example. There's no harm in suggesting pi I think. 

04182016, 02:13 PM
Post: #265




RE: newRPL: [UPDATED Apr1716] Firmware for testing available for download
(04182016 12:35 PM)Claudio L. Wrote: It can be configured, of course, but there's no userfacing application to do that yet. It goes in powers of 2 from 30 seconds, so it can be 30 sec, 1 minute, 2 min, 4 min,etc. What's a reasonable default? I use 30 seconds, most of the time is OK but sometimes it can be annoying. I'd vote for 4 min. (04182016 12:35 PM)Claudio L. Wrote: Yes, autocomplete will suggest commands where the first character is nonASCII based on the second character. This is so you can type LIS and the suggestion will include also >LIST for example. There's no harm in suggesting pi I think. Now I understand. There is no harm indeed. JeanCharles 

04182016, 02:17 PM
Post: #266




RE: newRPL: [UPDATED Apr1716] Firmware for testing available for download
Claudio, just a question:
are you still working on the PCemulation of your newRPL, or is this project dead? Franz 

04192016, 05:14 PM
Post: #267




RE: newRPL: [UPDATED Apr1716] Firmware for testing available for download
(04182016 02:17 PM)fhub Wrote: Claudio, just a question: Not dead! Actually, newRPL is developed and tested on that same PC emulator. But compiling and putting together an installer takes a lot of work, versus just compiling a firmware. The PC binaries are updated every 6 months or so, while the calculator ROM is updated roughly monthly. I did prepare a template of a skinnable version, it compiles and allows you to change the scale of the emulated screen and keyboard. Looks good, but that's all it does for now, until the "guts" of newRPL are ported to it. My time became even more limited in the last couple of months so it's sitting there until I have some larger chunk of time to work on it. It takes some substantial work to get it done, while working on new commands or features of newRPL is easier to subdivide into smaller tasks, and that fits better my current schedule, that's all. But it's nor dead not forgotten. 

05062016, 05:41 PM
Post: #268




RE: newRPL: [UPDATED Apr1716] Firmware for testing available for download
May update!
This new version adds: * Additional support for complex numbers in many commands (not all, so complex mode is still not going to be advertised as implemented). * Some indicators in the status area. * 8level UNDO/REDO for the stack. The last item is probably the coolest addition to newRPL. While looking at the stack, the left cursor became UNDO. Right shift and the left cursor is REDO. There's 8 levels (will be configurable when the GUI for settings is created). The only drawback is that it eats some memory in two ways: a) 4bytes per each object in the stack. b) It locks in memory some objects that would otherwise be removed by a garbage collection, because they are in past stacks. But the benefits outweigh the cost, so there it is. 

05242016, 02:11 PM
Post: #269




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
I bought another 50g to try newRPL, and ... it arrived yesterday. All went nice! running newrpl now
My website: erwin.ried.cl 

05242016, 06:54 PM
Post: #270




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
(05242016 02:11 PM)eried Wrote: I bought another 50g to try newRPL, and ... it arrived yesterday. All went nice! running newrpl now Excellent! Test (play with) everything and report back (and often) with any opinions/ideas/bugs, etc. I'll take the opportunity to repost the link to an incipient attempt to document newRPL: http://hpgcc3.org/projects/newrpl/newrpldoc It's way outdated and very primitive, but will give you a good idea where to start looking for differences and similarities to what we now call "classic" RPL. The rest of the information is scattered in posts in this forum, but I was careful to start the subject with "newRPL:" on every post, so it should be easy to filter. Enjoy (I hope!). 

05242016, 08:19 PM
Post: #271




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
(05242016 06:54 PM)Claudio L. Wrote:(05242016 02:11 PM)eried Wrote: I bought another 50g to try newRPL, and ... it arrived yesterday. All went nice! running newrpl now Cool! I'm going to wait for some leisure time to check all these documents. I wonder if the newrpl development can be split in several 'challenges' to take some load from you; eventually. My website: erwin.ried.cl 

05262016, 04:47 PM
(This post was last modified: 05262016 06:51 PM by compsystems.)
Post: #272




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
Hi I have managed create the same function PART (TI89, HPPRIME) for HP48/49/50 calculators, this function to extract each part of an expression, very useful to analyze the algebraic expression, It requires that obj> function is available in NEWRPL
sOURCE cODE Code:
Syntax: part(Expr, Integer) Returns the nth sub expression of an expression. If the second argument is empty (1 for hp48/49/50), returns the number of parts. If the second argument is ZERO, returns the operator if any, otherwise returns the same expression as string Examples: TI89/TIVOYAGE200PLT AND HPPRIME part(sin(x)+cos(y)) → 2 // two parts sin(x) & cos(y) part(sin(x)+cos(y),1) → sin(x) // first part part(sin(x)+cos(y),2) → cos(y) // second part part(sin(x)+cos(y),3) → "nonexistent part in the expression" part(sin(x)+cos(y),0) → "+" // operator between parts part( part(sin(x)+cos(y),1)) → 1 // number of parts of the first part part( part(sin(x)+cos(y),2)) → 1 // number of parts of the second part part( part(sin(x)+cos(y),1),1) → x // firts part of the firts part, sin(x)→ x part( part(sin(x)+cos(y),2),1) → y // firts part of the second part, cos(y)→ y part( part(sin(x)+cos(y),1),0) → "sin" // operator of the firts part, sin(x)→ "sin" part( part(sin(x)+cos(y),2),0) → "cos" // operator of the second part, cos(x)→ "cos" part(sin(x)) → 1 // one part part(sin(x),1) → x // first part part(sin(x),0) → "sin" // operator "sin" part(part(exp(x)*sin(x) + cos(x),1),2) → sin(x) // second part of the first part exp(x)*sin(x) → sin(x) part(part(exp(x)*sin(x) + cos(x),1),0) → "*" // operator of the first part exp(x)*sin(x) → "*" part(part(exp(x)*sin(x) + cos(x),2),0) → "cos" // operator of the second part cos(x)→ "cos" part(part(exp(x)*sin(x) + cos(x),2),1) → "x" part(part(exp(x)*sin(x) + cos(x),1)) → 2 part(part(exp(x)*sin(x) + cos(x),1),1) → exp(x) part(part(part(e^x*sin(x) + cos(x),1),1),1) → x part(part(part(e^x*sin(x) + cos(x),1),1),0) → "exp" special cases part(X) → 1 // one parts part(X,1) → 1 // firts part, X part(X,0) → 1 // operator "" part(X1) → 0 // No parts part(X1,0) → "X1" part(1) → 0 // No parts part(X,0) → 1 // "1"  hp48/49/50 SERIES 'sin(x)+cos(x))' 1 → 2 // 2 parts 'sin(x)+cos(x)' 0 → "+" // operator 'sin(x)+cos(x)' 1 → 'sin(x)' // part1 'sin(x)+cos(x)' 2 → 'cos(x)' // part2 'sin(x)+cos(x)' 3 → "nonexistent part in the expression" application of the PART function TI89 Code Code: difstep(f,x) 

05272016, 12:16 AM
Post: #273




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
I've just discovered this thread, best thing I've read in a long time.
I've briefly looked at the documentation, and I am left with a few questions: * When do you think newRPL would be stable (v1.0) and able to replace HP's firmware, is this expected sometime in 20162017 or later? * Would it be opensource and/or which license would it be released under? Thanks! 

05272016, 02:05 AM
Post: #274




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
(05272016 12:16 AM)jibanes Wrote: I've just discovered this thread, best thing I've read in a long time. Glad you found the project interesting! Ahhhh... the big question! There's no dates, no pressure. For daytoday number crunching it's already replaced HP firmware in one of my 50g's for several months, but it's very green in some areas, so I have the second 50g with stock firmware ready for action when I need something that's not implemented. With the calculator being so inexpensive now (and discontinued), I think every 50g owner should buy a spare, and of course flash newRPL on it! As far as stable, I can say it is quite stable, it hardly ever crashes, but occasionally you hit a wall on something that's not implemented yet and you need it for your code. The alpha status is mainly to indicate the user should lower the expectations in terms of completeness, there's less than 25% of the commands implemented but what's done was done very carefully and is quite stable. It is open source, BSD licensed as stated in the Sourceforge project page and in the code itself. 

05272016, 02:25 AM
Post: #275




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
(05272016 02:05 AM)Claudio L. Wrote:(05272016 12:16 AM)jibanes Wrote: I've just discovered this thread, best thing I've read in a long time. Sounds good, how to install? 

05272016, 08:07 PM
Post: #276




RE: newRPL: [UPDATED May0616] Firmware for testing available for download  
06012016, 11:34 PM
Post: #277




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
Finally I've been able to grab my old HP49G+ and now I can do some tests on the real metal!
The calc I'm testing comes from one of the first batches produced by HP and suffers from the infamous keyboard quality: a couple of keys were wiggly in their seat, and I suspect that situation will grow worse as I continue with my tests. Nevertheless, everybody else installs NewRPL on their 50G (which I own) so it just makes sense to test an older platform.


06022016, 12:51 AM
Post: #278




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
(06012016 11:34 PM)JoJo1973 Wrote: Finally I've been able to grab my old HP49G+ and now I can do some tests on the real metal! Thanks for testing, your points are valid, not nitpicky at all. Currently there's no way to distinguish complex infinity from real infinity, I have to think how to implement something like that (infinity and NAN are now real numbers). All other points will be taken care of, I know some functions were not tested with special numbers and infinity, so please test them all and report (also pass NaN as an argument to see what happens, in most cases they should behave properly but some may not). 

06022016, 03:40 AM
Post: #279




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
Found what I think is another bug:
The function DET gives an error "Invalid opcode" when used on a valid matrix For example: [ [4 2 7] [7 2 9] [1 4 8] ] DET Gives 8 on standard firmware but "Invalid opcode" in newRPL. I know the matrix is entered correctly because newRPL will compute its inverse without reporting any error and return the correct result. François 

06022016, 07:58 AM
Post: #280




RE: newRPL: [UPDATED May0616] Firmware for testing available for download
Ok, I'll start some torture tests on builtin functions... results will surface on this thread ASAP.
If I've correctly understood the implementation in your code, infinities are just normal numbers with an INFINITY flag set. This could open interesting possibilities:
I see two advantages: everything seems to be already in place for implementation, and numeric type will be automatically been taken care of by the system. What do you think? (06022016 12:51 AM)Claudio L. Wrote: Thanks for testing, your points are valid, not nitpicky at all. Currently there's no way to distinguish complex infinity from real infinity, I have to think how to implement something like that (infinity and NAN are now real numbers). 

« Next Oldest  Next Newest »

User(s) browsing this thread: 5 Guest(s)