newRPL - build 1255 released! [updated to 1299]
|
01-03-2018, 08:18 PM
Post: #81
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-03-2018 07:56 PM)BarryMead Wrote: Claudio: I blew out the dust, and recompiled the new 1006 version for the emulator, and put the latest 1006 version of newrplfw.bin on the 2g flash card and reloaded the calculator too with the latest 1006 version. Then surprisingly the USB PORT on the 50G started working again. YEA!!! Glad it worked! You are on a roll... |
|||
01-03-2018, 08:41 PM
(This post was last modified: 01-03-2018 08:47 PM by Claudio L..)
Post: #82
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-03-2018 04:40 AM)mbarnes Wrote: I was able to get newRPL working tonight using a new Ubuntu 16.04 installation running under VirtualBox.Fixed. Thanks! (01-03-2018 04:40 AM)mbarnes Wrote: 2. When compiling the firmware, I ran into the classic 'sys/cdefs.h' not found problem. InstallingI added that option to the wiki, the nice thing is it allows you to keep the default folders in the project files. (01-03-2018 04:40 AM)mbarnes Wrote: Question: I am using an HP 39gs as my newRPL platform. Under windows 10 I was eventually able to load the firmware onto the calc. How do I now update it? The usual trick of 'reset button/+ - keys/3 seconds' doesn't work and the Windows Calculator Connectivity Kit doesn't recognize the calculator with the new firmware. The "usual trick" still works, but everything in newRPL is much faster so you need to have some training in ancient japanese martial arts. Once you are capable of trapping a fly with chopsticks you'll be able to do this. There's a way that never fails:
|
|||
01-03-2018, 08:45 PM
Post: #83
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-03-2018 08:41 PM)Claudio L. Wrote: Or the samurai style: Will it help if Jupiter and the Moon are aligned with Saturn on a Friday 13th night? Software Failure: Guru Meditation -- Antonio IU2KIY |
|||
01-03-2018, 08:53 PM
Post: #84
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-03-2018 08:45 PM)TheKaneB Wrote:(01-03-2018 08:41 PM)Claudio L. Wrote: Or the samurai style: I knew that the Moon should be in the Seventh House, while Jupiter aligns with Mars. :P Greetings, Massimo -+×÷ ↔ left is right and right is wrong |
|||
01-03-2018, 08:54 PM
Post: #85
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
Yeah of course, I must have missed a couple of astrology lessons at school
Software Failure: Guru Meditation -- Antonio IU2KIY |
|||
01-03-2018, 09:44 PM
Post: #86
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
I recommend waiting until Hallowe'en falls on Friday the 13th.
|
|||
01-03-2018, 10:46 PM
Post: #87
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-03-2018 08:53 PM)Massimo Gnerucci Wrote: I knew that the Moon should be in the Seventh House, while Jupiter aligns with Mars. Hey, that was the first LP Album I ever bought! --Bob Prosperi |
|||
01-04-2018, 12:42 AM
(This post was last modified: 01-04-2018 12:45 AM by BarryMead.)
Post: #88
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-03-2018 10:46 PM)rprosperi Wrote:(01-03-2018 08:53 PM)Massimo Gnerucci Wrote: I knew that the Moon should be in the Seventh House, while Jupiter aligns with Mars. The actual name of the LP was "The Age of Aquarius" by "The Fifth Dimension" released in 1969. The song with those lyrics was called "Aquarius/Let the Sunshine In". I remember it well. |
|||
01-04-2018, 12:49 AM
Post: #89
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-04-2018 12:42 AM)BarryMead Wrote: The actual name of the LP was "The Age of Aquarius" by "The Fifth Dimension" released in 1969. The song with those lyrics was called "Aquarius/Let the Sunshine In". I remember it well. Exactly correct, though I thought so well known there was no need to spell it out, but you're right to do so. Tastes vary, plus some members may not be old enough to have appreciated it when new. Though I guessed a bit newer than '69... ahem.... --Bob Prosperi |
|||
01-04-2018, 01:59 AM
Post: #90
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-03-2018 08:41 PM)Claudio L. Wrote: The "usual trick" still works, but everything in newRPL is much faster so you need to have some training in ancient japanese martial arts. Once you are capable of trapping a fly with chopsticks you'll be able to do this.Thanks Claudio, my klutzy fingers had no problems with your suggestions. Am now able to download newRPL at will to the 39gs. For others that read this thread, I had some problems with getting the connectivity kit (conn3X V2.1 build 1328) to recognize the calculator after the first time I downloaded newRPL on the 39gs. Turns out the connectivity kit will act like it doesn't see the calculator until you put the 39gs in flash ROM mode AND select USB as the connection method (from the caclulator menu). Then the download ROM option will work on the connectivity kit. |
|||
01-04-2018, 04:21 AM
Post: #91
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-04-2018 01:59 AM)mbarnes Wrote: For others that read this thread, I had some problems with getting the connectivity kit (conn3X V2.1 build 1328) Thank you, this point is quite important and was never brought up before: The calculator has to actually communicate with the host to show up as a device, and until you put it in firmware USB receive mode the bootloader won't even turn the USB port on, let alone communicate. So always start receiving on the device first, then you'll see it popup on your PC. Eventually I'd like to have a firmware update through the newRPL Desktop application, so we don't need any connectivity kit but that will take some time (quite some time...) |
|||
01-05-2018, 02:06 AM
Post: #92
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-04-2018 12:42 AM)BarryMead Wrote::-) I remember it well, too, but from the "Hair" musical. There also was an ingenious German adaptation of the musical named "Haare" including a song named "Wassermann". (I'm not normally a fan of musicals, but this one was great.) However, I didn't know that there was an adaptation of the song by "The Fifth Dimension", so, thanks for mentioning it (although this is completely off-topic). ;-)(01-03-2018 10:46 PM)rprosperi Wrote: Hey, that was the first LP Album I ever bought!The actual name of the LP was "The Age of Aquarius" by "The Fifth Dimension" released in 1969. The song with those lyrics was called "Aquarius/Let the Sunshine In". I remember it well. Greetings, Matthias -- "Programs are poems for computers." |
|||
01-05-2018, 07:26 AM
Post: #93
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-05-2018 02:06 AM)matthiaspaul Wrote: :-) I remember it well, too, but from the "Hair" musical. There also was an ingenious German adaptation of the musical named "Haare" including a song named "Wassermann". Wassermann, quite unpleasant... ;) Greetings, Massimo -+×÷ ↔ left is right and right is wrong |
|||
01-06-2018, 05:41 AM
Post: #94
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
I'm not quite clear on what FUNCEVAL does, could you explain a bit more?
And what exactly are BINDATA objects for? |
|||
01-06-2018, 09:02 AM
(This post was last modified: 01-06-2018 05:50 PM by BarryMead.)
Post: #95
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
I am always running into a new undiscovered command in newRPL. I tried looking through the source code to find out where a list of legal "COMMANDS" could be found.
They are scattered throughout several source files, making it difficult to browse through them and even more difficult to glean their function description. I look forward to the day when the wiki will add the full "Command Reference" There seem to be hundreds! Do grep "CMD" *.c under newrpl-sources/newrpl |
|||
01-06-2018, 10:53 AM
Post: #96
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-06-2018 09:02 AM)BarryMead Wrote: I look forward to the day when the wiki will add the full "Command Reference" I do agree. Aside from similarity with userRPL commands (that gets blurred slowly) having a command reference would be useful. Wikis are great, Contribute :) |
|||
01-06-2018, 07:28 PM
(This post was last modified: 01-06-2018 08:26 PM by Gilles59.)
Post: #97
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
This one is very strange bug...
What does this program is not very important. It is a variation about the problem 237 of the "défi Turing" : http://turing.nymphomath.ch/ I use the simulator on my laptop, NewRPL v1001 SETNFMT to display 20 digits of a number (the program dont work if you dont set this). 1E19 SETNFMT Try this Code:
You must find 2849 solutions ( SIZE of the returned list). Sometimes its OK, sometimes I get only 2848 solutions (I notice one time when it was wrong that the 176nth solution 127135473142018 was missing, but it seems its not always the same) Just play with the simulator, with the MEM command etc... I have no idea how to get the bug each time but for sure I tested exactly the same program several times and the results were sometimes 2848 solutions other times 2049 solutions. Nota : This program is incredibly fast on my PC : 6,5 second for 4.5E6 loops ! |
|||
01-06-2018, 08:27 PM
Post: #98
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-06-2018 05:41 AM)The Shadow Wrote: I'm not quite clear on what FUNCEVAL does, could you explain a bit more? It's internal (but it needed a name!). You can't write the command FUNCEVAL as a command. Basically, whenever you write a symbolic: 'F(x,y,z)' the internal representation uses the hidden operator FUNCEVAL, therefore it's internally represented like this: 'FUNCEVAL(x,y,z,F)' where the name of the function to evaluate is the last argument. You'll never see this, it's completely transparent to the user. FUNCEVAL essentially puts all its arguments on the stack, then calls the operator FUNCEVAL which takes the function name from the stack. So when you define an object, your object needs to react to the FUNCEVAL operator if you want your object to be called as a function in symbolics. IDENT objects react by RCLaiming the contents of the variable to the stack, and passing FUNCEVAL to the contents. LIST and MATRIX objects react by using the arguments as an index and doing GET. Other objects don't implement the FUNCEVAL operator. Now an example: 'A(1)' will be compiled as FUNCEVAL(1,'A') which will be evaluated as << 1 'A' FUNCEVAL >> (again, all this is in theory, completely invisible to the user). Now the FUNCEVAL operator applied to the 'A' will RCL, and let's say for this example A contains the list { 10 11 12 }. Now we have on the stack 1 { 10 11 12 } and the FUNCEVAL operator is passed on the list. The list will simply do GET and return the 1st element in the list, which is 10. All the user can see is: 'A(1)' EVAL --> 10 (01-06-2018 05:41 AM)The Shadow Wrote: And what exactly are BINDATA objects for? In the past, HEX strings were used to store binary data of all kinds, and there were commands to extract nibbles out of that string. HEX strings don't exist in newRPL, but their functionality as a storage container is necessary for custom applications that for example try to read a file format that newRPL can't natively. If you load your data inside a BINDATA container, you can read (and write) bytes arbitrarily. I'll soon add a command SDREADBIN (in the same spirit of SDREADTEXT) to read arbitrary data that are not RPL objects (and same for writing). That opens up a whole new field of data newRPL will be able to work with, and all programmable from RPL. |
|||
01-06-2018, 08:34 PM
Post: #99
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-06-2018 09:02 AM)BarryMead Wrote: I am always running into a new undiscovered command in newRPL. I tried looking through the source code to find out where a list of legal "COMMANDS" could be found. The official list of implemented commands is in the detailed status on the website. For easy filtering, the most current version is included as a spreadsheet (Excel format, but I use LibreOffice to edit it) in the source tree. Just filter the column Implemented by 'New' to discover all commands that newRPL has added. I wish I had more manpower to move the project forward and at the same time keep up with the docs. |
|||
01-06-2018, 08:59 PM
Post: #100
|
|||
|
|||
RE: newRPL - build 1001 released! [update:build 1016]
(01-06-2018 07:28 PM)Gilles59 Wrote: This one is very strange bug... It seems one of the commands is having trouble with garbage collection, I need to review the code on each and every command your code uses inside the loop to see which one has the bug. If you add GARBAGE to the start of the loop (so the GC doesn't happen while other commands are executing) you'll see everything works. Now the bug hunt begins. As soon as I find it and squash it, you'll be the first to know. Thanks for the report. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 36 Guest(s)