Path: utzoo!mnetor!uunet!husc6!ut-sally!utah-cs!utah-gr!uplherc!sp7040!obie!wsccs!wes From: wes@wsccs.UUCP (Barnacle Wes) Newsgroups: comp.unix.microport Subject: Re: --- Graphics applications/demo for SysV/AT --- Message-ID: <356@wsccs.UUCP> Date: 22 Mar 88 21:39:18 GMT References: <416@zap.UUCP> <778@nuchat.UUCP> Lines: 20 Summary: HGC graphics drivers In article <778@nuchat.UUCP>, steve@nuchat.UUCP (Steve Nuchia) writes: [speaking of graphics drivers for EGA] > I'd like to know if anyone has something similar for Hercules clones? I have a friend here who has some drivers written for HGC cards for MS-DOS, written in MASM. You could convert them to use on uPort by calling the shared memory system to get the segment for the HGC and then saving the resulting segment in a global the graphics driver would have access to. If you're REALLY interested, I'll post them, but it's not _all that_ hard to do. Just write a dot-plot routine, and base everything else on it, that's what Rick did anyhow. His line-draw routines aren't all that fast, he wrote them in MS-F77, using his dot-plot routine. His program is much more computation-intensive than graphics intensive, he didn't really need the plotting speed. -- /\ - " Against Stupidity, - {backbones}! /\/\ . /\ - The Gods Themselves - utah-cs!utah-gr! / \/ \/\/ \ - Contend in Vain." - uplherc!sp7040! / U i n T e c h \ - Schiller - obie!wes