Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!adm!news From: CDCKAB%EMUVM1.BITNET@cunyvm.cuny.edu ( Karl Brendel) Newsgroups: comp.lang.pascal Subject: (R) (R)Re: SWAP A RUNNING PROGRAM INTO HARD DISK? Message-ID: <25012@adm.brl.mil> Date: 15 Nov 90 18:24:09 GMT Sender: news@adm.brl.mil Lines: 33 In article <11479@j.cc.purdue.edu>, Albert Zhou writes: > Actually I don't really have problems with TSR's. The problem arises >when I want to swap a running program into the disk so my TSR can use >all the memory. I've thought about three things that need to be done >when swapping: > (1) Save all registers' values. > (2) Save the code segment, the data segment, the stack and the > heap. > (3) Save current video buffer. >Is there anything else missing? I'm not trying to be a wisea**, but the fact that you haven't listed interrupts suggests that you may have something to gain from further study of TSRs. ;) Please understand that I don't know the answers to many of your questions. I _do_ know that the answers can probably be had in the TSRME package I mentioned, along with methods for swapping both the TSR and the "running program" to and from EMS in addition to disk, passing messages among TSRs, checking for installation of specific TSRs, uninstalling TSRs, etc. +-------------------------------------------------------------------------+ | Karl Brendel Centers for Disease Control | | Internet: CDCKAB@EMUVM1.BITNET Epidemiology Program Office | | Bitnet: CDCKAB@EMUVM1 Atlanta, GA, USA | | ILink/RIME: KARL BRENDEL phone 404/639-2709 | | CIS : 73307,3101 fts 236-2709 | | GEnie: K.BRENDEL Home of Epi Info 5.0 | +-------------------------------------------------------------------------+