From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] /sys/src/cmd/aux/vga/3dfx.c From: forsyth@caldo.demon.co.uk MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-deixrpdkojcmguejyimpcjtban" Date: Tue, 30 Apr 2002 11:58:36 +0100 Topicbox-Message-UUID: 826ce03a-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-deixrpdkojcmguejyimpcjtban Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit it needs the plan 9 c compiler, but it's not actually the kernel that's at fault here: aux/vga is a user-level program, and it's in the bzip'd file system on the diskette. i've put a modified diskette image that might work on http://www.vitanuova.com/ndisk.gz; you'll need to replace plan9.ini by the one you've been using. --upas-deixrpdkojcmguejyimpcjtban Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-2.mail.demon.net by mailstore for forsyth@caldo.demon.co.uk id 1020163326:20:27784:2847; Tue, 30 Apr 2002 10:42:06 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-2.mail.demon.net id aa2111308; 30 Apr 2002 10:37 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id B0BB2199EE; Tue, 30 Apr 2002 05:59:11 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from mercury.bath.ac.uk (mercury.bath.ac.uk [138.38.32.81]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 987A219980 for <9fans@cse.psu.edu>; Tue, 30 Apr 2002 05:58:25 -0400 (EDT) Received: from news by mercury.bath.ac.uk with local (Exim 3.12 #1) id 172U69-0003qT-00 for 9fans@cse.psu.edu; Tue, 30 Apr 2002 10:39:01 +0100 Received: from GATEWAY by bath.ac.uk with netnews for 9fans@cse.psu.edu (9fans@cse.psu.edu) To: 9fans@cse.psu.edu Message-ID: <9d21a718.0204291131.4757a61d@posting.google.com> Organization: http://groups.google.com/ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: <9feae800a6ef4819082f8895aa5d3f29@caldo.demon.co.uk> Subject: Re: [9fans] /sys/src/cmd/aux/vga/3dfx.c Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 30 Apr 2002 09:35:09 GMT Should applying this patch enable one to install on a system using a 3dfx Voodoo3 2000 AGP card? I was having problems starting rio. Since I don't have a successful installation yet to recompile from, is there any way to make this change to the kernel of the installation boot floppy? Can the Plan 9 kernel source be recompiled with GCC under FreeBSD or Linux or does it require the Plan 9 C compiler? Thanks, CJayC forsyth@caldo.demon.co.uk wrote in message news:<9feae800a6ef4819082f8895aa5d3f29@caldo.demon.co.uk>... > this has been wrong for ages but only blew up in the new release: > the aux/vga 3dfx code was dividing just once too often. > > term% yesterday -d 3dfx.c > diff /n/dump/2002/04291/sys/src/cmd/aux/vga/3dfx.c 3dfx.c > 30c30 > < ulong r[Nior/4]; > --- > > ulong r[Nior]; --upas-deixrpdkojcmguejyimpcjtban--