home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!jrd
- From: jrd@cc.usu.edu (Joe Doupnik)
- Newsgroups: comp.sys.novell
- Subject: Re: Write ODI driver in C
- Message-ID: <1992Nov18.125026.60995@cc.usu.edu>
- Date: 18 Nov 92 12:50:26 MDT
- References: <1992Nov17.173019.28668@vbohub.vbo.dec.com>
- Organization: Utah State University
- Lines: 29
-
- In article <1992Nov17.173019.28668@vbohub.vbo.dec.com>, nimrod@jeremy.enet.dec.com writes:
- >
- > Hello,
- >
- > I'm writing an ODI client driver.
- >
- > I thought about the possibility to write it in C.
- >
- > I thought to have Novell defined interface routines in assembler
- > which will call my C routines.
- >
- > Does any of you have experience with it?
- > Any ideas why should'nt it work?
- >
- > I'll appreciate fointers to such 'wrapper' or 'jacket' routines.
- >
- > /Nimrod Diamant
- -------------
- Building an extra layer of local calls will hurt performance, for
- no gains. Whether you use C or assembler is a matter of personal preference
- and what you are willing to pay for the extra push/pops C generates. Less is
- definitely better in this area. If ease of programming is an issue then maybe
- this is not the time to generate a driver, since performance and compactness
- are the primary constraints.
- You don't distinguish between a board driver and an applications
- protocol stack; they are rather different parts of ODI. If you are doing
- the latter then look at MS-DOS Kermit v3.12 source code, where this is all
- done.
- Joe D.
-