home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / novell / 9615 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.4 KB

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