home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6453 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  2.1 KB

  1. Path: sparky!uunet!know!cass.ma02.bull.com!think.com!ames!data.nas.nasa.gov!taligent!apple!netcomsv!boo!uttsbbs!john.navas
  2. From: john.navas@uttsbbs.uucp (John Navas)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: RE: WRITING TRIVIAL DEVIC
  5. Message-ID: <2665.18.uupcb@uttsbbs.uucp>
  6. Date: 15 Nov 92 12:14:00 GMT
  7. Reply-To: john.navas@uttsbbs.uucp (John Navas)
  8. Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
  9. Lines: 34
  10.  
  11. tommy@msc.cornell.edu (Mike Thompson) writes:
  12.  
  13.  > Okay, I've finally learned that OS/2 is not quite the perfect OS
  14.  > for lab environments.  Maybe I long for a bit of the control of DOS
  15.  > days.  Anyway, I have to write my own device driver to access
  16.  > memory mapped controllers on a digital to analog (No - of course
  17.  > the manufacturer has no intention of creating DD in the forseeable
  18.  > future).
  19.  > I need help.  I've got the development kits for OS/2 1.2 and 2.0.
  20.  > They include some minimal examples of device drivers, but no real
  21.  > documentation.  Can someone tell me where to get adequate
  22.  > documentation to write a trivial device driver (it will be really
  23.  > stupid).  Book suggestions?  Pay for more software from IBM?
  24.  
  25. As for a book, I highly recommend "Writing OS/2 Device Drivers" by
  26. Raymond Westwater (this is from memory, but the author's last name is
  27. definitely correct) -- it's 1.3 vintage, but works fine with 2.0.
  28.  
  29. I do not recommend "Writing OS/2 2.0 Device Drivers in C" by Steve
  30. Mastriani, because it's not much use without the author's rather
  31. expensive library.  (The code disk for the book is freely available on
  32. CompuServe OS2DF1 -- a good place for OS/2 device driver help -- but
  33. it doesn't include the library.)
  34.  
  35. Of course you'll want the IBM "Physical Device Driver Reference".  The
  36. best way to get it (and a whole lot more besides) is to sign up for
  37. the free IBM WorldWide Developers Assistance Program on CompuServe (GO
  38. OS2DAP), and then order the $15 Professional Developers Kit CD-ROM.
  39.  
  40. Best regards,
  41. John
  42.  
  43. p.s.  You'll need MASM to assemble your driver.
  44.                                                                          
  45.