Have any example device driver for SCO UNIX 386 ?

michael k finegan mfinegan at uceng.UC.EDU
Fri Apr 13 02:12:50 AEST 1990


I would like to write a simple device driver, for SysV Unix (SCO Unix SysV 386).
The SCO development system comes with a device driver writing guide, and even
has an example, but leaves lots of questions.

I would like to use a range of io addresses, and a 64K memory segment (at
physical address 0xD000). According to the above guide, I only need provide
5 routines: xxadapctl, xxcmos, xxinit, xxinitscreen, and xxioctl. The example
(exvd) doesn't seem to use xxcmos, and it isn't clear how to reduce the example
to the simpler case I desire. Also, I only want to support graphics mode, and
don't care about text mode. It appears that the example only supports text
mode ?

In short, does anyone have a minimum device driver to access a range of memory
and io addresses for SCO SysV Unix / 386 ? If so, could an example of clearing
the memory, and how xxadaptcl() might get called, be included ? Probably a lot
to ask. If so, any affordable/available references ? I have 'UNIX papers' by
M. Waite, but it isn't specific enough ...

If I don't get any replies, then maybe I'll post when (and if :-}) I figure
it out!

						Thanks,
							Mike Finegan
							mfinegan at uceng.UC.EDU



More information about the Comp.unix.wizards mailing list