It's easy to do that for the devices. For ram it's easy too, it's the
CPU STATE that is complicated.

Just save the state (the 's' structure, for state, in each device
including memory). Then you have to make your own state saver for the
cpu.

Just save 'axioms': plex86 expands fields for higher performance, but
you don't need to save that (you can if you want). I've never done this
before in bochs or plex86 but it should work.

To restore the cpu state, you'll need to be careful since it's not a cpu
emulator: for example, you'll need to FIRST cause the guest to enter
pmode with RAM restored, THEN cause it to load paging hardware, etc.
You'll have to get the order right.

later..
-ws

[EMAIL PROTECTED] wrote:
> 
> hmm i use it as an emulator 'cause i dont want
> to reboot if i want to have a break and play a game.
> if i have enough time to configure a system
> it wont change very often. also you could just
> boot with the ram image, make your changes, reboot from the disk
> and make a new ram image.
> perhaps thats a bit more work but dont forget:
> you dont loose time with booting
> you start and it runs
> ps:
> if more people are interested in such a feature
> perhaps someone could implement it?
> my c is as bad as my english
> 
> ---------------------------------
> sorry for my english
> ---------------------------------
> 
> --
> Sent through GMX FreeMail - http://www.gmx.net

Reply via email to