Re: Synchronizing Emu48 with calculator
- From: "John H Meyers" <jhmeyers@xxxxxxxxxxxxxx>
- Date: Sat, 25 Aug 2007 20:14:35 -0500
On Sat, 25 Aug 2007 12:49:02 -0500, elly wrote:
I know how to save the state of my emulator
but i dont know how to restore them in my calculator.
can you give me an instruction on how to do this?
The above must be a follow-up to a different article than the
"threading" indicates; if it's about synchronizing Emu48 and calc:
Make backup on Emu48 just as on calc, either like Joe Horn, or via
PUSH :2:BK001 DUP ARCHIVE (flags and current directory path
are then automatically backed up).
Now your backup is stored in emulated "flash" [see later note];
you can recall it to the stack again via :2:BK001 RCL (or EVAL).
If you did the DUP (or extra ENTER) as shown above, then :2:BK001
remained on the stack, so you didn't have to type it again :)
Now that the backup (which looks exactly like a directory)
is on the Emu48 stack, Emu48 function "Edit" > "Save object"
will save it to a computer file of your choice
(perhaps name it BK001, just to suggest something :)
From there you can copy to an SD card, or transfer via cable
to your calculator; if you transfer via cable, I think you have
to first store in a variable, but the Filer can then move it to a port,
if you want more permanent saving (all variables will get wiped out
when you restore the backup).
Ready to restore? (Note: this will *replace* your entire HOME directory,
so first back up or copy anything you *don't* want replaced!)
Okay, :2:BK001 RESTORE (or :3:BK001 RESTORE, depending where the file is);
in a few seconds, the calc restarts ("warmstart"); if you had done PUSH
just before the original ARCHIVE command, now do a POP command -- Done!
Transferring a complete backup from calc to Emu48 is obviously
just the reverse, except that you either drag the backup file
(made on calc) to the emulator, or use Emu48 "Edit" > "Load object"
to put it first on the Emu48 stack, then save it wherever appropriate
(perhaps "flash" port 2), then do the RESTORE on Emu48 (Save your RAM at end).
Here's the promised "note" about "flash" (port 2) on Emu48:
All of the Emu48 calculator RAM is maintained in computer RAM,
until you do a "File" > "Save" (or upon exit, depending on Emu48 options),
usually saving to computer file "ram.e49" -- if you bypass that "save"
and just exit without saving, then modifications to RAM are discarded.
When you STO anything into Emu48 "flash" port 2, however, that *immediately*
stores the modification, directly into the ROM image file (usually "rom.e49");
this can not be "undone" or forgotten by exiting Emu48.
The Emu48 ROM image file date and time, however, as shown by Windows,
never changes, because the ROM file is "memory mapped" -- you may
want to keep that in mind in case you do any kind of updating
by "more recent file date," including "freshen" in WinZip,
which will not be able to detect "flash" changes via date or time!
Also, if you swap or update ROM image files in Emu48, remember that
you are also swapping the entire "flash" port 2, so you may want
to keep a set of individually saved objects, to store back
into the "flash" port after any "ROM update" on Emu48.
If you happen to be using an SD card for carrying files back & forth
between computer and calculator, the SD card itself might be
a convenient place to keep a copy of every object that's in flash port 2
(often just libraries and backups of HOME), as its files can be used
both on the computer and in the calculator.
As to naming backup files, I simply number mine consecutively;
somehow this helps me to figure out which ones are the most recent,
and the short (5-character) names remain fully visible
in the menu labels for port 2 (longer names can be viewed only
in the Filer, or via "Review" [right-shift, cursor down] in menus).
Hmm.. that's all I can think of -- let me know if anything's been left out.
--
"The greatest enemy of knowledge is not ignorance,
it is the illusion of knowledge." [Stephen Hawking]
.
- Follow-Ups:
- Re: Synchronizing Emu48 with calculator
- From: Giancarlo
- Re: Synchronizing Emu48 with calculator
- From: elly tan
- Re: Synchronizing Emu48 with calculator
- References:
- advice on what programs to install on a new HP 50g
- From: ellyutan
- Re: advice on what programs to install on a new HP 50g
- From: Saturn rising
- Re: advice on what programs to install on a new HP 50g
- From: ellyutan
- Re: advice on what programs to install on a new HP 50g
- From: A . L .
- Re: advice on what programs to install on a new HP 50g
- From: ellyutan
- Re: advice on what programs to install on a new HP 50g
- From: Graywolf
- Re: advice on what programs to install on a new HP 50g
- From: ellyutan
- Re: advice on what programs to install on a new HP 50g
- From: ellyutan
- advice on what programs to install on a new HP 50g
- Prev by Date: Re: Photo gallery of new HP-35s
- Next by Date: Re: New Problem from Crazy OSX Hater...
- Previous by thread: Re: Notepad > Emu48 > Calculator
- Next by thread: Re: Synchronizing Emu48 with calculator
- Index(es):
Relevant Pages
|