From: Patrick Reilly Newsgroups: comp.os.msdos.djgpp Subject: Re: call gates Date: 3 Dec 1997 12:24:51 GMT Organization: gte.net Lines: 20 Message-ID: <663j2j$j0m$1@gte2.gte.net> References: <34850209 DOT 3272 AT win DOT bright DOT net> NNTP-Posting-Host: 1cust38.tnt1.columbia.mo.da.uu.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk As someone responded, you can use the DPMI functions to allocate a descriptor (though, of course, you get your own selector for it). You can then use DPMI functions to set the 8-byte descriptor; since this includes the System bit, etc, you can make a call gate. I'm not overly familiar with the DJGPP libs, but I think they at least wrap the allocate-descriptor dpmi function (int 0x31, function 0). I haven't made a call gate with DPMI though, so I can't guarantee that the set-descriptor function will pass when it is a call gate descriptor you are making... Pat Hale Bopp wrote: > > Does anyone here know how to allocate descriptors and use them for call > gates in djgpp? Help would be greatly appreciated. > > Andy Hoffmeyer