9fans archive / 1998 / 07 / 10 /    prev next

From: forsyth@cal... forsyth@cal...
Subject: [9fans] Diamond Stealth 3D 2000 PCI (S3/Virge)
Date: Tue, 7 Jul 1998 09:11:40 BST

>>I tried this with minor adjustments, but the results were 
>>disappointing: the screen flashed briefly a narrow band, over the text 

i ought to have checked more carefully.
i'd added another device code to virge.c:

cpu% diff /n/dump/1998/0328/sys/src/cmd/aux/vga/virge.c virge.c
43a44
> 	case 0xE101:				/* ViRGE/DX */
119a121
> 	case 0xE101:				/* ViRGE */
131c133
< 		if(vga->mode->x > 800 && vga->mode->z == 8)
---
> 		if(vga->mode->z == 8)

you should also check that your /sys/src/9/pc/devvga.c and
/sys/src/9/pc/vgas3.c know about linear mode,
otherwise you might be better without the linear=1