Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Aug 1997 05:57:05 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        hackers@FreeBSD.ORG
Cc:        multimedia@FreeBSD.ORG
Subject:   Voodoo Graphics works on FreeBSD 8)
Message-ID:  <199708021257.FAA00415@rah.star-gate.com>

next in thread | raw e-mail | index | archive | help


Howdy, 

I downloaded the linux thingy from ftp.3dfx.com and it  seems
to work on my FreeBSD-current box 8)

Had to patch the linux emulation layer to support iopl.

A quick and dirty hack:

linux_dummy.c:
 #include <machine/md_var.h>
 #include <machine/psl.h>
 #include <machine/cpu.h>

.
.
.
int
linux_iopl(struct proc *p, struct linux_iopl_args *args, int *retval)
{
    struct open_args   bsd_open_args;
    char *buf;
    p->p_md.md_regs->tf_eflags |= PSL_IOPL;
  
    return 0;
}


My combo is a Diamond Monster 3D / Matrox Millenium. Now to wait for 
glquake for linux 8)

	Enjoy,
	Amancio





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708021257.FAA00415>