|Re: HP 50g - Loading Programs, Symbolic Calculus|
Message #2 Posted by James M. Prange (Michigan) on 13 Mar 2007, 10:34 p.m.,
in response to message #1 by DieCommie
First off, if you use a "binary" transfer, then the compiled
object has to be compatible with the 49 series. In general,
compiled 48 series commands, and compiled 48 series programs,
lists, and libraries that contain UserRPL or SysRPL commands, lack
binary compatibility with the 49 series, because the entry points
for many commands have changed. If it shows up on the 50g as a
character string starting with "HPHP48-x" (where "x" is a ROM
version letter), then you used a binary transfer of a 48 series
object and the 49 series safely stores it within a character
string instead of as a compiled object. It's sometimes possible to
fool the calculator into treating the object as compatible, but
that may very well result in a TTRM (Try To Recover memory?) and
clearing user memory.
In most cases, 48 series UserRPL objects can be transferred to the
49 series and will work, but you have to use an "ASCII" or "Text"
transfer so that the calculator will compile the source code. At
worst, with this type of transfer, you may get an "Invalid Syntax"
From your post, it appears that you're trying to install a library
designed for the 48 series, which you shouldn't even try to
install in a 49 series. Look in http://www.hpcalc.org/ for
libraries specifically designed for the 49 series.
For a port of the 48SX's HP Solve Equation Library Library
Application Card (HP 82211B), except for the Tetris game,
that works with the 49 series, see
For the Equation Library, install libraries 226 and 227, or for
the Periodic Table, install library 229. The Owner's Manuals for
this card are available on the MoHPC CD-ROM set / DVD-ROM; see
http://www.hpmuseum.org/cd/cddesc.htm, or some documention
for it is available in the 48G series and 49 series documents.
For a "program", just leave it in home or whichever sub-directory
you transferred it to, or copy or move it to any sub-directory or
any of ports 1, 2, or 3, and execute it from there.
For a "library", if you used a "via wire" or "via IR" transfer,
then move it to any of ports 0, 1, or 2 (but not 3). Don't leave a
copy of the library in the home directory (or any sub-directory)
because its presence in "user memory" will interfere with the
memory recovery routine in case you respond YES to a TTRM. If you
used an MMC or SD card to transfer the library to the 50g, then
it's okay to just transfer it to port 0, 1, or 2, leaving a copy
of the file on the card (port 3). With the 49 series, it may be
easiest to use the "filer" (press LeftShift FILES, over the G key)
to move or copy the variable or file. Invoke a warmstart by
holding down the ON key, pressing and releasing the C key, and
releasing the ON key. Most libraries have a configuration routine
that auto-attaches them to the home directory, and it will be
invoked by the warmstart. If a library isn't auto-attaching, then
get in whichever directory you want it to be attached to, put the
library number on the stack and execute the ATTACH command. You
can also use the DETACH command to (what else?) detach a library.
In a few cases (such as the Equation Libraries and Periodic Table
library) the library will be attached even without doing a
warmstart or an explicit ATTACH command.
In some cases, once attached, the library will be available by
pressing the APPS key on the 49 series, otherwise press RightShift
LIB (over the 2 key) to see the library names in the menu, and
press the library's menu key to see its user commands.
In the event of a buggy library (or reserved variable STARTUP)
"hanging" the 49 series, hold down the backspace key while doing a
warmstart. This prevents the library configuations routines and
STARTUP from running, giving you an opportunity to purge the buggy
library or edit or purge STARTUP.
By the way, in most cases, for RPL models, you'll have better luck
with the comp.sys.hp48 usenet group. A searchable archive (going
back all the way to 1991) is available at
http://groups.google.com/group/comp.sys.hp48. If you can't
find an answer to your question, then ask on the newsgroup.