Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caen!uwm.edu!bionet!agate!ucbvax!FTP.COM!jbvb From: jbvb@FTP.COM ("James B. Van Bokkelen") Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: Turbo C and Packet Drivers Message-ID: <9104111614.AA09977@ftp.com> Date: 11 Apr 91 16:14:35 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: jbvb@ftp.com Organization: The Internet Lines: 19 ... The receiver routine specified in the call to access_type(). If some kind soul could enlighten me with a small code fragment I would be very thankful. Our protocol stacks use a small ASM routine to save the registers and switch to a stack of their own, and then call C to do the bulk of the work. You can probably use a compiler's "interrupt" function mechanism to make it work, but you'll be relying on the driver leaving you enough stack. I don't have experience with Turbo's "interrupt" functions, and while I know MSC can do them, I've never found the place in the manual where they're explained. p.s. What is the latest version of the Packet Driver Specification? V1.09 is current. James B. VanBokkelen 26 Princess St., Wakefield, MA 01880 FTP Software Inc. voice: (617) 246-0900 fax: (617) 246-0901