save state question
|
10-01-2013, 07:18 PM
(This post was last modified: 10-01-2013 07:42 PM by TheDax.)
Post: #3
|
|||
|
|||
RE: save state question
A bit more goes into a savestate than just a copy of RAM like Wikipedia says. You'd also store the emulated CPU state(registers, program counter/instruction pointer, etc.) and the input state; basically the status of the entire console itself. Everything the emulator does is stored somewhere in memory, so it's just a matter of writing it out to a file, and then loading from it at a later point once the user directs the program to do so. Of course, that doesn't include extra things like different versions of save states/emulators, etc.. For that you'd likely write a header to the save state followed by the raw state data.
4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375 I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
save state question - akimikage - 10-01-2013, 04:12 PM
RE: save state question - vsub_ - 10-01-2013, 06:23 PM
RE: save state question - TheDax - 10-01-2013 07:18 PM
RE: save state question - Stevec - 12-10-2013, 10:11 AM
RE: save state question - Raimoo - 12-16-2013, 07:59 AM
|