HP-75 Docs - 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-75 Docs (/thread-77628.html) |
HP-75 Docs - Howard Owen - 09-03-2005 I'm trying to write a filter to convert HP-75 BASIC files directly into text. (Sort of an external TRANSFORM INTO TEXT command.) While a certain amount of reverse engineering of the file format and BASIC tokenisation is fun, a lot of it is pretty tedious. I was reading CHHU V1N2, and came across an article by Michael Markov entitled "Synthetic Programming on the HP-75". In it, he refers to documents I had seen other references to, the "HP-75 Description" or "HP-75 NOMAS". I already suspected that this could be helpful to me, and this CHHU article specifically mentioned "The HP-75 Byte Table (The Token Table)" on pp 24-30 of the NOMAS. The NOMAS documents aren't on the museum DVD. Does anyone have digital copies? If not, can someone lend me physical copies to scan and make available?
Thanks,
Re: HP-75 Docs - Tony Duell - 09-03-2005 I have the NOMAS stuff, on paper. Alas I have no scanner... Anyway, I sort-of looked into to doing what you want to do. Be warned that it's not that simple -- it's not just a simple tokenisation. From what I remember, it's almost reverse-polish in places.
The table has some examples, and working out how they translated them is not at all obvious!
Re: HP-75 Docs - Howard Owen - 09-03-2005 Thanks for the response, Tony. That's sort of what I figured, which was why I was hoping I could get the NOMAS stuff in digital form. Just looking at the bits, I've figured out a little. I have the following program:
0010 ! Just a bang comment I've decoded part of the BASIC75 file like so:
?0000 05 86 c5 00 fe 42 a4 4a a7 0a header First column is '*' for BASIC tokens, '!' for comment text and ? for stuff I'm not sure of. The next four columns are hex offset from the beginning of file. Next come an arbitrary number of hex digits representing the bytes at the indicated addresses, followed by a discussion of what I think they mean. I could continue in this vein, modifying the source to illuminate particular points. I'd stand half a chance if I could stay awake! It just seems easier to ask the world if there isn't a shortcut. I like shortcuts. 8)
Edited: 3 Sept 2005, 4:24 p.m.
|