Rpl emulator new update
|
05-22-2017, 08:01 PM
(This post was last modified: 05-27-2017 11:36 PM by ji3m.)
Post: #1
|
|||
|
|||
Rpl emulator new update
Saturday 27 update. See rpl updates file for details.
Mainly added define key function and some bug fixed. Thursdays child 25may15 has a bunch of fixes and better error conrol. Much calmer. May23 zip file retained since Backup and docs haven't changed. Tuesdays child- Another set of bug fixes. NOTEQ (<>) was broken. myUPPER/MYLOWER should now work on all versions. I have added the zip file for today below Anothe fix . If then end failed. Now fixed. But not empty clauses are not yet e Allowed. E.g. if 3 == then else 33 end will fail. Will update later. Rpl22may17.txt is latest version. This attachment iwas wrong. I have updated the attachment I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
05-22-2017, 09:03 PM
Post: #2
|
|||
|
|||
RE: Rpl emulator new update
I´ve tried to install it but no success. When I do a copy of solve app (change name and then copy the content ot fhe text on the program window), but when I press the new app it only launches the equation solver, nothing else. I´ve tried on my windows emultor and on my physical calc, but no way. What am I doing bad?
|
|||
05-22-2017, 09:13 PM
Post: #3
|
|||
|
|||
RE: Rpl emulator new update
Sorry but wrong file was uploaded. Correct ine is attached.
It is named rpl22may17.txt I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
05-22-2017, 09:24 PM
(This post was last modified: 05-22-2017 09:28 PM by akmon.)
Post: #4
|
|||
|
|||
RE: Rpl emulator new update
Ok, working now, I´m gonna try it. Thank you.
|
|||
05-22-2017, 09:32 PM
Post: #5
|
|||
|
|||
RE: Rpl emulator new update
(05-22-2017 09:03 PM)akmon Wrote: I´ve tried to install it but no success. When I do a copy of solve app (change name and then copy the content ot fhe text on the program window), but when I press the new app it only launches the equation solver, nothing else. I´ve tried on my windows emultor and on my physical calc, but no way. What am I doing bad? Ive only done it on the android prime emulator. 1. Save any app under new name like RPLAPP 2. Go to that app, programs and edit it. Delete the stub program 3. Switch to android text editor (jotta + for me). Open the file rpl22may17.txt 4. Select all and the choose copy 5. Switch back to prime emulator 6. From left slide controls in. Choose edit then paste.This gets rpl app loaded 7. Select check whis compiles app and should say no errors 8. Escape from edit mode 9. Hit app button then select the rpl app. Thid should initialize rpl 10. You should now see the symbol screen for the app 11. Press VIEW to start the rpl code 12. Press VIEW ESC to exit rpl BTW the same procedure is used to load the backup file but to the Notes directory. When the rpl app is started it will recover the data then delete the backup file. Sorry if this seems way complicated but ive done it so much i dont even blink anymore. Something sumilar should work on windows. I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
05-22-2017, 09:37 PM
Post: #6
|
|||
|
|||
RE: Rpl emulator new update
Very neat! I haven't had a chance to fully explore yet, but did want to let you know that I have it working on both the Windows 10 emulator and on my physical Prime (latest SW version). I did encounter one error when running Check on line 2499. I ended up commenting out the line, and things seemed OK. Here's the context of the error (see commented out line, fourth from bottom):
Code:
Hope this helps! ~Mark Remember kids, "In a democracy, you get the government you deserve." |
|||
05-22-2017, 09:47 PM
Post: #7
|
|||
|
|||
RE: Rpl emulator new update
(05-22-2017 09:37 PM)mfleming Wrote: Very neat! I haven't had a chance to fully explore yet, but did want to let you know that I have it working on both the Windows 10 emulator and on my physical Prime (latest SW version). I did encounter one error when running Check on line 2499. I ended up commenting out the line, and things seemed OK. Here's the context of the error (see commented out line, fourth from bottom): Unfortunately i uploaded the wrong file that still had the error you found. Tye the latest file Rpl22may17.txt which should have the fixes. There is another bug in PPL on the android version. The functions UPPER and LOWER for strings lose the first character. If the real prime or windows version dont have this error then my fix will fail. Let me know how the functions work on the real prime and i will make a better workaround. I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
05-23-2017, 07:13 PM
Post: #8
|
|||
|
|||
RE: Rpl emulator new update
(05-22-2017 09:47 PM)ji3m Wrote: There is another bug in PPL on the android version. The functions UPPER and LOWER for strings lose the first character. If the real prime or windows version dont have this error then my fix will fail. Let me know how the functions work on the real prime and i will make a better workaround. I'll see if I can check these two function today and report back. After spending some time reading your introductory instructions, I'm really impressed by the scope of the work. The key mappings are pretty amazing. To provide some more useful feedback, I'll take an HP48 User Manual and start working through the chapters to exercise your emulator. I'll try and post stuff regularly as I go along. You'll definitely need to post this to the Prime software forum when you think it's past the Alpha stage! ~Mark Remember kids, "In a democracy, you get the government you deserve." |
|||
05-23-2017, 07:31 PM
Post: #9
|
|||
|
|||
RE: Rpl emulator new update
(05-22-2017 08:01 PM)ji3m Wrote: Anothe fix . If then end failed. Now fixed. But not empty clauses are not yet e Impressive! Once most of the bugs are out, I can stop carrying both the 50g and the Prime. Tom L Tom L Cui bono? |
|||
05-24-2017, 04:05 PM
Post: #10
|
|||
|
|||
RE: Rpl emulator new update
Hello,
Does anyone did already succeed to send it to a real hp prime ? Can someone make a standard hp program that can be just droped into the ConKit to make it installed ? Thank you, primer |
|||
05-24-2017, 05:35 PM
Post: #11
|
|||
|
|||
RE: Rpl emulator new update
(05-24-2017 04:05 PM)primer Wrote: Hello, I sent it to a real Prime. It works the same there as in the emulator as far as I can tell. Have you tried following the instructions to install it? It's quite easy to do. Even I managed to get it right the first time! Tom L Tom L Cui bono? |
|||
05-24-2017, 07:12 PM
Post: #12
|
|||
|
|||
RE: Rpl emulator new update
(05-23-2017 07:13 PM)mfleming Wrote:(05-22-2017 09:47 PM)ji3m Wrote: There is another bug in PPL on the android version. The functions UPPER and LOWER for strings lose the first character. If the real prime or windows version dont have this error then my fix will fail. Let me know how the functions work on the real prime and i will make a better workaround. Mark: with regard to HP48 user manual be aware that this is an RPL RPN simulation which uses the built in functions of the prime (CAS). It is structurally similar but has different names for many functions. It would be more useful to verify proper working of the cas functions I included. I am always suprised by the strange results especially when CAS evaluates things unexpectedly ( like when I copy a list). I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
05-24-2017, 11:54 PM
Post: #13
|
|||
|
|||
RE: Rpl emulator new update
I take it for granted from your various posts that you rely on the underlying Prime functions rather than writing your own routines to match those in the HP48. I thought going through the Owners Manual would be a more disciplined approach to just banging on the keys to see what happens At any rate, it would result in me trying all of the HP48 functions, skipping the unimplemented graphics commands.
Your post does raise a question though: Do you expect the Prime to be in CAS or Home mode when starting the simulator, or does it matter? At any rate, here's some feedback using the 22May2017 version of the software on the physical Prime using the Owners Manual, Chapter 1 for guidance. *Functions UPPER and LOWER work correctly *The ON key doesn't cancel a command line *Shift-Clear clears the stack * SHIFT-Sto with value and variable name on stack works. An alpha string entered without quotes is assumed to be a variable name if it doesn't match a command name (The HP48 wants single-quotes around a name; not necessary here, I think) *Can press SHIFT-singlequotes key then a variable softkey to put the variable name in quotes for the purge command *The various RPN examples and quoted arithmetic expression examples on pages 1-18 to 1-20 work *Algebraic expressions are in exact format on the stack. The approx function (from D-key menu) or the a b/c key will convert to the decimal result *In algebraic mode, the X-squared key returns what looks like 2-space-caret rather than caret-2. The key works fine in immediate mode *The Define function (SHIFT-D) doesn't map to the HP48 DEF command I've yet to go through all the function keys on the keypad, but I had no problems running through the introductory examples (other than HP48 functions with no Prime equivalent). I've worked a little bit with variables and directories, and will probably focus more on that next. The code is still a bit fragile. I've seen mistakes do everything from bounce me into the debugger to resetting the Prime (fun!) More later... ~Mark Remember kids, "In a democracy, you get the government you deserve." |
|||
05-25-2017, 04:40 AM
Post: #14
|
|||
|
|||
RE: Rpl emulator new update
(05-24-2017 11:54 PM)mfleming Wrote: I take it for granted from your various posts that you rely on the underlying Prime functions rather than writing your own routines to match those in the HP48. I thought going through the Owners Manual would be a more disciplined approach to just banging on the keys to see what happens At any rate, it would result in me trying all of the HP48 functions, skipping the unimplemented graphics commands. I haven't done anthing with the code since last year but i'm remembering a lot in the last few days. Im not tying to reproduce the 48-50 with regard to specific functions but just to have a true rpn-algebraic cas with RPL style code. Most of the cas functions can be user rpn or algebraic style except the ones with variable number of arguments. Some can work with a list of args rpn style. I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
05-25-2017, 10:23 AM
Post: #15
|
|||
|
|||
RE: Rpl emulator new update
How do you enter
->NUM I looked through the docs but can't seem to find it. Tom L Tom L Cui bono? |
|||
05-25-2017, 12:01 PM
Post: #16
|
|||
|
|||
RE: Rpl emulator new update
(05-25-2017 10:23 AM)toml_12953 Wrote: How do you enter Blue Ans is ->num You could also use a b/c key which is approx. Blue a b/c invokes exact I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
11-10-2017, 10:39 AM
Post: #17
|
|||
|
|||
RE: Rpl emulator new update
I can't get the RPL Emulator to run with the new 8 November Beta firmware. Is there a new RPL version that does run?
Tom L Cui bono? |
|||
11-10-2017, 04:35 PM
Post: #18
|
|||
|
|||
RE: Rpl emulator new update
(11-10-2017 10:39 AM)toml_12953 Wrote: I can't get the RPL Emulator to run with the new 8 November Beta firmware. Is there a new RPL version that does run? This is in the list to look at. Definitely should not be crashing no matter what. TW Although I work for HP, the views and opinions I post here are my own. |
|||
11-17-2017, 10:11 AM
(This post was last modified: 11-17-2017 10:12 AM by toml_12953.)
Post: #19
|
|||
|
|||
RE: Rpl emulator new update
I think I found the problem with RPL. When I try to check it, I get an error on lines with CHECK (n) in them.
I changed CHECK to Function.CHECK and the program seems to run. I haven't determined the purpose of CHECK in the program yet but at least it will run. Tom L Cui bono? |
|||
11-17-2017, 12:39 PM
Post: #20
|
|||
|
|||
RE: Rpl emulator new update
OK, how do I put the « character in? When I click Shift-6 then choose 1, I get
NULL PROLOG instead of the « character. Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)