NutStudio tools goes RPN (HP-41)



Post: #7

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.


Post: #8

Thanks Hakan, great work !!

Cheers,
John

Post: #9

Holy shit!

Would you be able to supply an amd64 deb package?


Post: #10

Quote:
Holy shit!

Would you be able to supply an amd64 deb package?


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

Post: #11

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


Post: #12

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.


Forum Jump: