With the help of this community, I was able to copy and emulate a HP9133 HD using Hpdir and Hpdrive.
Now, I want to edit, or at the bare minimum, read the programs on the HD. I have extracted the programs using Hpdir, but I am at a loss as to how to determine the encoding used. I can see some text (seems to mainly be variable names, see attached example), but try as I may to find the proper encoding, nothing comes out correctly.
Some things worth noting:
- I have used a number of editors, jEdit seems to have the most encodings available. When I open the programs in jEdit, It defaults to cp-1252 (also known as windows-1252). This is the encoding used in the shown example.
- I have tried a ton of encodings using brute-force from the supported list in jEdit, none seem to work.
- HP 9000 Model 310 running BASIC 5.1
10 LOAD "string"
, then10 SAVE "string"
and check the difference. If it's one byte then that's a good sign. Try adding a character tostring
and see whether any numbers increase. Change10
to20
. TryPRINT
. TryPRINT
with a number instead of a string. With a variable, etc, etc.