Re: HP-41 Program Listings & Barcode via PC Message #2 Posted by Tony Duell on 15 July 2005, 3:47 p.m., in response to message #1 by G.R. Harvey
Alternatively, if you want to avoid proprietary, non-open-source software :
Download the LIF Utilities for Linux from the HPCC web site.
Compile them (they're GPLed C source code)
Use lifget to read an HP41 program from a real HP41 floppy disk, or download a .raw file from somewhere, or... (if you have an HPIL module, 82164 HPIL-RS232 interface and an extended I/O module, you can use the OUTP command on a real 41 to transfer a program to the PC).
If you want a listing, run the raw file through prog41. Use the -x option to load XROM definition files so that commands from plug-in ROMs have sensible names (if you don't load an XROM file, such commands have names like XROM 01,14). Use the pr program (standard unix/linux utility) to format the output if you wish.
If you want barcode, run the raw file through prog41bar. Run the output of that through barps to make a printable postscript file of the barcode. Feel free to write other output drivers if you so wish (the format of all the necessary files is in the distribution). If you want to download the program direct to your HP41, there's a description of a small modification you can make to the wand module, and an add-on circuit that goes between that an a PC parallel port. Then just send the output of prog41bar to that parallel port and the program will be downloaded to your 41 as if you'd scanned the appropriate barcode.
Note that all the programs read their input from STDIN, send their output to STDOUT. You can put them all together in a pipe if you want to.
Enjoy....
|