storing a program on ram card



Post: #7

I have a program that runs on my home directory of my 48 gx. Every now and then I erase a variable or a constant from the program and I have to restore it later. How can I store the program on my 512k gx ram card I bought from TDS. I have the program stored on my computer.
I have stored some program from the internet on the ram card, but it came with instruction and I think it was written so that you could store it on the ram card. Any help would be appreciated.


Post: #8

Here are some suggestions:

1) Look up the ARCHIVE command to learn how to back up the programs and variables.

2) Create a directory and move all the relevant programs and variables to that directory. Then store a copy of that directory on your RAM card. (see first suggestion)

Your manual has some excellent documentation on how to make backups. If you do not have your manual, you can always refer to the PDF version available at www.hpcalc.org.

Best wishes,
Han


Post: #9

Dear Han,
Thanks you for your respond. I spent some time reading my HP48 manual.Now I know how to backup my programs, but what I want to learn is how to creat a library out of a specific program. I have downloaded some programs from the web which were a library. i stored them on my ram card. The advantage is that you cannot mess around with the program. That's what happend in one exam and i couldn't use that program anymore.It is sitting on my Home directory.So I want to protect the program somehow that it doesn't happen again. When i want to use programs in ram card, I just right shift LIBRARY, and there they are. I don't know if restoring a program on ram card gives me the abililty to use it.

Since maybe you have overseen this , I'm editing it to bring it up again. Thanks

Edited: 30 Apr 2006, 12:01 p.m.


Post: #10

Quote:
Dear Han,
Thanks you for your respond. I spent some time reading my HP48 manual.Now I know how to backup my programs, but what I want to learn is how to creat a library out of a specific program. I have downloaded some programs from the web which were a library. i stored them on my ram card. The advantage is that you cannot mess around with the program. That's what happend in one exam and i couldn't use that program anymore.It is sitting on my Home directory.So I want to protect the program somehow that it doesn't happen again. When i want to use programs in ram card, I just right shift LIBRARY, and there they are. I don't know if restoring a program on ram card gives me the abililty to use it.


I apprciate any comments.

Post: #11

First off, you wrote that you're using a 512k GX card from TDS. If
it was really designed for the GX, then it has to be used only in
slot 2 of the GX, and should show up as ports 2 through 5. It
won't work correctly in port 1 of the GX or in either port of the
the 48SX.

TDS did market some "multi-memory" cards designed for the 48SX,
which require a special library for switching among the 128k banks
on the card. In the 48GX's slot 2, one of these will show up as
port 2 only; if this is your case, write back.

For the differemces between a "program" and a "library" (and any
other questions about RPL models), do some searches at
http://www.hpcalc.org/,
http://m.webring.com/hub?ring=hp48, and
http://groups.google.com/group/comp.sys.hp48?

Note that the comp.sys.hp48 usenet newsgroup is generally a better
place to ask questions about RPL models.

The 48 series don't include built-in utilities for creating
libraries from directories or for splitting libraries into
directories. HP did make an application for doing so on a PC
available. Currently, debug4x seems to be the most popular tool
for working with libraries on a PC. Various tools for doing so on
the calculator itself are also available.

To "install" a library, recall the library to the stack, put a
port number on level 1, and press STO. Once the library is stored
in a port, it should be purged from the home directory (or any
subdirectory), because the memory recovery routine considers any
library to be the start of port 0. Most libraries include a
program to automatically attach themselves to the home directory
in their configuration routines; in these cases turning the 48 off
and back on (or warmstarting the 48) will attach the libraries so
that they can be used. In some cases, a library isn't
"auto-attaching"; in these cases, put the library number on level
1 and execute the ATTACH command. The HOME directory can have any
number of libraries attached; subdirectories can each have only
one library attached.

Perhaps someone could be more helpful if you told us which
particular "program" (or "library") from the internet you're
trying to work with,

Regards,
James


Post: #12

James, thank you for your respond.
Your are right about 512KB ram card. I'm using it on the second slot.
The library I downloaded from the Internet is a survey program i got from hpcalc.org and has a nice instruction on how to attch the library to the ram card.
The program I'm intending to create as a library and attch to the ram card I bought it when I was attending a land survey seminar. The person who sold it installed it on my home directory and as I said earlier while I was on LS exam I purged a part of the program. I have the full program on my computer, but i want to make it safe on my ram card. I will check on that website you said about the software needed to create library.
Thanks


Forum Jump: