The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

HP-41: Read/Write XM file from a LIF-file?
Message #1 Posted by Geir Isene on 1 Mar 2010, 6:38 a.m.

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?
Message #2 Posted by Geir Isene on 2 Mar 2010, 3:51 p.m.,
in response to message #1 by Geir Isene

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?
Message #3 Posted by Håkan Thörngren on 3 Mar 2010, 9:02 a.m.,
in response to message #1 by Geir Isene

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?
Message #4 Posted by Ángel Martin on 3 Mar 2010, 1:55 p.m.,
in response to message #3 by Håkan Thörngren

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?
Message #5 Posted by Geir Isene on 4 Mar 2010, 2:45 p.m.,
in response to message #4 by Ángel Martin

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.

      
Re: HP-41: Read/Write XM file from a LIF-file?
Message #6 Posted by Egan Ford on 3 Mar 2010, 4:12 p.m.,
in response to message #1 by Geir Isene

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?
Message #7 Posted by Geir Isene on 4 Mar 2010, 2:44 p.m.,
in response to message #6 by Egan Ford

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


[ Return to Index | Top of Index ]

Go back to the main exhibit hall