|Re: LIF interchange (71B|75C|41C) <-> 85B|
Message #5 Posted by Howard Owen on 21 Aug 2005, 9:10 p.m.,
in response to message #2 by J-F Garnier
This is turning out to be kind of fun. The JPC ROM has a file type LEX that recognizes other handheld machine's files. So HP-75 and HP-41 file types are recognized by the 71B (or by EMU71) when that ROM is loaded. But it doesn't cope with HP85 file types. However, looking through Joe's LEX file index, I ran across EXTFILES, which is described like so:
EXTFILES “External Files Poll Handler”. This lexfile does not add any keywords to BASIC, but extends the number of file types that the HP-71 recognizes. The HP-71 normally recognizes only BASIC, KEY, TEXT, SDATA, DATA, LEX and BIN file types, and refuses to copy files into memory (or from disc to disc) if they are of any other type. The FORTH ROM allows a new file type, FORTH files, to be copied, and identifies these files by putting “FORTH” into their catalog string. The EXTFILES lexfile takes this idea a step further. It makes just about every file type known to the handheld community recognizable to the HP-71, and not only allows it to copy them, it identifies them in their catalog listing. No longer do we need to decipher file type code numbers. SIZE: 502 bytes.
"Great," I thought, "this is just the code the JPC ROM used." But the part about "every file type known to the handheld community" made me decide to try it out. It's included in lexfl1.zip from JF's site. Sure enough, when I loaded it into EMU71 (after turning off the JPC ROM) I was able to list a LIF image of the HP-85 games pac with "PROG8" as the file type! Next I tried 'COPY "BLACKJ:3" to ":6"', with the 6th HP-IL device being my 9114, and I got "HPIL ERR:File Protect".
Bummer. Well, I know I skimmed past the informationo on how to remove that protection somewhere in the PPC or HPPC archives. I seem to recall it uses two characters as the unlock key, so brute force should work pretty well if nothing else. More research is called for. Good thing I enjoy that sort of thing. 8)