VOGONS


3dfx voodoo chip emulation

Topic actions

  • This topic is locked. You cannot reply or edit posts.

First post, by kekko

User metadata
Rank Oldbie
Rank
Oldbie

I'm working on this on my spare time. Up to now only minimal detection code is implemented; I got a big help on this by wd and gulikoza.
The aim is a software implementation of the voodoo1 (SST-1) chip. Documentation mainly comes from SST-1 official specs, found on this page.

The card seem correctly recognized (that was the easy part)
28a7oue_th.png

The chip is programmed through memory-mapped i/o, the code framework for chip registers handling is already in place (no reg is actually handled yet).
2qkm3ci_th.png

If you're wondering why dosbox should have this, well, voodoo chip emulation would virtually give:
- higher compatibility with titles (even those with integrated .ovl)
- portability
- integration with dosbox internal renderer: full-screen, different output modes and video capture would be supported
- no need of external libs
- d3d support for win9x games !!!

I'm looking for people that want to help; please post any comment on this thread.

____________________________________________________________________________

EDIT: I attached the latest patch here. Apply to official sources:
voodoo_20101127.diff patch

You can use the Windows diff/patch tools in order to apply a patch to the sources:
Windows diff/patch tools

Use this syntax to apply a patch:
[code]patch -p0 -E <diffname.diff[/code]

Last edited by kekko on 2011-01-02, 18:20. Edited 1 time in total.

Reply 9 of 386, by kekko

User metadata
Rank Oldbie
Rank
Oldbie

I had not much free time lately, but I'm still working on this.
Most of the games pass the detection routines now, some of the directx games crash on ddraw and need further debugging, while others are sending geometry data and textures to the chip, so they're working! (more or less)
there should be some good news in the coming days... meanwhile, enjoy this screenshot from tr3:

6zuj5x_th.png

Reply 16 of 386, by kekko

User metadata
Rank Oldbie
Rank
Oldbie

As I anticipated, we have some good news, and sooner than expected...
Aaron Giles has just updated mame's voodoo code license to a BSD license, starting from patch 0.139u2.
I would like to thank Aaron and Stiletto for their support.

valnar wrote:

kekko,
I'll donate some $$ to get this working and integrated into DOSBox. Send me your Paypal.

Awesome idea!

hehe, thank you, but I can't accept; I'm working on this on my spare time and I don't know if and when this will be finished. For this reason I'm looking for some help.
Donate to the dosbox project instead, but only if you manage to convince them to help me 😉

Reply 17 of 386, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You threw your own head into the swamp, now you gotta pull it out yourself 😉

Donations to the project are spent on the server costs, so not lost in pizza.
But yeah maybe money-feed kekko once he's finished, otherwise he always
has the feeling of responsibility which hurts the fun factor.

Reply 19 of 386, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

So far you managed to get the chip detected right ? You haven't started on working on the texture stuff or do you have something there already ?

Water flows down the stream
How to ask questions the smart way!