Install Program in HP49G
#1

Hello,

I'm using Emu48 v1.36 with the HP 49G in my WM2003SE iPAQ.

Could someone please provide step by step instructions in order to install it to one of the ports.

I learned how to install a Library, but I can't find anything on Programs.

Thanks!!
Gus

#2

Let me add that the Program I'm trying to install is a file with a .BIN extension.

#3

You dont install programs you just download them to the calculator put them in user memory and envoke them using there names. Technically the only thing you can actually install on the calculator is Libraries. So the only way you could invoke a program from port memory is if you some how put it in a library.

#4

Yes, a program is normally simply stored in a variable and is
usually invoked by calling the variable's name. Alternatively, you
can put the program on the stack and EVAL it.

Quote:
So the only way you could invoke a program from port memory is if you some how put it in a library.

That's not so. You can invoke a program stored in port memory just
fine; it's automatically copied to temporary memory for execution,
so you do have to have enough free memory available to do so.

That said, making a library isn't that difficult. On the 49
series, the tools to do so are even built-in to the calculator, so
there's no need to use an application on a computer to make a
library.

For an external library to be used, it has to be stored in a port,
the calculator has to be warmstarted so that the addresses of the
library objects are known, and the library has to be attached to a
directory. The HOME directory can have an indefinite number of
libraries attached, but a subdirectory can have only one directory
attached.

For the "Try To Recover Memory?" routine to work correctly, it's
best not to leave external libraries in user memory.
Move, rather than copy, libraries to ports.

Most external libraries include a $CONFIG object that
automatically attaches the library to the HOME directory, which
might make a little sense in the 48, but in the 49 series, it
would be much better to let the user arrange for any "automatic"
attaching by using the STARTUP reserved variable.

But note that you can't run a library from an SD card on the 49g+;
it has to be in a port with memory organized according to the
calculator's conventions, that is, port 0, 1, or 2. Objects on the
SD card are stored as binary transferred files in a FAT16 or FAT32
file system instead. But of course you can store a library object
on the SD card.

What you can't do is overwrite any object stored in any port. The
best you can do if you want to modify a port object is to purge
the existing object from the port and then store a new object with
the same name in the port.

I should mention that this Museum Forum is heavily orientated
toward the older "True RPN" models. For RPL models, you'd do
better asking on the USENET group comp.sys.hp48; do some searches
from http://groups-beta.google.com/group/comp.sys.hp48 and
lurk a bit before posting though. Other resources include
http://www.hpcalc.org/,
http://page.mi.fu-berlin.de/~raut/, and
http://m.webring.com/hub?ring=hp48. Note that some SysRPL
programs and libraries use unsupported entry points, so some of
those designed for ROM revision 1.23 don't work correctly on ROM
revision 2.00.

Regards,
James

#5

Probably the reason that you can't find anything about installing
a program is that there's nothing to it. Simply download the
program to the calculator, navigate to whatever directory you
downloaded it to, and press the menu key that corresponds to the
program's name. In other words, Read The Fine Manual.

The ".BIN" extension on the file is simply to indicate to the user
(or developer) that it's a binary transferred (compiled) object.
".hp" and ".txt" extensions might have some meaning
to Conn4x, but extensions have absolutely no meaning to the
calculator. Any file on the PC intended for transfer to the
calculator should include a transfer header that tells the
calculator (or Conn4x) how the file should be treated, and every
object on the calculator starts with a "prologue" that tells the
calculator how to handle it. That said, if you have the "Fraction
Mark" set to "comma", then the "period" will be a separator
character, which isn't "valid" in a variable name, so you'd have
to rename a file with an "extension" in the name on your computer
before downloading it to the calculator. Often you can rename the
variable to whatever you prefer, exceptions being when the
variable is called by name, either by itself or another program.

Regards,
James



Possibly Related Threads…
Thread Author Replies Views Last Post
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 2,643 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  How to Install/Setup PC to HP41CL Serial Transfer Software? Michael Lopez 15 3,769 08-14-2012, 08:45 AM
Last Post: Michael Lopez
  [WP-34s] Updated: How to install crystal and IR diode Alexander Oestert 2 1,480 06-17-2012, 12:19 PM
Last Post: Geoff Quickfall
  [WP-34s] How to install crystal and IR diode.pdf Alexander Oestert 27 6,510 05-04-2012, 06:21 AM
Last Post: Dominic Richens
  How to install/ru​n this program in an Hp 50g. Vasheer 2 1,106 08-17-2010, 06:34 PM
Last Post: Daniel Oliva
  HP 200LX - Install DOS Applications based on Zip Files Roland Storz 4 1,474 04-02-2008, 04:46 PM
Last Post: Raymond Del Tondo
  HP-41 MCODE: Making an MCODE program call another MCODE program Geir Isene 10 2,786 01-13-2008, 05:58 AM
Last Post: Raymond Del Tondo
  How to install Erable 3.024 on 48GX MikeG 0 698 05-18-2007, 05:23 PM
Last Post: MikeG
  50g and 49g+ Library Transfer and Install cfh 10 2,576 02-22-2007, 03:46 PM
Last Post: James M. Prange (Michigan)
  HP49G+ and HP49G compatibility Les Wright 17 4,260 06-02-2006, 08:23 PM
Last Post: James M. Prange (Michigan)

Forum Jump: