vogons - very old games on new systems Last Visit : never :: 2013-5-22 @ 06:32 am : Now
?FAQ sSearch mMemberlist uUsergroups
rRegister pProfile "Messages lLog in
View posts : unanswered
Forum Index :: DOSBox Development ::
up 3dfx voodoo chip emulation
Goto page 1, 2, 3 ... 18, 19, 20  Next
Reply with quote 3dfx voodoo chip emulation :: 2010-8-10 @ 11:15 am
kekko
Member
no avatar
Joined: 2004-03-24
Posts: 459
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)
user image

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).
user image

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




Last edited by kekko on 2011-1-02 @ 06:20 pm; edited 1 time in total
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-10 @ 11:18 am
Harekiet
DOSBox Creator
[avatar]
Joined: 2002-07-01
Posts: 826
Location: Fryslan
Thought aaron giles already did a full software voodoo emulator with MAME
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-10 @ 11:58 am
kekko
Member
no avatar
Joined: 2004-03-24
Posts: 459
You're right, but that implementation is much more complex than needed for our purposes (also emulates voodoo2/banshee, way more complex than voodoo1);
moreover, there's the source code license issue...
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-10 @ 07:58 pm
leileilol
It is so messy here... Time for me to leave!!
[avatar]
Joined: 2006-12-16
Posts: 4109
Any MMX or SSE optimizations in mind? Are you even going to emulate the characteristic Voodoo dither and all the switches? Emulating the Voodoo1 in software is already an ambitious goal.

_________________
On the virge of being a rendition of a raged voodoo savage with a bundle of TNT leading a revolution into an apocalypse. At speed warp 5, mindnumbed from the geforce
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-11 @ 08:07 am
kekko
Member
no avatar
Joined: 2004-03-24
Posts: 459
well, I was thinking about running the rasterizer on another thread, should be quite straightforward to do
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-11 @ 10:16 am
OSH
Member
[avatar]
Joined: 2007-10-28
Posts: 150
Kekko, when will be a binary version available?
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-11 @ 10:54 am
wd
DOSBox Author
no avatar
Joined: 2003-12-03
Posts: 10817
When it's finished.
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-11 @ 11:18 am
OSH
Member
[avatar]
Joined: 2007-10-28
Posts: 150
wd, I know, but I've asked kekko, not you. Perhaps he will make a binary for test purposes only, BEFORE this project will be completely done.
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-11 @ 11:45 am
wd
DOSBox Author
no avatar
Joined: 2003-12-03
Posts: 10817
Yes and the first thing needed is people asking when it's finished.
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-28 @ 05:10 pm
kekko
Member
no avatar
Joined: 2004-03-24
Posts: 459
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:

user image
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-28 @ 05:11 pm
OSH
Member
[avatar]
Joined: 2007-10-28
Posts: 150
Keep up good work Kekko!
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-28 @ 08:07 pm
Freddo
Oldbie
[avatar]
Joined: 2003-10-29
Posts: 572
Location: Sweden
This is very cool, I wish you the best of luck with it! Happy
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-28 @ 10:00 pm
keropi
the dangerous
[avatar]
Joined: 2003-09-08
Posts: 1988
Location: Greece
awesome project you have there!!! keep up the good works amigo!

_________________
user image
user image

--> Roland CM-32L wanted , click me for AmiBay ad!
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-29 @ 08:29 am
robertmo
l33t
[avatar]
Joined: 2003-06-18
Posts: 3790
you can do cycles=max 105% in dosbox 0.74

By the way, shouldn't 3dfx emulation be done by another core in order to get any speed up effects compared to software mode?
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-29 @ 02:39 pm
rcblanke
Pisces swimeatus
[avatar]
Joined: 2005-04-01
Posts: 1125
Location: Round 42
Thanks for your efforts kekko, keep it up!
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-30 @ 05:04 pm
valnar
Oldbie
no avatar
Joined: 2002-07-17
Posts: 533
kekko,
I'll donate some $$ to get this working and integrated into DOSBox. Send me your Paypal.

Awesome idea!
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-30 @ 07:25 pm
kekko
Member
no avatar
Joined: 2004-03-24
Posts: 459
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 Wink
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-30 @ 09:31 pm
wd
DOSBox Author
no avatar
Joined: 2003-12-03
Posts: 10817
You threw your own head into the swamp, now you gotta pull it out yourself Wink

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.
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-30 @ 09:46 pm
kekko
Member
no avatar
Joined: 2004-03-24
Posts: 459
wise words, my friend Happy
p.s. just kidding about the donation-for-help, I believe we all know and appreciate all the efforts spent to keep this project up and running Happy
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: 3dfx voodoo chip emulation :: 2010-8-31 @ 06:25 am
Qbix
DOSBox Author
[avatar]
Joined: 2002-11-27
Posts: 9405
Location: Fryslan
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!
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
page 1 of 20
Goto page 1, 2, 3 ... 18, 19, 20  Next
All times are GMT
Moderate
Quick Reply & Options
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Powered by phpBB © 2001-2003 phpBB Group.
vogons and vogons site design and content herein is under a creative commons license 2002-2003 zetafleet.dom.
This site hosts no abandonware. There is no material that is knowingly illegal here.
zetafleet.dom will not be held responsible for users' posts.
This disclaimer is brought to you thanks to the BSA.