X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer Subject: Re: resident service providers Date: Fri, 21 Feb 2014 10:55:23 -0500 Organization: Aioe.org NNTP Server Lines: 47 Message-ID: References: NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT aioe DOT org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Bytes: 3058 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 21 Feb 2014 03:17:50 -0500, Martin Str|mberg wrote: > In comp.os.msdos.djgpp Rod Pemberton > wrote: >> What I really need to know is how to code a resident service provider >> (DPMI enabled TSR) for a DPMI 0.9 host which doesn't support the two >> DPMI TSR calls (0c00h, 0c01h) that DPMI 1.0 supports. > > This isn't exactly what you want, but it should do that quickly and > easily: > Take the source code from CWSDPMI and remove support for those two TSR > calls and recompile... > What?!?! It's not April 1st yet ... And, I don't see a smiley. DJGPP provides functions for calling those two DPMI 1.0 calls, but CWSDPMI being mostly DPMI 0.9 doesn't implement those two calls. So, I don't see how removing two non-existant calls from the CWSDPMI source and recompiling would help me quickly and easily ... If you're saying it's a long, painful path not worth traveling, that would've been clearer to simply say. AIUI, CWSDPMI is DPMI 0.9 compliant with a few DPMI 1.0 calls and features. But, CWSDPMI doesn't support the DPMI 1.0 TSR calls 0c00h and 0c01h. AFAIK, eighteen other DPMI hosts don't support the DPMI 1.0 calls 0c00h and 0c01h either. Even DPMIONE which is almost DPMI 1.0 compliant doesn't support 0c00h and 0c01h. I know there is probably another twenty DPMI hosts I could check ... The issue is I'd like to code a resident service provider. That's a PM TSR which uses DPMI to install PM interrupts. The first issue is DPMI 1.0 specification provides for this via 0c00h and 0c01h calls. However, I've not been able to find a DPMI 1.0 host that supports 0c00h and 0c01h calls. The second issue is DPMI 0.9 hosts don't have support for resident service providers at all. A handful of DPMI 0.9 hosts is what I need the resident service provider to work with. If I could code a test resident service provider for a DPMI 1.0 host which supports 0c00h and 0c01h, it might help me figure out how to code one for a DPMI 0.9 host which doesn't support 0c00h and 0c01h, or whether it's even possible without needing to update each DPMI host. Rod Pemberton