Xref: news2.mv.net comp.os.msdos.djgpp:8080 From: John Sabean Newsgroups: comp.os.msdos.djgpp Subject: Re: Telnet client with DJGPP? (Under Win95) Date: Fri, 30 Aug 1996 14:03:07 -0400 Organization: University of Maryland, College Park Lines: 48 Message-ID: <32272CDB.167EB0E7@eng.umd.edu> References: <5078j6$a13 AT news DOT stealth DOT net> NNTP-Posting-Host: x-15.umd.edu 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 Mohan Khurana wrote: > > Samuel Vincent wrote: > > >It appears to me that there is a win95 program (probably console) along > >with 2 DLL's and one VXD. I believe the VXD, DLL's and the win95 program > >probably setup an interrupt to accept input which is routed through the > >tcp/ip stack and put output in a buffer accessible by the interrupt. > >This interrupt is, of course, accessible to any dos program. Therefore a > >DJGPP-compiled program has no more difficulty using it than it would > >reading from the hard drive. > > >If my memory serves correctly another company made this interface and Id > >software is only licensing their technology. > > >-Sam > > I'd like to see some source. I hope someone will eventually find out > exactly how to do it and maybe post it on this newsgroup. > > Was all of Quake compiled with DJGPP? I've been looking at information for the past couple of days. It seems a decent way to get a DOS program to interface with windows is through use of a VXD. It looks like windows does in fact have an interrupt (2F I believe) which allows a DOS program to access windows VXDs. So, it looks like what they did was, as you said, wrote or licenced the software to do this. I looked on www.mpath.com (MPATH being the guys who wrote the stuff for Quake) There is no mention of the software anywhere on their site (although I'm sure they'd be happy to charge you a heafty amount to use it, if you asked nicely). The other option would be to write our own VXD with a PD library for DJGPP. Unfortunately, it seems that road requires Visual C++ 4.0 or 4.2 AND the Microsoft DDK (Device Driver Development Kit). To get the kit, you need to be a Level 2 MS developer. The price tag is something like $500. So, $100 for the compiler + $500 for the DDK = I don't have enough money to do this :) Neither of these options seems too happy, as I am your typical poor college student. There is little to no public domain information on VXDs, as is typical with Microsoft. It would be nice if you could program VXDs with gnu-win32, however that seems unlikely at this point. Any other thoughts?