Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!wuarchive!rex!uflorida!haven!purdue!mentor.cc.purdue.edu!j.cc.purdue.edu!brazil.psych.purdue.edu!zhou From: zhou@brazil.psych.purdue.edu (Albert Zhou) Newsgroups: comp.lang.pascal Subject: SWAP A RUNNING PROGRAM INTO HARD DISK? Message-ID: <11472@j.cc.purdue.edu> Date: 13 Nov 90 22:48:30 GMT Sender: news@j.cc.purdue.edu Reply-To: zhou@brazil.psych.purdue.edu (Albert Zhou) Distribution: na Organization: Purdue University Lines: 16 I am planning to write a TSR program in the following way. I wonder if anybody will comment on its feasibility: (1) Interrupt a running program; (2) Save all RAM content into hard disk; (3) Run the TSR program; (4) Upon finishing, load the original RAM content into the memory. (5) Return the control to the running program. It sounds like a simplest kind of multi-tasking swap. I wonder if it is as simple as I thought. Or there are some pitfalls here--I am not sure if there will be any problem at step No.5. Hope to hear from you guys. By the way, I forgot to mention that I'm going to write it in Turbo Pascal.