HP48 and HP49 Emulators
The emulation of the HP48 and HP49 calculators is provided by EMU48 from
Christoph Giesselink.
Christoph regularly distributes updates to the Emu package via
HPCalc.org. At the website you can
obtain a standalone version of this emulator to run without Debug4x.
Updates
The integrated EMU48 package used in Debug4x is the same emulator run
from a special file called EMU48dll.dll which can be found in the EMU
sub-directory under the Debug4x installation directory. To update the EMU
dll file just copy the new version into the directory and overlay the old
version (you might want to just rename the old version first so there is a
backup in case something does not work with the new version!).
Frequently Asked Questions
See the
Frequently Asked Question list on the web.
Files
Emulation RAM files (*.e48, *.e49) contain the contents of the emulated
calculator's memory. For the HP49, this includes RAM and the flash
memories. For the HP48 this includes the RAM and Slot 1 card. Card
Slot 2 is contained in the Port2 .bin file. There may be many copies of
these files, for instance, one for each project. Alternatively, there
might be one containing a development environment, one matching the real
calculator, one for surveying etc. It is wise to keep a backup copy in case
something goes wrong during development.
The emulation RAM files are listed in the Project Window's Emulation Tab.
Emu48 Port2 File
This file is used to emulate the Port 2 RAM card of the calculator.
Since installed libraries from port 2 may be "attached" to the directories (like
HOME) of the calculator .e48 RAM file, these files should be in pairs.
Always use the matching .bin file for the .e48 file.
If this is not done, EMU48 will use a default file (set in the registry when running from Debug4x or set from a C:\Windows\Emu48.ini file when run from the start menu). When the .bin file does not match, the calculator will do a warmstart or blink when first started or when keys are pressed.
The HP-49 emulator uses a FlashRam emulation and does not use the Port2 files.
There is a lot more on Port Memory.
Reset Tip
When the calculator locks up or its current contents are beyond hope, it
may not be necessary to reset or go through a long series of variable cleaning
if you have saved a backup. Just close the emulator window using Debug4x
Emulation Menu, then reopen the emulator. If you have NOT saved the bad
configuration, the previous (good) version will be restored.
Do not save the emulated RAM files without a backup copy. Do not save the emulated RAM file until you are sure the contents of the calculator are good and clean - this way you can easily reload or restore the calculator contents!