![]() |
HP41 Barcode generation - 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: HP41 Barcode generation (/thread-203056.html) |
HP41 Barcode generation - Raymond Wiker - 10-27-2011 I have put an on-line barcode generator up at http://rwiker.github.com/hp41barcode. This is still a work in progress, it does not work with Internet Explorer, and may contain bugs. It should be able to take a program with line numbers in front of each statement (e.g, the "Catch the Goufers" game. It is also possible to to type several statements on one line, optionally separated with ";", as in the small example program. PCs do not generally have the not-equals and Sigma characters easily available, so these should be entered as "!=" and "~", respectively. That means that "Sigma+" becomes "~+", and "X not-equals 0?" becomes "X!=0?". To use, simply copy & paste the program into the text box in the "Input" tab, select the modules needed by the program, click the big button labelled "Do it!". If the bar codes look ok, simply print the page with the "Barcodes" tab selected.
Re: HP41 Barcode generation - Geir Isene - 10-27-2011 The FOCAL Factory Board of Directors loudly applaud this excellent effort to bring more User Code programs to 'da peple'! With this and the HEPAX+41CL, we can make FOCAL ROM modules in our sleep.
Cudos!
Re: HP41 Barcode generation - Geir Isene - 10-27-2011 BTW; What's the significance behind the list of checkboxes/modules on the right?
Re: HP41 Barcode generation - Raymond Wiker - 10-28-2011 Quote: The checkboxes correspond to a (small) number of common extension modules - by ticking a box, you can use names of functions provides by that module, instead of specifying the XROM codes directly. As an example, if you uncheck the box next to "wand" and convert the sample program (the default text when the barcode generator is loaded), you'll get an error message that the "WNDDTA" function is unknown.
Note that some of the extension modules have conflicting function names, and so you shouldn't use them at the same time (like the "math" and "advantage" modules.) Edited: 28 Oct 2011, 12:34 a.m.
Re: HP41 Barcode generation - Geir Isene - 10-28-2011 Make the paste-in box bigger? Edited: 28 Oct 2011, 6:25 a.m.
Re: HP41 Barcode generation - Ángel Martin - 10-28-2011 It's resizable :-)
Re: HP41 Barcode generation - Ángel Martin - 10-28-2011 A beauty! Great job indeed, the Wand lives on :-)
I didn't try it yet but does it cope with "XROM AA,BB" statements? Re: HP41 Barcode generation - Raymond Wiker - 10-28-2011 There was a bug in the handling of XROM, which I have now fixed. I've also added some simple instructions, cunningly reusing text that I had already written.
Re: HP41 Barcode generation - Geir Isene - 10-28-2011 I saw it... to late :)
Re: HP41 Barcode generation - Geir Isene - 10-28-2011 Knit-picking feature request: Add a title on the Barcode page (the main program label would be fine) so that it is easy to know which barcode was printed.
Re: HP41 Barcode generation - Geir Isene - 10-28-2011 Added link on the UC-41 page.
Re: HP41 Barcode generation - Gene Wright - 10-28-2011 Hey Raymond! Great job. Can the text parsing be adjusted to handle other relatively common ways of entering things like X not equal Y etc., such as shown in my Goufer's game? Things like X NE 0? and X <> 0?
Re: HP41 Barcode generation - Raymond Wiker - 10-28-2011 Quote:I think the program handles those cases, as well as a few others (I know that it did earlier, at least). If you have other mappings, or examples of programs that it does not handle correctly, please let me know.
Also, if you have mappings between function names and XROM codes for particular modules, I'd be happy to add those, too.
Re: HP41 Barcode generation - Geir Isene - 10-28-2011 Synthetics? Like RCL M?
Re: HP41 Barcode generation - Raymond Wiker - 10-28-2011 Can be added, given a little information... May be time for me to order the museum DVD :-)
Re: HP41 Barcode generation - Geir Isene - 10-28-2011 This is getting awesomer by the hour. You're fast, man!
Feature request: Ability to upload ROM images that shows up in the list on the right.
Re: HP41 Barcode generation - Raymond Wiker - 10-28-2011 Note that the checkboxes only affect the mapping from function names used in extension rome to the actual XROM codes. That said, if you have any particular roms that you want added, please let me know - I'll need either a binary dump of the rom, or a text file of some sort that specifies the mapping.
Re: HP41 Barcode generation - Geir Isene - 10-28-2011 That is understood - but would it be easily feasible to let the user be able to upload a rom in order to make use of its labels?
Re: HP41 Barcode generation - Raymond Wiker - 10-29-2011 Not the way it is currently implemented - the barcode generator consists of only HTML and Javascript, and has *no* active server side component that could accept and process modules from the user.
On the other hand, anybody can download the generator and make whatever changes they want to it - including adding information about whatever modules that they want to use.
|