Question about SW_HGC_P0 from Xenix
Andy Pfiffer
apfiffer at admin.ogi.edu
Sun Jul 15 17:19:48 AEST 1990
I'm porting some old code from a Xenix system to Bell Tech System V/386 3.2
that performs, in short:
fd = open("/dev/mono", O_RDWR);
cc = ioctl(fd, SW_HGC_P0);
It is supposed to switch a(n) MDA with Hercules support into graphics
mode. The <sys/kd.h> file on the target system has many of the Xenix
macros defined, with the exception of SW_HGC_P0.
Assuming that full Xenix compatibility exists (as advertised ?), I'd really
appreciate it if some kind sole would tell me if this ioctl is supported
on (essentially) UNIX System V/386 R3.2, and if so, what SW_HGC_P0
expands into...I'd rather not guess...
Anyone care to check?
Thanks.
More information about the Comp.unix.xenix
mailing list