Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!vbcnet-west!samba.rahul.net!rahul.net!a2i!news.pbi.net!news.mathworks.com!howland.erols.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!eng3.iastate.edu!sehari From: sehari@iastate.edu (Babak $ehari) Newsgroups: comp.unix.bsd.freebsd.misc Subject: How to write a device driver in FreeBSD Date: 12 Dec 96 21:23:07 GMT Organization: Iowa State University of Science and Technology, Ames, Iowa. Lines: 25 Message-ID: <sehari.850425787@eng3.iastate.edu> NNTP-Posting-Host: eng3.iastate.edu Originator: sehari@eng3.iastate.edu Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32472 --- Hello, I am very familiar with DOS programming, and have done some Assembly on x86 under dos computers. I would like to learn how to write device drivers under freebsd or in general unix. Say I have this Single speed CD ROM and the RS422 driver card that runs it. How can I write a FreeBSD driver for it? (philips CDD 462 and CM 250 card) Oh, by the way there is a linux driver for this CD ROM, which should help writing a Free BSD version for it. How to tell the c compiler or any assambly compiler to look up the content of an address which is a device. Does the assembly program that runs under the dos run under FreeBSD unix assuming no INT 21H is used?! Let say I design this card for a PC and now want to write a program for it, are there any examples out there so I can compare FreeBSD programs and Dos program? Any good book for advanced unix programing? With highest regards,