Re: Question about GLIDE...

1999-12-23 Thread Mike Smith
> well this one was obviously announced with a lot of fanfare! > I'm glad to see it however! It was announced, and has been referenced many times subsequently. It's only been in the tree since mid-1998, and I suspect that the usual blindness to improvement that greets so many of these little u

Re: Question about GLIDE...

1999-12-23 Thread Julian Elischer
well this one was obviously announced with a lot of fanfare! I'm glad to see it however! On Thu, 23 Dec 1999, Mike Smith wrote: > > > Though doug didn't say so, I think the equivalent code in freeBSD is > > > > > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > > > ERROR... > > > } > > > >

Re: Question about GLIDE...

1999-12-23 Thread Jordan K. Hubbard
> > > Though doug didn't say so, I think the equivalent code in freeBSD is > > > > > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > > > ERROR... > > > } > > > > Correct, and I find it a little embarassing. I mean god, what a hack! :-) > > There has just *got* to be a better way of granting

Re: Question about GLIDE...

1999-12-23 Thread Mike Smith
> > Though doug didn't say so, I think the equivalent code in freeBSD is > > > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > > ERROR... > > } > > Correct, and I find it a little embarassing. I mean god, what a hack! :-) > There has just *got* to be a better way of granting (and checking

Re: Question about GLIDE...

1999-12-23 Thread Jordan K. Hubbard
> Though doug didn't say so, I think the equivalent code in freeBSD is > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > ERROR... > } Correct, and I find it a little embarassing. I mean god, what a hack! :-) There has just *got* to be a better way of granting (and checking for) this pri

Re: Question about GLIDE...u

1999-12-23 Thread Andrew Kenneth Milton
+[ Theo van Klaveren ]- | | I have a Voodoo 1 (and a very limited budget, too :), and the I'm porting | the source you're talking about. I'll clean it up and release it as a | patch as soon as I'm finished. Won't be working on it during the holidays

Re: Question about GLIDE...

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Doug Rabson wrote: > I added it to the -current build a couple of weeks ago when I was working > on Glide. > Hadn't seen it :) Thanks! Theo van Klaveren <[EMAIL PROTECTED]> http://phoenix.student.utwente.nl / ICQ #1353681 - Why, oh why didn't I take the _blue_ pill?

Re: Question about GLIDE...u

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Doug Rabson wrote: > On Thu, 23 Dec 1999, Andrew Kenneth Milton wrote: > > > +[ Doug Rabson ]- > > | On Wed, 22 Dec 1999, Theo van Klaveren wrote: > > | > > | I already ported the voodoo2 sources for Glide 2.x and Glide 3.x. Yo

Re: Question about GLIDE...u

1999-12-23 Thread Doug Rabson
On Thu, 23 Dec 1999, Andrew Kenneth Milton wrote: > +[ Doug Rabson ]- > | On Wed, 22 Dec 1999, Theo van Klaveren wrote: > | > | I already ported the voodoo2 sources for Glide 2.x and Glide 3.x. You can > | find patches at: > | > | http://www.fr

Re: Question about GLIDE...

1999-12-23 Thread Doug Rabson
On Thu, 23 Dec 1999, Theo van Klaveren wrote: > On Thu, 23 Dec 1999, Doug Rabson wrote: > > > On Thu, 23 Dec 1999, Julian Elischer wrote: > > > > Thats right. Another gotcha with the Glide code is that it uses the Linux > > convention for outx(), i.e. outb(val, port) where we use outb(port, val

Re: Question about GLIDE...

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Doug Rabson wrote: > On Thu, 23 Dec 1999, Julian Elischer wrote: > > Thats right. Another gotcha with the Glide code is that it uses the Linux > convention for outx(), i.e. outb(val, port) where we use outb(port, val). > That had me going for an hour or two.. Ah-ha, thanks

Re: Question about GLIDE...

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Julian Elischer wrote: > Theo, > > Though doug didn't say so, I think the equivalent code in freeBSD is > Theo, > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > ERROR... > } > > you are asking for permission to do direct IO to IO ports from userland. > Right, th

Re: Question about GLIDE...

1999-12-23 Thread Theo van Klaveren
On Thu, 23 Dec 1999, Doug Rabson wrote: > I already ported the voodoo2 sources for Glide 2.x and Glide 3.x. You can > find patches at: > > http://www.freebsd.org/~dfr/Glide-V2-2.53.diff > http://www.freebsd.org/~dfr/Glide-V2-3.01.diff > Actually, I was talking about the Voodoo Grap

Re: Question about GLIDE...u

1999-12-23 Thread Andrew Kenneth Milton
+[ Doug Rabson ]- | On Wed, 22 Dec 1999, Theo van Klaveren wrote: | | I already ported the voodoo2 sources for Glide 2.x and Glide 3.x. You can | find patches at: | | http://www.freebsd.org/~dfr/Glide-V2-2.53.diff | http://www.freebsd.or

Re: Question about GLIDE...

1999-12-23 Thread Doug Rabson
On Thu, 23 Dec 1999, Julian Elischer wrote: > Theo, > > Though doug didn't say so, I think the equivalent code in freeBSD is > > if ((fd = open("/dev/io",O_RDWR,0)) == -1) { > ERROR... > } > > you are asking for permission to do direct IO to IO ports from userland. > > man 4 io Thats

Re: Question about GLIDE...

1999-12-23 Thread Julian Elischer
Theo, Though doug didn't say so, I think the equivalent code in freeBSD is if ((fd = open("/dev/io",O_RDWR,0)) == -1) { ERROR... } you are asking for permission to do direct IO to IO ports from userland. man 4 io julian On Thu, 23 Dec 1999, Doug Rabson wrote: > On Wed, 22 Dec 1999,

Re: Question about GLIDE...

1999-12-23 Thread Doug Rabson
On Wed, 22 Dec 1999, Theo van Klaveren wrote: > Hello, > > I am in the process of porting the GLIDE library to FreeBSD/i386 > which is making good progress so far. My worst enemy has been the > build system itself and the huge amount if `#ifdef __linux__' in > the code. > > I am doing this in

Re: Question about GLIDE...

1999-12-22 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Theo van Klaveren wrote: > My question is about this particular piece of code in > swlibs/fxpci/pcilib/fxlinux.c, around line 70: > > if (iopl(3)<0) { > pciErrorCode = PCI_ERR_NO_IO_PERM; > return FXFALSE; > } > > Does anyone know what 'iopl(3)' is s

Question about GLIDE...

1999-12-22 Thread Theo van Klaveren
Hello, I am in the process of porting the GLIDE library to FreeBSD/i386 which is making good progress so far. My worst enemy has been the build system itself and the huge amount if `#ifdef __linux__' in the code. I am doing this in the light of the Quake source code release, which I'd like to p