X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Graham Smith" Newsgroups: comp.os.msdos.djgpp References: <8f6731259c2274809aa909fd0438bd8e DOT 62691 AT mygate DOT mailgate DOT org> <2110-Tue22Jan2002095129+0200-eliz AT is DOT elta DOT co DOT il> Subject: Re: DJGPP TSR Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: Date: Wed, 23 Jan 2002 23:11:35 GMT NNTP-Posting-Host: 144.137.122.228 X-Complaints-To: news AT bigpond DOT net DOT au X-Trace: news-server.bigpond.net.au 1011827495 144.137.122.228 (Thu, 24 Jan 2002 10:11:35 EST) NNTP-Posting-Date: Thu, 24 Jan 2002 10:11:35 EST Organization: BigPond Internet Services (http://www.bigpond.net.au) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Joel Saunders" wrote in message news:cd3afb153e87e9ada0e83c1b83d88f40 DOT 62691 AT mygate DOT mailgate DOT org... > And finally, on this: > > > r.x.ax = 0x3100; > > > r.x.dx = 4; > > > __dpmi_int(0x21, &r); > > This is an absolute no-no: you can't call the DOS TSR funcion from > > protected mode. The DPMI spec disallows that. > The only reason I did it, is because on: > http://www.delorie.com/djgpp/doc/dpmi/api/310c01.html > It says > "If the objective is only to provide resident services to real mode > programs, the client should use the DPMI translation service Int 31H > Function 0300H to invoke DOS's Int 21H Function 31H directly." > Anyway, thanks for your help, I appreciate it. > > But will even that really operate sensibly on a DPMI 0.9 implementation? Don't most MS implementations provide for 0.9 only?