My Resolution to the Barcode Replication Issue



#5

Just wanted to let everyone know that I have temporarily abandoned my little project to transcribe the listings in the revised HP41 High Level Math Solution Book to create my own barcode and RAW files with hp41uc.

The reason is that I have discovered Jean-Marc Baillard's extensive program contributions to this site. Many are recently revised and some are quite new. Almost all of them improve on what is available in the older HP users library.

I formerly stayed away from many of these excellent routines because of their use of synthetic instructions. However, I have discovered that simply cutting and pasting these listings into a text file, and then converting the text to RAW files and PS barcode with the faithful hp41uc, properly compiles and preserves the synthetic instructions! No modification or translation by me is necessary. With my wand I can get the programs into my calculator just as they are, and enjoy they programs as they were intended.

I am sure this is well know to others, but it was a great discovery for me and I thought I would share my enthusiasm and also thank M. Baillard for his many excellent contributions.

Les


#6

In his documentation for his Simplex Linear Programming routine, J-M Baillard advises that two instructions are so-called 3-byte synthetic GTOs. In the listing, the instructions look like regular GTO lines--GTO 10 and GTO 04, nothing remarkable about either of them.

I have cut and pasted this listing unchanged and got it into my CX via hp41uc-produced barcode without difficulty. The sample problem in the documentation leads to a correct result.

What is the scoop behind this synthetic GTO instruction, and since I have simply replaced them with regular GTOs in my cutting and pasting (I don't think hp41uc would recognize anything special in the text), how would this affect the performance of the routine compared with M.Baillard's original intent?

Many thanks,

Les


Edited: 25 Jan 2007, 6:00 p.m.


#7

Quote:
What is the scoop behind this synthetic GTO instruction, and since I have simply replaced them with regular GTOs in my cutting and pasting (I don't think hp41uc would recognize anything special in the text), how would this affect the performance of the routine compared with M.Baillard's original intent?



Les, it is a long time ago when I wrote my last synthetic programs...

But I still remember, that HP-41 GTO 00...14 are packed in 2 Bytes (function + label# + displacement). This local displacement in only 8 bits cannot cover the whole possible jumps thru a main program if you have enough memory and long coding. That is why I also used to manipulate eg. GTO 05 (2 Bytes) instruction to a GTO s05 (3 Byte synthetic) instruction, for jumps > 255 Bytes.


More of this here at www.hpmuseum.org/prog/bytetab.htm


Regards,

Valentino

#8

In my version of Baillard's program the synthetic instructions are rendered simply as regular GTO commands and the admittedly lengthy and complicated routine gives the results it should, so if I am missing out on something by not entering them as synthetic GTOs (I don't really know how at this point) I can't seem to see it. The regular GTOs in my code seem to find their mark just fine. Maybe I should SST thru the code I have in my CX and see what happens?

Les


Possibly Related Threads...
Thread Author Replies Views Last Post
  Solver issue with HP 17BII - different from 19BII Jeff Kearns 13 3,019 11-28-2013, 02:36 AM
Last Post: Don Shepherd
  Another minor Prime hexagesimal issue Jonathan Cameron 1 851 11-08-2013, 02:37 PM
Last Post: Michael de Estrada
  HP Prime Solver Variables Issue Anibal Morones Ruelas 8 1,968 10-19-2013, 09:45 AM
Last Post: Harold A Climer
  Updated PPC DVD Version 2.10: HP-41 Searchable Program Files and Scannable Barcode Jake Schwartz 3 1,265 09-27-2013, 09:51 PM
Last Post: Olivier (Wa)
  Voyager keyboard issue John Richards 2 1,019 09-27-2013, 07:43 PM
Last Post: John Richards
  WP-34S: Little issue with program step indicator Miguel Toro 6 1,571 09-06-2013, 12:45 PM
Last Post: Miguel Toro
  HP 41: new barcode creation tool MichaelG 50 8,335 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
  HELP! WP-34S (Flashing Issue) Barry Mead 2 955 07-15-2013, 04:25 AM
Last Post: Marcus von Cube, Germany
  What About An iOS/Android HP-41 Barcode Reader App? Jake Schwartz 0 676 07-10-2013, 10:39 AM
Last Post: Jake Schwartz

Forum Jump: