NutStudio tools goes RPN (HP-41)



#2

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.


#3

Thanks Hakan, great work !!

Cheers,
John

#4

Holy shit!

Would you be able to supply an amd64 deb package?


#5

Quote:
Holy shit!

Would you be able to supply an amd64 deb package?


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

#6

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


#7

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.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP-41(CL): The easiest way to transfer FOCAL programs from a Linux PC to the HP-41 Geir Isene 13 1,289 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  [PRIME] RPN: another attempt at returning more than one value to the RPN stack Marcus von Cube, Germany 5 644 11-05-2013, 02:44 AM
Last Post: Marcus von Cube, Germany
  [HP-Prime xCAS] Review Polynomial Tools + BUGs + Request CompSystems 0 234 09-05-2013, 12:53 PM
Last Post: CompSystems
  49/50 PC Development Tools Under Linux John R. Graham 1 215 04-24-2012, 03:06 PM
Last Post: Han
  [WP34s] About the Perl tools fhub 8 537 12-19-2011, 11:47 AM
Last Post: fhub
  Tools for exploring the 41cv? Peter Murphy (Livermore) 5 405 10-23-2011, 12:39 PM
Last Post: Marcus von Cube, Germany
  Programming tools for HP49g, HP50g Jose Gonzalez Divasson 9 617 06-14-2011, 10:32 AM
Last Post: Dave
  Pre-built Windows version of NutStudio tools for HP-41 available Håkan Thörngren 5 385 04-23-2010, 02:30 PM
Last Post: PeterP
  New MCODE tools available for the HP-41 Håkan Thörngren 10 547 04-07-2010, 01:12 PM
Last Post: Håkan Thörngren
  MCODE tools: Asking for your opinion Geir Isene 3 314 01-17-2010, 01:27 PM
Last Post: Geir Isene

Forum Jump: