HP-41 Bar-Code checksum algorithm.



#2

Hi again!

Does anybody here know how is the HP-41 Bar-Code checksum calculated?... (And wants to share this info :-)

Thanks in advance.


#3

The "Make You own HP41C Barcode" Manual is included in the MoHPC CDROM collection. The Basic programs are essentially unreadable (what a horrible language), but the algorithms and flowcharts are all there.

The manual is in file packs/hpbc.pdf

**vp

#4

My 'LIF Utilities for Linux' package includes programs to produce HP41 program and data barcode, and of course they calculate the checksums. These programs come as (hopefully) commented C
source code, so you might be able to figure out the algorithm from there. It'll make more sense if you have the 'Create your own HP41 barcode' book, though


#5

Hi!

Thank you both for your comments. Finally I've got the desired algorithm and... it was here at MoHPC!!:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=42

An article posted by Dan McDonald (my gratitude for him), wich includes an Excell file "HP_ListA.xls" with an annotated macro for the barcode generation.

The "real thing" is fairly easy: (sum of bytes 2-16 (or the last byte if less in row) + previous row checksum byte) MOD 255.

Again, thanks and cheers from the middle of the Athlantic Ocean ;-)


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 5,578 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  HP PRIME: APP program code DISAPPEARS !! Joseph Ec 0 1,175 11-25-2013, 11:35 AM
Last Post: Joseph Ec
  Where to the 32-bit version of User Code Utiltiy for HP-41 ? Olivier (Wa) 2 1,481 09-26-2013, 01:55 AM
Last Post: Olivier (Wa)
  A HP42S Code Editor Andreas 9 2,748 09-22-2013, 03:17 AM
Last Post: Andreas
  Dynamic Gaussian Quadrature code in Excel VBA Namir 4 1,707 07-30-2013, 07:37 PM
Last Post: Namir
  HP-65 Morse Code Dan Lewis 7 2,305 01-29-2013, 05:22 PM
Last Post: Mike T.
  Question about a "combinations" algorithm Namir 9 2,461 09-20-2012, 04:51 PM
Last Post: Gilles Carpentier
  Linear Programming - Simplex Algorithm LarryLion 5 1,613 09-04-2012, 10:57 PM
Last Post: David Hayden
  [WP34s] undefined OP-code fhub 21 4,789 04-28-2012, 04:09 AM
Last Post: Marcus von Cube, Germany
  32-bit version of User Code Utiltiy for HP-41 MichaelG 4 1,708 02-08-2012, 07:12 AM
Last Post: MichaelG

Forum Jump: