dave@andromeda.UUCP (Dave Bloom) (02/26/86)
<> Thanx to all those who responded to my device driver query. Although I received many reply's asking for the results, I got relatively few suggestions on where to look for a good "how-to" manual. Here are the replies, edited to protect the names of the innocent: > -- > Although I did not take the course, I saw a book given out > by Masscomp with a course that they tought on writing > device drivers and thought it was quite good. > -- > I'm told Dr. Dobbs Computer Journal, December 1984, is a good starting point. > -- > Sun Microsystems Inc have a manual called 'Writing Device Drivers for the > Sun Workstation', part number 800-1195-01, and the revision I have is > Rev. E of 15 May 1985. It's not a first-time tutorial, but it should be better > than nothing. SMI's address (at least the one quoted in the manual) is: > > Sun Microsystems, Inc. > 2550 Garcia Avenue > Mountain View, CA 94043 > > And their phone number is: +1 415 960 1300 > -- > In the meantime you might want to look at the 'XINU' book for > concepts. It's NOT unix but explains the upper/lower half driver concepts > pretty well. There is some info in the manuals too. In mine (Uniplus+ SYSV), > it's in the back of 'Programming Guide' under 'UNIX I/O'. Occasionally you'll > see a driver posted to the net - I've archived a few of these. They usaually > have no comments but rereading over and over and over helps. Everything > I've found on the net has been for bsd 4.2 so details are not always > appropriate for me (sys5). > -- > The Microsoft Xenix 3 and SCO Xenix 5 have good sections > in their manuals on how do write device drivers for Xenix, > if you can get your hands on them. Some of the details are > different, but the general structure is the same as UNIX. > In fact, most UNIXes differ in the same details. > > In SCO Xenix 5, the relevant chapter is Chapter 9 in the > Xenix Programmer's Guide. > -- Hope this'll help some more of you folks. To those who mailed, requesting this information, here it is. -- ------------------------------------------------------------------------------- allegra\ Dave Bloom harvard \ pyramid\ seismo \ pyrnj >!andromeda!dave HOME: (201) 868-1764 ut-sally >!topaz/ WORK: (201) 648-5083 sri-iu / ihnp4!packard / "You're never alone with a schizophrenic...."