How do I get started with System RPL?
#1

I have downloaded Debug4x by Bill Graves which looks like a great IDE. It has some examples and I have found out some basics of putting buttons and fields on the screen.

Now, how do I get values out IN and OUT of the stack to do something with them?

I'm not even able to get register 1 added to register 2 and display the result in register 1.

This is very easy to do in User RPL,but I'm not able to find this basic type of info anywhere.

#2

I think this might be helpful:

http://www.hpcalc.org/details.php?id=5142

#3

I have this and have been studying it. I have also downloaded some examples that go with this book, but I have been unable to get those to compile correctly. I presume that this is due to some syntactical differences between the 49 series and the 50g.

I've been trying to get the example called "First" to compile in the Debug4x environment. I've tried putting into some simple code that sucessfully compiles, but without success.

The example "First" merely computes the area of a circle from one value, the radius, supplied in register 1.

It's incredibly simple, but I haven't figured it out yet.

#4

Debug4x is quite tricky to use at first, but it is well worth it WHEN YOU GET LARGER MORE COMPLICATED PROGRAMS.

Programming on the calculator is best when you are just learning. Only when programs start getting really complex should you switch. This allows you to test and execute things directly. You will probably crash your calculator a lot, but you'll learn sysRPL much quicker this way.

In debug4x you'll need to specify a lot of information that isn't needed when you compile on the calculator. This information is probably missing which is why your code isn't working. If you'd like, zip it up (your folder with you basic code) and send it to me. I will set the options you need and add everything in so it will work. In the meantime, I'd suggest learning on the calculator. It is very easy to do.

Install emacs, sdiag, extable2 (all found in the emacs zip folder) and Nosy. These programs are all found on hpcalc.org

Appendix A in the book referred to describes a little bit about all these tools if my memory serves.

TW



Possibly Related Threads…
Thread Author Replies Views Last Post
  Writing RPL programs on OS X Sean Freeman 18 5,036 11-30-2013, 03:59 PM
Last Post: Sean Freeman
  48G vs 49G+ User RPL Speed Comparison John Colvin 7 2,536 11-16-2013, 10:07 PM
Last Post: Han
  RPL 32 David Hayden 4 2,026 11-11-2013, 11:34 AM
Last Post: David Hayden
  PRIME: re-format the flash drive to recover the operating system Harold A Climer 2 1,685 11-06-2013, 12:22 AM
Last Post: Michael de Estrada
  HP Prime Solving Nonlinear System of Equations for Complex Results Helge Gabert 11 4,073 09-30-2013, 03:44 AM
Last Post: From Hong Kong
  HHC / HP Museum Programming Contest for RPN and RPL machines Gene Wright 18 5,445 09-22-2013, 09:39 AM
Last Post: Miguel Toro
  RPL long vs. short names peacecalc 5 1,983 10-30-2012, 01:25 PM
Last Post: peacecalc
  41 System DEMO Module - Update Ángel Martin 0 842 10-21-2012, 07:27 AM
Last Post: Ángel Martin
  Big ROM - 41 System DEMO ROM Ángel Martin 5 2,512 10-16-2012, 05:28 AM
Last Post: Ángel Martin
  HP-41 System DEMO Ángel Martin 4 1,661 10-08-2012, 05:38 PM
Last Post: Ángel Martin

Forum Jump: