Solved

3dfx under dos

Posted on 2000-04-27
12
476 Views
Last Modified: 2013-12-26
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...
0
Comment
Question by:columbo666
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 2
  • 2
12 Comments
 
LVL 1

Expert Comment

by:Lab_Rat
ID: 2759396
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
 
LVL 1

Author Comment

by:columbo666
ID: 2765307
and for pascal programs ???
0
 
LVL 1

Author Comment

by:columbo666
ID: 2768458
Adjusted points from 350 to 375
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:columbo666
ID: 2768459
howdyho. anyone at home ?!?
0
 
LVL 4

Expert Comment

by:nils pipenbrinck
ID: 2773161
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
 
LVL 1

Author Comment

by:columbo666
ID: 2779754
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
 
LVL 1

Author Comment

by:columbo666
ID: 2779755
Adjusted points from 375 to 400
0
 
LVL 1

Author Comment

by:columbo666
ID: 2779756
cool answer, but not very usable.
0
 
LVL 1

Author Comment

by:columbo666
ID: 2779758
and, btw : i downloaded the glide sdk.
0
 
LVL 4

Accepted Solution

by:
nils pipenbrinck earned 400 total points
ID: 2780034
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
 
LVL 1

Expert Comment

by:Lab_Rat
ID: 2780364
Cool!
0
 
LVL 1

Author Comment

by:columbo666
ID: 2806819
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question