Solved

3dfx under dos

Posted on 2000-04-27
12
472 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why does this site's Python example code not work? 8 245
old35  java challenge 4 133
factorial example challenge 10 103
count7 challenge 12 110
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
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.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

810 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