HP-41: Read/Write XM file from a LIF-file?

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.


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.


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


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.


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...


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?


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


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.

Possibly Related Threads…
Thread Author Replies Views Last Post
  HP-41(CL): The easiest way to transfer FOCAL programs from a Linux PC to the HP-41 Geir Isene 13 5,581 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  Cannot delete file Les Koller 4 2,001 11-07-2013, 12:17 AM
Last Post: Les Koller
  HP PRIME: command to read the SERIAL ? Joseph Ec 9 5,743 11-01-2013, 12:43 AM
Last Post: Joe Horn
  File Format: hpprgm Thomas Chrapkiewicz 6 2,586 10-30-2013, 09:32 PM
Last Post: Thomas Chrapkiewicz
  HP-Prime File extension Paul D. Fox 6 2,194 10-07-2013, 01:45 AM
Last Post: cyrille de Brébisson
  go71b 'lexs' or 'raws' file format? Christoph Giesselink 2 1,375 08-21-2013, 02:53 AM
Last Post: Christoph Giesselink
  How do you print a 'data' file on the HP 71B to the HP 2225B thinkjet? Geoff Quickfall 3 1,632 08-18-2013, 04:32 PM
Last Post: Geoff Quickfall
  How to use XnView to create .gro4 file as in OpenFire? arturfeghali 2 1,337 06-27-2013, 05:57 PM
Last Post: jerome ibanes
  41CL :TROUBLE IN FILE TRANsFER aurelio 22 6,021 06-18-2013, 03:44 PM
Last Post: aurelio
  How to save WP34s programs to a file? Harald 9 3,095 04-26-2013, 01:44 PM
Last Post: Walter B

Forum Jump: