From: "Jon F. Garfunkel" Newsgroups: comp.os.msdos.djgpp Subject: compiling device drivers Date: Tue, 07 Apr 1998 16:43:43 -0400 Organization: Princeton University Lines: 17 Message-ID: <352A8FFF.ADC2D9E0@princeton.edu> NNTP-Posting-Host: vectra07.cs.princeton.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm looking to compile a device driver in C. I've seen a number of simple device drivers written in assembly, but I'd prefer C. AFAIK, a device driver is a most likely in COM format; the primary difference is that the PSP is specially formatted with the Device Driver Header, dispatch table, etc. Is there anyway to pass this information to the compiler to format? I'd hate to go in afterwards and splice together some compiled C and patched-up device driver header. Jon -- dorm : 306 Edwards call : 609 258-9095 http : //www.princeton.edu/~garfunkl