From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3ABFFC04.7B7A88F0@san.rr.com> From: Eric Dorman MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] Video drivers References: <3ABDAA16.1F73B893@my.sig> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 26 Mar 2001 18:33:40 -0800 Topicbox-Message-UUID: 73ea463e-eac9-11e9-9e20-41e7f4b1d025 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