The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

NutStudio tools goes RPN (HP-41)
Message #1 Posted by Håkan Thörngren on 29 May 2011, 3:24 p.m.

I made new major release of NutStudio tools for the HP-41 back in January, but did not announce it. Anyway, here it is.

NutStudio tools allows you to make module images for the HP-41.

New major features in release 2.1.1 are:

  1. An RPN compiler (rpncomp) that will turn your RPN programs, text source or raw files into relocatable object files. Such object files can be linked with others to create your own RPN (or mixed RPN and MCODE) modules.
    • Branch size are selected for reachability and are properly compiled.
    • Automatic extraction of global lables for the FAT (exceptions can be specified on the command line).
    • Copy header words are also properly generated.
  2. A barcode generator that accepts RPN programs in the same format as rpncomp that generates Postscript output that can be read by the 82153A Wand.
  3. Simple import mechanism for using functions from (other) modules in RPN programs.
  4. Example projects, Hello World and a mixed RPN/MCODE games module.
  5. Better support for more precise section placement in the linker. Any old linker rules files from version 1 need to be updated due to this.
  6. Full support for UTF-8 encoded unicode source files. The assembler and compiler expects UTF-8 input and will handle unicode properly all the way to the output files. (ASCII being a subset of UTF-8 works equally well).
  7. Better handling of HP-41 special characters and conversions to ASCII or LCD characters depending on context. Make use of Halfnut characters in your MCODE instruction names if you dare!
  8. Arbitrary characters allowed in assembler labels by using backquote syntax.
  9. Proper treatment of quoted characters as in the C language, in character and string literals, as well as backquoted labels.
  10. Updated manual.

Pre-built download images are available from http://code.google.com/p/nutstudio/downloads/list You will find documentation, installers for Mac OS X (both PowerPC and Intel x86), Linux Debian/Unbuntu as well as release zip for Windows and a generic Linux release.

      
Re: NutStudio tools goes RPN (HP-41)
Message #2 Posted by John Robinson on 29 May 2011, 7:13 p.m.,
in response to message #1 by Håkan Thörngren

Thanks Hakan, great work !!

Cheers, John

      
Re: NutStudio tools goes RPN (HP-41)
Message #3 Posted by Geir Isene on 30 May 2011, 3:20 p.m.,
in response to message #1 by Håkan Thörngren

Holy shit!

Would you be able to supply an amd64 deb package?

            
Re: NutStudio tools goes RPN (HP-41)
Message #4 Posted by Håkan Thörngren on 31 May 2011, 7:22 a.m.,
in response to message #3 by Geir Isene

Quote:
Holy shit!

Would you be able to supply an amd64 deb package?


Yes, I have now uploaded amd64 debian (and generic tbz) packages.

      
Re: NutStudio tools goes RPN (HP-41)
Message #5 Posted by Thomas Klemm on 30 May 2011, 5:54 p.m.,
in response to message #1 by Håkan Thörngren

Thanks a lot; this is very useful. Of course I just had to create a bar code but I got strange compiler errors. It turned out it was a file created by HP41UC.EXE thus the lines ended with \r \n instead of \n. Once dos2unix was applied everything was fine. But it took me some time to figure it out.

Cheers and keep the good work going
Thomas

            
Re: NutStudio tools goes RPN (HP-41)
Message #6 Posted by Håkan Thörngren on 31 May 2011, 7:45 a.m.,
in response to message #5 by Thomas Klemm

Quote:
Thanks a lot; this is very useful. Of course I just had to create a bar code but I got strange compiler errors. It turned out it was a file created by HP41UC.EXE thus the lines ended with \r \n instead of \n. Once dos2unix was applied everything was fine. But it took me some time to figure it out.

Cheers and keep the good work going
Thomas


Thanks for pointing this out. It should of course support native host line ends. I will need to look into this.

A quick look reveal that I get source out with LF line ends, Emacs adapts to it and makes it look fine, and all tools are also happy, so I never noticed it.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall