3dfx under dos

how can i access a 3dfx-card (voodoo, voodoo2) under dos ? once i saw a pc-demo, and they used my voodoo2-card for the 3d-graphics. how did they do that ??? i want to do so too...
LVL 1
columbo666Asked:
Who is Participating?
 
nils pipenbrinckConnect With a Mentor Commented:
I just talked to my fellow about this issue.. He knows, that the register documentation of the voodoo cards is not available anywhere...

BUT!!! There is a voodoo driver in the XFree86 Linux window system. And this driver comes with sourcecode (c of cause..). So you might be able to download the sourcecode package of the 3dfx xfree server and hack yourself into the code.

Nils
0
 
Lab_RatCommented:
And I quote:

"Yes, you can use your 3dfx card for dos games. There is a file in your windows directory called glide2x.ovl you need to copy this file to the directory of the game you want to run to be able to use the 3dfx chipset in dos."

Not much good for programming purposes, but a clue. Also, a site:

http://home.swipnet.se/~w-67924/3dfxPS/3dfxPS.htm
0
 
columbo666Author Commented:
and for pascal programs ???
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
columbo666Author Commented:
Adjusted points from 350 to 375
0
 
columbo666Author Commented:
howdyho. anyone at home ?!?
0
 
nils pipenbrinckCommented:
Well.. for pascal programmers doing 3d on a Voodoo is a hard task. It is possible, but it'll be pain in the ass to get it running.. I'll try to explain why:

There is a library called Glide which you can use to access the lowlevel stuff of the voodoo card using c api. This api is available under DOS and Win32 (and I think there is also a linux and a beos version.. just for your information).

If you're using a pascal compiler that has suppoort for dos dll's you might be able to find a friendly c programmer who compiles the glide library into a dll and writes a pascal compatible interface for it. This however requires, that your compiler supports the 32 bit flat protected mode. I know that TMT pascal can do this. Borland Pascal can use dll's under dos, but the protected mode is not compatible (they use some kind of 16 bit protected mode that's more or less a fake to access more memory).

There is of cause another way. You could search the web for lowlevel register information of the 3d chip and do the polygon setup, mode setting and all that stuff yourself. But I don't think that this is the way to go..

First off your code will most likely only run on your video card, and second it'll take longer to write the hardware driver yourself than lerning some c.

(to be honest.. if you're able to write pascal code it won't be that much work to switch to c.. basically the languages are more or less equal.. just the syntax is a little bit different... (I know that this statement could cause a holy war between coders.. but anyways.. it's my oppinion))

If you want to do 3d accelerated you'll better either switch to Delphi and use Direct3D/Glide or better start learning some c programming and use the standard interfaces (d3d and opengl)

Just a little side note on glide: Glide is a dead standard and won't be supported anymore... If you're just coding for your own pleasure go ahead, but if you want to do something serious better switch to DirectX or OpenGL.

So all in all I cannot help you to get a polygon on the screen.. It's technically possible, but as said the way to do this hard and not worth the efford.

Hope that this helps you,
 
  Nils Pipenbrinck


0
 
columbo666Author Commented:
i knew already all things you sad. but i want to go the "hard way" anyway. and i want to do it in real mode with turbo pascal 7.0. and to do this i need all the low-level info. but i can't find any low-level info. if you can give me some tp-sources, which work, or at least some doc, i'll give you the points immediatly (right spelled ???).

i've got visual c++ 6.0 and i'm developing already applications for d3d and glide there, but i want to do so also for tp 7.0.

regards
0
 
columbo666Author Commented:
Adjusted points from 375 to 400
0
 
columbo666Author Commented:
cool answer, but not very usable.
0
 
columbo666Author Commented:
and, btw : i downloaded the glide sdk.
0
 
Lab_RatCommented:
Cool!
0
 
columbo666Author Commented:
this wasn't a very useful answer, but i found the things i wanted myself (linux.3dfx.com).

but, nils you can have my points anyway.

greets
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.