HP Forums
Enhanced version of lif_utils to handle HP LIF images and files - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Enhanced version of lif_utils to handle HP LIF images and files (/thread-4183.html)



Enhanced version of lif_utils to handle HP LIF images and files - jsi - 06-20-2015 01:55 PM

Hello all,

I'd like to point to an enhanced version of Tony Duell's lif_utils. I extended the existing set of tools with several new utilities that fit all my neds to handle LIF images and lif files. I also integrated tools of other authors.
  • lifput: store a file into a LIF image file
  • lifinit: initialize a LIF image file
  • lifpurge: purge a file from a LIF image file
  • lifrename: rename a file on a LIF image file
  • lifpack: pack a LIF image file
  • liffix: fix the header of a LIF image file
  • lifraw: remove the header from a LIF file
  • textlif: encode a HP text (LIF1) file
  • raw41lif: convert a compiled HP41C program to a lif file
  • comp41: compile a HP41C program (from hp41uc, Leo Duran)
  • rom41hx: unscramble a HP41 Hepax rom dump file
  • lifmod: output contents of HP-41 module files (from modfile. Warren Furlow)
  • lifilper: emulate HP-IL disk drive and display for the PIL-Box (from liftool: Christope Gottheimer)
Some general modifications were:
  • some programs were renamed (hptext-> liftext, prog41-> dcomp41) to allow a consistent naming with their reverse functions.
  • comp41, decomp41 and key41 use xrom files from a default location now, which can be specified by an environment variable

See the readme.html file in the distribution for more information.

So it is on github now: https://github.com/bug400/lifutils

There are binaries for Linux (32 and 64 bit), Windows (32bit) and Mac OS/X, see: https://github.com/bug400/lifutils/releases

Note: there is experimental support for the access of floppy devices to read and write HP9114 floppy disks under LINUX. Due to lack of hardware this has not been tested up to now. Floppy disk support will n o t work with USB floppy devices. If you want to test it, please use the -p option which is not yet documented.

Regards,
Joachim


RE: Enhanced version of lif_utils to handle HP LIF images and files - Dave Frederickson - 06-20-2015 04:09 PM

Thanks, Joachim. I look forward to trying out these tools.


RE: Enhanced version of lif_utils to handle HP LIF images and files - rprosperi - 06-21-2015 12:12 AM

(06-20-2015 04:09 PM)Dave Frederickson Wrote:  Thanks, Joachim. I look forward to trying out these tools.

1 + Indeed, thanks for sharing these with the community


RE: Enhanced version of lif_utils to handle HP LIF images and files - Sylvain Cote - 06-21-2015 12:59 AM

(06-20-2015 04:09 PM)Dave Frederickson Wrote:  Thanks, Joachim. I look forward to trying out these tools.

Me too!
They will be tested on OSX 10.10.3 64 bits.
Thank you!
Best regards,
Sylvain


RE: Enhanced version of lif_utils to handle HP LIF images and files - cgh - 06-21-2015 08:53 AM

Nice. thank you for your update.

There is a bug in lifilper from my liftools. They do not work properly when using the MSCOPY command from EXTIO module. But ilper from package ilper-linux works fine with it.

I have also put a new release of liftool (0.5.4) on TOS.

Christophe


RE: Enhanced version of lif_utils to handle HP LIF images and files - gferluga - 06-21-2015 11:01 AM

Working fine, for now, on OS X Yosemite 10.10.3
Thank you!


RE: Enhanced version of lif_utils to handle HP LIF images and files - Egan Ford - 06-21-2015 11:12 PM

(06-20-2015 01:55 PM)jsi Wrote:  Note: there is experimental support for the access of floppy devices to read and write HP9114 floppy disks under LINUX. Due to lack of hardware this has not been tested up to now. Floppy disk support will n o t work with USB floppy devices. If you want to test it, please use the -p option which is not yet documented.

I tested the original tools (v1.4) on Linux with a floppy drive (non-USB) and they worked just fine. That was around 2010 with RedHat (cannot recall the version).


RE: Enhanced version of lif_utils to handle HP LIF images and files - jsi - 06-22-2015 04:31 AM

The code for physical disk access was rearranged and therefore needs some testing. Since I do not have a floppy drive any more volunteers are welcome.

Regards,
Joachim