Article View: comp.os.msdos.misc
Article #2928Re: Saving machine state
From: Robert Schmidt
Date: Thu, 19 Nov 1992 14:50
Date: Thu, 19 Nov 1992 14:50
32 lines
1794 bytes
1794 bytes
In article <1992Nov16.154958.9682@unix.brighton.ac.uk>, rjb12@unix.brighton.ac.uk (Titch) writes: > Does anyone know of a method to save the state of a PC (ie environment, > data, programs) - up to the 1MB boundary - so that, later, I can reload > and things behave as if no interruption occurred. > > Cheers, > > Rich. Hmmm. Interesting idea. I guess you are aware of laptops which does exactly this at the press of a button, but i take it you want such a beast for a normal table-top pc. A program to save and restore the PC state will have to be run in protected mode, that is, it will probably only work on 386s or better. The code will have to reside above the first megabyte, otherwise overlap conflicts will occur when restoring the memory image. Also, the video state should be saved correctly. Consider all those undocumented VGA modes and Super VGA modes... you have to save all VGA registers in addition to the VGA memory. All BIOS variables and the interrupt vectors should be saved, too... ah well, just some thoughts. Let me know if you get any positive response on this. Task-switching is possible, as we can observe in DOS 5.0, so saving a task to disk and restoring it another day should be possible > Rich Browning (rjb12@bton.unix) * The Intel Plentium: Ethernet controller Robert
Technical Details
Message-ID:
<1992Nov19.145020.15260@ugle.unit.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!alkymi.unit.no!robertReferences:
<1992Nov16.154958.9682@unix.brighton.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.misc Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!alkymi.unit.no!robert From: robert@alkymi.unit.no (Robert Schmidt) Subject: Re: Saving machine state Message-ID: <1992Nov19.145020.15260@ugle.unit.no> Sender: news@ugle.unit.no (NetNews Administrator) Organization: Norwegian Institute of Technology References: <1992Nov16.154958.9682@unix.brighton.ac.uk> Date: Thu, 19 Nov 92 14:50:20 GMT Lines: 32