9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Eric Dorman <edorman@san.rr.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Video drivers
Date: Mon, 26 Mar 2001 18:33:40 -0800	[thread overview]
Message-ID: <3ABFFC04.7B7A88F0@san.rr.com> (raw)
In-Reply-To: <3ABDAA16.1F73B893@my.sig>

Patrick Dubroy wrote:
> Hi,
> 
> I am trying to install Plan 9 on an HP Vectra VL 5/166, which has
> onboard video in the form of the S3 Trio64 V2/DX (86C775). To get rio to
> start I added a line to vgadb, underneath the others for the 86C775
> chipset:
> 
> 0xC0048="HP/S3 86C775 Video BIOS. Version 1.01.04-H2"
> 
> And rio starts up fine, except about 3 quarters of the way across the
> screen I get a big set of vertical colour stripes, and then the screen
> starts to repeat itself.
> 
> On the floppy I have chosen generic Multisync monitor @ 65Hz, and I am
> running only at 640x480, 8-bit colour.
> 
> So has anyone had similar problems with this card? From the hardware
> compatibility lists it seems that the card was tested in previous
> releases, but not the most recent release. Maybe it would be best to try
> and find a new card?
> Pat

i have two of those boxes; quite nice terminals with a P5-233 MMX in
them.
I use one as auth server, the second as a terminal.

the problem you're seeing is that some of the Trio3D registers
aren't getting zeroed correctly, so when you switch to graphics mode
the screen clipped on the left.  if you have 1Mb of memory then you
can get 1024x768x8.

download everything just like normal; ignore the replication.  once 
you've done that put the following at the end of the indicated
functions:
(i would post a diff but my array is offline)..

/sys/src/cmd/aux/vga/s3generic.c:init()
	vga->crt[0x90] = 0x0;
	vga->crt[0x91] = 0x0;

/sys/src/cmd/aux/vga/s3generic.c:load()
	vgaxo( Crtx, 0x90, vga->crt[0x90] );
	vgaxo( Crtx, 0x91, vga->crt[0x91] );

'mk install' and you're set.  doesn't seem to bust regular s3 Trio64
AFAIK.

--eric


  reply	other threads:[~2001-03-27  2:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-26  8:45 Patrick Dubroy
2001-03-27  2:33 ` Eric Dorman [this message]
2001-03-27  2:40   ` Eric Dorman
2001-03-27  7:00     ` Eric Dorman
2001-04-04 20:23 jmk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ABFFC04.7B7A88F0@san.rr.com \
    --to=edorman@san.rr.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).