HP Forums
HP-41: Read/Write XM file from a LIF-file? - 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: Read/Write XM file from a LIF-file? (/thread-163645.html)



HP-41: Read/Write XM file from a LIF-file? - Geir Isene - 03-01-2010

What is the easiest way to both read & write an XM-file to a LIF file. I believe I could read the file via Tony Duell's lifget... but write?

Edit: Turns out even reading an XM file from a LIF-file is quite a task - first saving all of Extended Memory to a LIF-file via WRTXM (from Extended IL(+)) and then extracting the whole XM file via Lifutil's command "lifget -f 'lif-file' 'xm-file'" and then poking out the file within Extended Memory from that... tough.

Anyone got some magic up their sleeves?

I will pay you back with a severe geek-hack :-)


Edited: 1 Mar 2010, 3:38 p.m.


Re: HP-41: Perhaps easier: Read/Write a data file from a LIF-file? - Geir Isene - 03-02-2010

Since no takers, I have an idea that might be easier: Read and write a 41 "data file" (registers saved by the HP-IL command WRTR) in a LIF-file.

Still don't know how to do this yet, but it should be somewhat easier to accomplish as the registers are fixed length.

Anyone?

Edited: 2 Mar 2010, 3:52 p.m.


Re: HP-41: Read/Write XM file from a LIF-file? - Håkan Thörngren - 03-03-2010

Do you want to write individual files from extended memory to mass storage device and back to extended memory?

Are there no such functions available?

And this Extended IL+ module you mention, where can I find it? I assume it is not the Extended IO module, as that one does not have any WRTXM.


Re: HP-41: Read/Write XM file from a LIF-file? - Ángel Martin - 03-03-2010

The PANAME module has XM<->Tape (or disk) functions, but not sure about individual files.

As far as I know the other mentioned ROM must be the only one still being sold commercially by the author. A pity for the real enthusiasts...


Re: HP-41: Read/Write XM file from a LIF-file? - Egan Ford - 03-03-2010

So you want to create an XM file on your real 41, e.g. an ASCII file call "FOO" with the contents "HP41, LIVE FREE OR DIE\0xFF". Then you want to copy FOO to a LIF diskette via HP-IL/9114. Then you want to shuttle that floppy to your Linux box and run "lifget" to get FOO on your PC. Then you want to be able to read it from Linux? And then you want to do the reverse?


Re: HP-41: Read/Write XM file from a LIF-file? - Geir Isene - 03-04-2010

Pretty much - except I want to use the PIL-Box except for the shuttle disk.


Re: HP-41: Read/Write XM file from a LIF-file? - Geir Isene - 03-04-2010

The WRTXM is part of the original HP-IL Extended module by Sqwid (image over at TOS).

Edited: 4 Mar 2010, 2:45 p.m.