Post Reply 
Advice for getting started in RPL
08-28-2019, 12:43 PM
Post: #1
Advice for getting started in RPL
Ok, I know I’m about 15 or 20 years late to the party, but I want to write a program for my 50G.

Really want to do it on my PC, make a library and put it on my 50G (and share it with the world too).

Can anyone give me the necessary steps, software advice, and how this actually works in practice. I work mostly on Linux machines and I’ve got 1 pc and 1 mac as well.

Thanks

HP 11C, 12C, 15C, DM15L, 42S, 48S, 50G, TI-89, Casio FX7000GA and a ton of slide rules. WTB: DM42
Find all posts by this user
Quote this message in a reply
08-28-2019, 01:14 PM
Post: #2
RE: Advice for getting started in RPL
Here is tutorial series on RPL programming for the HP 50g: http://edspi31415.blogspot.com/2011/10/r...-1-hp.html

As far as transferring programs from the computer, I think 50g programs can be written as as text files, and then are transferred. I am not 100% sure about this.

Eddie
Visit this user's website Find all posts by this user
Quote this message in a reply
08-29-2019, 12:56 AM
Post: #3
RE: Advice for getting started in RPL
Have you done all your programming on the actual calculator Eddie?

HP 11C, 12C, 15C, DM15L, 42S, 48S, 50G, TI-89, Casio FX7000GA and a ton of slide rules. WTB: DM42
Find all posts by this user
Quote this message in a reply
08-29-2019, 01:47 AM
Post: #4
RE: Advice for getting started in RPL
Making a library for the 50g? I would use a computer program called Debug4x. I use it to program my 50g in UserRPL & SysRPL. I heard it is extremely useful when creating libraries however, I have not tried it myself.

You will need conn4x in order to send the programs from the PC to the 50g.

You can find conn4x & debug4x on hpcalc.org.
Find all posts by this user
Quote this message in a reply
08-31-2019, 03:50 PM
Post: #5
RE: Advice for getting started in RPL
(08-29-2019 12:56 AM)100LL Wrote:  Have you done all your programming on the actual calculator Eddie?

Yes. I prefer using the actual calculator to emulators.

Eddie
Visit this user's website Find all posts by this user
Quote this message in a reply
09-02-2019, 01:11 PM (This post was last modified: 09-02-2019 01:13 PM by pier4r.)
Post: #6
RE: Advice for getting started in RPL
I do this.

I use notepad++ with a UDL file (user define language) that everyone can expand. Debug4X is also a neat alternative although for userRPL is too much, I prefer simplicity.

You can see it here: https://osdn.net/users/pier4r/pf/various...pad%2B%2B/ ; or I collect it also in the hp calc torrent: https://www.hpmuseum.org/forum/thread-9090.html

Then I write my programs, with the trigraphs. Those are documented in the 50g advanced user guide page J-2 and I prefer it because they are standards. I collect (you can help too) useful RPL snippets here: https://www.hpmuseum.org/forum/thread-10271.html (check the links) and you can see the trigraphs.

Then I use conn4x to connect to my calculator, I create there simple variables sending commands to the calculator via conn4x (for example 0 'nameThatIWantToUse' STO). Then I edit the variable and I copy the program (you should keep the initial statement that is like %%HP: T(0)A(D)F(.); ). This in text mode.

And then my program is on the calculator.

I use the same method with the emulator (otherwise in this case debug4x is very practical with its "send to the emulator") using the com0com software that emulates a com port, to which the emulator can connect, and thus the workflow is the same.

All my files are in git and shared with the world (although no one cares, never say never). If you need more info let me know.

Oh yes, have a look at newRPL as well! (that runs even on android. Claudio is astounding)
http://hpgcc3.org/projects/newrpl
https://newrpl.wiki.hpgcc3.org/doku.php
https://www.hpmuseum.org/forum/thread-9700.html

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
09-03-2019, 04:00 PM
Post: #7
RE: Advice for getting started in RPL
Hi,

I find the best program for developing 50G UserRPL programs in HPUserEdit:

v5: https://www.hpcalc.org/details/6600
v6: https://www.hpcalc.org/details/7587

v5 has English included. v6 is default in Spanish, but English language files can be added with some effort.

It comes with an emulator to which you can easily transfer files for testing. Then export the file to copy to a real 50g via USB or SD card (I prefer SD card as USB driver compatibility is an issue).

Regards,
-Bart


Visit this user's website Find all posts by this user
Quote this message in a reply
09-04-2019, 05:52 AM
Post: #8
RE: Advice for getting started in RPL
(09-03-2019 04:00 PM)BartDB Wrote:  I prefer SD card as USB driver compatibility is an issue

Are you using Windows 8 or higher?

All you have to do if so is restart Windows with driver signing enforcement switched off before installing the drivers.

There are only 10 types of people in this world. Those who understand binary and those who don't.
Find all posts by this user
Quote this message in a reply
09-04-2019, 09:46 AM
Post: #9
RE: Advice for getting started in RPL
(09-04-2019 05:52 AM)grsbanks Wrote:  
(09-03-2019 04:00 PM)BartDB Wrote:  I prefer SD card as USB driver compatibility is an issue

Are you using Windows 8 or higher?

All you have to do if so is restart Windows with driver signing enforcement switched off before installing the drivers.

Since Windows XP. Everytime I upgrade. Home PC, laptop & webbook, work PC & laptop etc. etc. etc.

Just easier to use the SD, webbook & laptops usually have built-in slots.

2GB* is more than enough - I have all my 50g programs in one place (regularly backed-up though - you never know when something might get corrupted).

* note 2GB is max the 50g with HP OS can use (i think Claudio mentioned newRPL can access bigger?). Easiest to format on a PC or laptop as standard FAT .

Regards,
-Bart


Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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