Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!texbell!texsun!newstop!sun!eng.sun.com From: david@eng.sun.com (there IS no ``average'' SubGenius) Newsgroups: comp.windows.x Subject: Re: multi plane <> grayscale ?? Message-ID: <132660@sun.Eng.Sun.COM> Date: 7 Mar 90 23:38:10 GMT References: <395@texhrc.UUCP> Sender: david@sun.Eng.Sun.COM Lines: 18 In article <395@texhrc.UUCP> ldm@texhrc.UUCP (Lyle Meier) writes: >cg6 display device will not run on a sun 4/110 with a cg6. This is >caused by the code in servers/ddx/sun normailizing the mmap in >sunCG6C.c to an offset based upon the page size. Unfortunatly the >page size on the sparc station is 1/2 the size of the page on a 4/110. This is not really an accurate description of the problem. There is a bug in the SunOS 4.0.3 (Sun-3, Sun-4) version of where the mmap offsets are defined in terms of the "ctob" macro, which is related to NBPG, the compile time page size constant. The SunOS 4.0.3c (Sun-4c) version has the correct definition in terms of the constant 8192. So, you will only run into problems if you compile the server on an SS-1 (aka 4/60), using the 4.0.3 include file. If you compile on a Sun-4, or compile on an SS-1 with the 4.0.3c include file, you will get a server which will work correctly on any Sun-4 or Sun-4c system. -- David DiGiacomo, Sun Microsystems, Mt. View, CA sun!david david@eng.sun.com