Xref: utzoo comp.unix.sysv386:1163 comp.unix.internals:636 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!shelby!msi.umn.edu!cs.umn.edu!uc!uh.msc.umn.edu!kenny From: kenny@msc.edu (Kenny Goers) Newsgroups: comp.unix.sysv386,comp.unix.internals Subject: Writing UNIX video /graphics drivers Keywords: device drivers, video drivers, vga, graphics drivers Message-ID: <2762@uc.msc.umn.edu> Date: 12 Oct 90 18:00:46 GMT Sender: news@uc.msc.umn.edu Reply-To: kenny@uh.msc.umn.edu (Kenneth R. Goers) Organization: Minnesota Supercomputer Center Lines: 19 Netland, I've recently purchased Coherent, a U*NX ver 7 clone for the PC. Currently I would like to write a device driver for my VGA/SVGA card (Orchid Pro II), that will allow me to use the graphic modes of the card and I don't know where to begin. I've written low level VGA/SVGA code for DOS, what I would like to know is the kind of routines one implements, under a U*NX system. Do you write a charcter or block driver? Which functions do you put in ioctl? What general functions are comtained in most UN*X video drivers? Does anyone have a generic one I can hack up? I intend this to be public domain when finished so your effort won't be wasted. Any help welcome, kenny. __ Kenny Goers (kenny@msc.edu) Minnesota Supercomputer Center, Inc.