Path: gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!
samsung!munnari.oz.au!manuel!nimbus!tridge
From: tri...@nimbus.anu.edu.au (Andrew Tridgell)
Newsgroups: alt.sys.sun
Subject: getting aviator to work on a Sparc 2
Message-ID: <1991Jul4.014927.20245@newshost.anu.edu.au>
Date: 4 Jul 91 01:49:27 GMT
Sender: n...@newshost.anu.edu.au
Organization: Australian National University
Lines: 39
Originator: tridge@nimbus

We have a Sun 4 and a sparc 2 with the GX graphics. We also have a bunch
of SLC's without the GX graphics acelerator.

The sun4 is under 4.1.0 and the sparc 2 is under 4.1.1.

Our problem is that aviator does not work on the sparc 2! This is a
minor disaster as it means we can't play with 2 screens in dogfight
mode. 

What happens when we run it is that the main screen appears and
everything is normal. When you click on the small radar image in the
bottom left to start actual flying the window appears but is totally
black. The cpu chews cycles as per normal, and I think you are flying
but you can't see a thing. Occasionally the screen goes a bit crazy.

I suspect the problem is that on the sparc 2 the cgsix device is on the
sbus (sbus2 in our case), whereas the header files for the cg6 on the
older machine (sun4) indicate fixed a address. On the sparc 2 the
address seems to be computed at boot time.

I have attempted to use mmap to map the device /dev/sbus2 to the correct
address without success.


Any ideas????


Many Thanks,

Andrew




-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Andrew Tridgell                 CSLab, Research School of Physical Science
tri...@nimbus.anu.edu.au        Australian National University (x2454)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-