| delorie.com/archives/browse.cgi | search |
| From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Terminate and Stay resident in CWSDPMI |
| Date: | Mon, 14 Oct 2002 23:20:45 CDT |
| Organization: | Rice University, Houston TX |
| Lines: | 14 |
| Message-ID: | <3dab979d.sandmann@clio.rice.edu> |
| References: | <aofchh$kar$1 AT news1 DOT xs4all DOT nl> |
| NNTP-Posting-Host: | clio.rice.edu |
| X-Trace: | joe.rice.edu 1034656039 21532 128.42.105.3 (15 Oct 2002 04:27:19 GMT) |
| X-Complaints-To: | abuse AT rice DOT edu |
| NNTP-Posting-Date: | 15 Oct 2002 04:27:19 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 |
> It seems that the standard __dpmi_terminate_and_stay_resident(x,x); does not > works in windows and CWSDPMI (wich is used by djgpp). Does anybody has still > a way to simple terminates the programs, and stays in memmory. (Example?) This is a DPMI 1.0 function, and probably nothing implements it. Did you try v2tk/djgpptsr.zip? Comment the section on space saving and uncomment the line about resetting exceptions, and it will at least build. It seems to work fine on Windows 95 & 98; it was tested on DOS some time back. It even ran under Windows 2000, but I never saw the cursor change (so interrupts aren't getting there?) DOS sessions which are not active may not recieve interrupts on Windows.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |