home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 307_01 / cover.ltr < prev    next >
Text File  |  1990-03-20  |  3KB  |  70 lines

  1.                 November 16, 1989
  2.  
  3.  
  4. The C Users Journal
  5. Suite B
  6. 2120 West 25th Street
  7. Lawrence, KS  66047
  8.  
  9. Dear Sirs,
  10.  
  11. In response to Jose Alfonso Corominas's request (Questions & Answers,
  12. November 1989) for information about writing MS-DOS drivers in Microsoft
  13. C, I pass along the enclosed library submission.  It is an MS-DOS
  14. communications port device driver.
  15.  
  16. The program differs from listings printed with Philip J.
  17. Erdelsky's article (September/October 1988) in a number of ways:
  18.   - It is written for the Microsoft C compiler and assembler.
  19.   - It compiles using small memory model and link edits as a
  20.     tiny model program.
  21.   - It provides buffered, interrupt driven, I/O to the device,
  22.     rather than using the BIOS interface.
  23.   - In addition to providing standard MS-DOS read and write
  24.     access to the attached device, it replaces the BIOS
  25.     interrupt 0x14 interface.  This provides the buffered access
  26.     to the com ports to programs written for BIOS access.
  27.  
  28. Like the driver described by Robert Allen's article (February
  29. 1989), this driver configures itself based on command line
  30. contained in CONFIG.SYS.  Unlike Mr. Allen's driver it
  31.   - includes the code to configure itself,
  32.   - makes not attempt to reuse initialization code space
  33.     for data buffers, and
  34.   - uses a home grown mechanism to provide an interrupt service
  35.     routine, rather than using the compiler vendor's language
  36.     extensions.
  37.  
  38. If you would like a further description of the techniques
  39. involved, I would be willing to try writing an article.  However,
  40. I have been hesitant to propose Yet Another MS-DOS Device Driver
  41. article.
  42.  
  43. I also have a Unix System V Release 2, disk driver that I wrote
  44. for the Western Digital WD1007 disk controller (AT bus ESDI
  45. controller).  I don't know how many of your readers would be
  46. interested in something quite so special purpose.  But if you
  47. would like an article about such a beast, I would be willing to
  48. give that a try as well.
  49.  
  50. By the way, after years of programming and reading computer
  51. magazines, yours is one of the two periodicals (Micro Cornucopia
  52. is the other) that I continue to read almost cover to cover.
  53. Having seen Byte and Dr. Dobb's Journal dilute their coverage of
  54. "here and now" design and implementation issues, I look forward
  55. to receiving each new issue of The C User's Journal.  Thank you.
  56. I hope the pressures of a monthly publication schedule do not
  57. force you onto the same path other journals seem to have slipped
  58. down.
  59.  
  60. A copy of this letter is included in the disk file COVER.LTR.
  61.  
  62.  
  63.                 Sincerely,
  64.  
  65.  
  66.  
  67.  
  68.                 Hugh Daschbach
  69.                 (714) 997-3663
  70.