From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Terminate and Stay resident in CWSDPMI Date: Tue, 15 Oct 2002 10:00:22 CDT Organization: Rice University, Houston TX Lines: 20 Message-ID: <3dac2d86.sandmann@clio.rice.edu> References: <3dab979d DOT sandmann AT clio DOT rice DOT edu> NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1034694413 24362 128.42.105.3 (15 Oct 2002 15:06:53 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 15 Oct 2002 15:06:53 GMT X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Hmmm...I thought to fast. It seems that the program is OK, but when I return > to Rhide, then it gives me the COMMAND.COM error, and returns to windows. In > full dos mode, the systems seems to hang when I return to Rhide. You cannot run this type of program under a debugger, it must be done from the command line. TSR'ing nested may scrog the entire DPMI chain. Use the makefile, not RHIDE. If you must debug, be prepared to kill the window and start from scratch each time you exit. > I believe I got something wrong of allocating the memmory for the TSR > program. > > Can anybody please make a simple working source with the DJGPPTSR.ZIP and > put in in here? (Its just some 30 lines). I would be very gratefull I'll update the distribution this evening if I get a chance. But if you delete the entire section about undocumented exceptions it should build. I'll consider putting a "keep" function in some future release if anyone else shows interest.