HP Forums
HP-41 barcodes... via the web browser - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: HP-41 barcodes... via the web browser (/thread-199874.html)



HP-41 barcodes... via the web browser - Raymond Wiker - 10-06-2011

I'm working on a little program for generating program barcodes for the HP-41, in the form of a simple web page with Javascript code to parse the program and generate the bar codes.

It's beginning to look complete, but I'd like some example programs (as plain text) to test with. I would also like to know if there is a "canonical" mapping for certain HP-41 characters that are not available in USASCII (like ∑ (Sigma), ≠ (not-equal), etc)...

Any pointers to program listings or other information?


Re: HP-41 barcodes... via the web browser - Gene Wright - 10-06-2011

Plain text listings in the program section here:

Link


Re: HP-41 barcodes... via the web browser - Geir Isene - 10-06-2011

Very Nice :)


Re: HP-41 barcodes... via the web browser - Raymond Wiker - 10-06-2011

Quote:
Plain text listings in the program section here:

Link


Thank you - that should help a lot!


Re: HP-41 barcodes... via the web browser - Egan Ford - 10-06-2011

Have you looked at the source code to http://www.hpmuseum.org/software/41uc.htm. That should help answer your question and also provide some help with your code. I used it to generate barcodes for web pages, e.g. http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv020.cgi?read=193137#193137 (message #26).


Re: HP-41 barcodes... via the web browser - Raymond Wiker - 10-07-2011

Quote:
Have you looked at the source code to http://www.hpmuseum.org/software/41uc.htm. That should help answer your question and also provide some help with your code. I used it to generate barcodes for web pages, e.g. http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv020.cgi?read=193137#193137 (message #26).

I couldn't find the source code there, but that may not be all that important - it seems that I have everything (yeah, right) working. I'll probably implement some of the "compiler rules" described for 41uc, as they seem to make sense - and are probably used in other places, too.

Thanks!


Re: HP-41 barcodes... via the web browser - Egan Ford - 10-07-2011

At the bottom of http://www.hpmuseum.org/software/41uc.htm is a link to Warren Furlow's web site. There you can get the source to HP41UC and the latest version.

Or, I can email it to you. Even if you do not need it, it may be a nice to have.