HP-41 Extended Memory data to card?
|
09-28-2016, 08:28 PM
(This post was last modified: 09-28-2016 08:49 PM by Dieter.)
Post: #2
|
|||
|
|||
RE: HP-41 Extended Memory data to card?
(09-28-2016 06:14 PM)4ster Wrote: I know the normal process would be to save a complete X-memory data file to a block of main memory and then write that block onto cards with the card reader. It seems to me that a program could be written that copies 16 registers at a time to main memory, to read or write a single card track, and then use the same 16 registers for the next chunk of the data file. This would save dedicating a large part of main memory solely to transfer a whole data file to cards. Sure. But that's so trivial that I don't think you need a program for this. Let's assume your data is stored in an X-Memory file named "DATA". Code: "DATA" 0 SEEKPTA // make "DATA" current file, reset pointer The last round probably will cause an END OF FL error as there are no further 16 values left in the file that could be read. In this case get the last data this way: Code: FLSIZE RCLPT - // number of remaining data in file Of course you can also write a short program that does this for you. Simply use a flag 25 test for the last chunk of data. And be sure that the last control number is greater than zero. ;-) Edit: for instance this way... Code: 01 LBL "XM2CRD" Beware: I have not tried this on a real 41 / X-Mem / card reader combo. Try it and see if it works for you. Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP-41 Extended Memory data to card? - 4ster - 09-28-2016, 06:14 PM
RE: HP-41 Extended Memory data to card? - Dieter - 09-28-2016 08:28 PM
RE: HP-41 Extended Memory data to card? - 4ster - 09-29-2016, 04:44 AM
|
User(s) browsing this thread: 1 Guest(s)