HP-41 Program Listings & Barcode via PC



#8

MAKING HP-41 PROGRAM BARCODE &/or PROGRAM LISTINGS
VIA a PC & PRINTER

The following programs/files are used in this process:

V41 - A virtual HP-41 that runs on the PC
- Program files can be read or written in RAW format

HP41UC.Exe
Win41UC.Exe - Format conversion program which uses as a
subroutine, HP41UC.EXE

41_Lista.XLS - Prints Program Listings and Barcode

PROCEEDURE:
1) Using V41 on the PC, manually key in the program steps
2) Save the program as a RAW formatted file using the PUT
function
3) Using Win41UC.Exe, convert the RAW file into BIN format
4) Now using 41_Lista.XLS, print a program Listing &/or
the barcode usable by the HP Wand.


Program Sources and Credits:
V41
Author: Warren Furlow and Frank Bauernoeppel

HP41UC.Exe Ver 1.22
Author: Leo Duran
Available from: hpmuseum.org

Win41UC.Exe
Author: Ulisse Quadri
Available from: hpmuseum.org

41_Lista.XLS
Author: Dam McDonald
Available from: hpmuseum.org


#9

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....


#10

The wand hack is cool.


#11

Have you built one?


#12

No. I just think it's a neat hack. I'm tempted to do it, but I think I'll wait until I have a second wand. (That's a reflection on my soldering skills, not your design. 8)

#13

Way back in the 80s I had the same problem (namely that I could get data out of my HP41, but I could not get them back in).

Given that I only had an HP wand (no money for HP-IL), I used blue tack to attach my wand over the caps-lock LED on the keyboard of my BBC micro. I then wrote a BASIC (IMHO) program that blinked the LED in such a way as to convince the Wand that it was seeing the reflection of of its own LED on the paper. (I also had to make sure the Wand button was held down by a rubber band).

In this way I could xfer programs and data (what I was really looking for in the 1st place) to my 41. I considered this "hack" very neat as the LED/WAND combination was effectively an opto-isolator protecting my 41 from being zapped (my HP-41 was one of the first batches to come out of the US production line and was thought to be more sensitive to static than later units).

Later on I was told that I was lucky to get away with this procedure as the external LED could have overloaded the wand sensor. I am not sure whether this is true though.

**vp

#14

Quote:
MAKING HP-41 PROGRAM BARCODE &/or PROGRAM LISTINGS
VIA a PC & PRINTER

The following programs/files are used in this process:

V41 - A virtual HP-41 that runs on the PC
- Program files can be read or written in RAW format

HP41UC.Exe
Win41UC.Exe - Format conversion program which uses as a
subroutine, HP41UC.EXE

41_Lista.XLS - Prints Program Listings and Barcode

PROCEEDURE:
1) Using V41 on the PC, manually key in the program steps
2) Save the program as a RAW formatted file using the PUT
function
3) Using Win41UC.Exe, convert the RAW file into BIN format
4) Now using 41_Lista.XLS, print a program Listing &/or
the barcode usable by the HP Wand.

Program Sources and Credits:
V41
Author: Warren Furlow and Frank Bauernoeppel

HP41UC.Exe Ver 1.22
Author: Leo Duran
Available from: hpmuseum.org

Win41UC.Exe
Author: Ulisse Quadri
Available from: hpmuseum.org

41_Lista.XLS
Author: Dam McDonald
Available from: hpmuseum.org



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 3,554 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 1,680 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  Line number in Prime program listings Harold A Climer 3 1,189 10-27-2013, 03:37 PM
Last Post: Les Koller
  Updated PPC DVD Version 2.10: HP-41 Searchable Program Files and Scannable Barcode Jake Schwartz 3 1,268 09-27-2013, 09:51 PM
Last Post: Olivier (Wa)
  HP 41: new barcode creation tool MichaelG 50 8,340 07-17-2013, 02:09 AM
Last Post: Ángel Martin
  HP41 Barcode ideas MichaelG 6 1,614 07-15-2013, 08:59 AM
Last Post: Olivier De Smet
  What About An iOS/Android HP-41 Barcode Reader App? Jake Schwartz 0 676 07-10-2013, 10:39 AM
Last Post: Jake Schwartz
  All PPC program listings Meindert Kuipers 3 991 11-30-2012, 02:57 AM
Last Post: Didier Lachieze
  HP 71b ZENWAND Barcode Reader - Manual Michael Fehlhammer 2 857 11-02-2012, 03:34 AM
Last Post: Klaus
  Looking for PLTMX80 program for HP- 41 Ángel Martin 1 662 10-19-2012, 05:21 AM
Last Post: Ángel Martin

Forum Jump: