Hey all.  I'm currently working on a freeze/thaw system for plex86, so you
can restart your session from exactly where you left off.

Curretly, the format is 0x86 4 0x86 FREEZE 0x01 (magic number: read as x86
for x86 freeze, version number 1), followed by (long)sizeof(cpu_t), cpu_t,
(long)megs, dump of the memory.  Is there anything else that I should be
saving?  I know that the bochs plugin has a lot of state in it, but I
can't find a clean way to save it.

As to restoring, putting everything back where I put it should work,
no?  (Using the proper _read and _write / _get and _set functions, of
course.)

I'm mostly just mailing because I can't do anything more useful from
here, but commentws are, of course, welcome.

        -=- James

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU>CS d->-- s-:- a20 C++ UL+++@ P+++>+++++ L++@ E-() N o? K? w@ M-- !V
PS++ PE Y+ PGP(-) t++@ 5+ X+++ R+ tv+ b+++ DI+ D+ G e>++ h! r- y?
------END GEEK CODE BLOCK------


Reply via email to