Virtua Racing

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

evildragon
Very interested
Posts: 326
Joined: Mon Mar 12, 2007 1:53 am
Contact:

Virtua Racing

Post by evildragon » Sun May 20, 2007 7:52 pm

I dumped the genesis version of VR if anyone wants to take a shot at it, since the SVP specs have been appearing lately..

http://blackevilweredragon.spymac.com/vr.rar

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Sun May 20, 2007 8:49 pm

Genesis VR already dumped long ago and presented in goodset.

evildragon
Very interested
Posts: 326
Joined: Mon Mar 12, 2007 1:53 am
Contact:

Post by evildragon » Sun May 20, 2007 10:09 pm

Shiru wrote:Genesis VR already dumped long ago and presented in goodset.
damn, i thought i was the first to do it and everyone else was lazy.. XD

my bad..

TascoDLX
Very interested
Posts: 256
Joined: Tue Feb 06, 2007 8:18 pm

Post by TascoDLX » Sun May 20, 2007 11:26 pm


evildragon
Very interested
Posts: 326
Joined: Mon Mar 12, 2007 1:53 am
Contact:

Post by evildragon » Sun May 20, 2007 11:43 pm

i noticed your guide says the 23Mhz clocked is derived by dividing the 68k clock by 3. wouldn't that be "multiplied"?

anyway, with these guides, someone got the Genesis 3 running VR...

TascoDLX
Very interested
Posts: 256
Joined: Tue Feb 06, 2007 8:18 pm

Post by TascoDLX » Mon May 21, 2007 8:39 am

evildragon wrote:i noticed your guide says the 23Mhz clocked is derived by dividing the 68k clock by 3. wouldn't that be "multiplied"?
Yes, that would be "multiplied". I'm sure I just mixed it up.
evildragon wrote:anyway, with these guides, someone got the Genesis 3 running VR...
http://www.undergroundcm.com/forum/viewtopic.php?t=231

The 23MHz clock rate is merely a hypothesis but as I see now the SVP takes both the 7.6MHz 68k clock and the 13.22MHz dot clock. I would have assumed that the dot clock is used as a DRAM refresh but I believe VR uses pseudo-static RAM.

As far as I know, there have been no efforts to determine the instruction timings, etc.

Eke
Very interested
Posts: 859
Joined: Wed Feb 28, 2007 2:57 pm
Contact:

Post by Eke » Tue Feb 05, 2008 8:56 am

The day has finally arrived, SVP is now emulated :)

http://www.eidolons-inn.net/tiki-view_f ... &forumId=5

Nice job TascoDLX and Notaz !

TmEE co.(TM)
Very interested
Posts: 2392
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Tue Feb 05, 2008 8:59 am

WOWOWOWOW !!!

Now this needs to be put into Gens and Fusion !!!
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Jorge Nuno
Very interested
Posts: 374
Joined: Mon Jun 11, 2007 3:09 am
Location: Azeitão, PT

Post by Jorge Nuno » Tue Feb 05, 2008 10:31 am

Great hard work in there :shock: :D

Chilly Willy
Very interested
Posts: 2846
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Tue Feb 05, 2008 10:50 pm

Very cool... I use PicoDrive for the PSP as my main method of playing Genesis/SegaCD games these days, so this will be very welcome. 8)

evildragon
Very interested
Posts: 326
Joined: Mon Mar 12, 2007 1:53 am
Contact:

Post by evildragon » Fri Feb 08, 2008 12:48 pm

Heh, you wouldn't have by any chance used my ROM? :p

(I just want to know if my ROM works, as I can't test it because I have a PowerPC Mac)

Chilly Willy
Very interested
Posts: 2846
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Fri Feb 08, 2008 10:39 pm

Well, I normally run Ubuntu on my system, but fortunately, PicoDrive works perfectly with WINE. I tried your rom, and it works great in PicoDrive. I can't wait until he updates the PSP version to 1.40! :D Running Virtua Racing on the PSP should be really cool. 8)

evildragon
Very interested
Posts: 326
Joined: Mon Mar 12, 2007 1:53 am
Contact:

Post by evildragon » Fri Feb 08, 2008 11:54 pm

I can't run WINE sadly.

Glad my ROM works.. :D

Chilly Willy
Very interested
Posts: 2846
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Sat Feb 09, 2008 6:09 am

evildragon wrote:I can't run WINE sadly.

Glad my ROM works.. :D
Yes, it's too bad Apple switched to the x86 before DarWINE had a chance to get going... unless you're on an x86 Mac. If so, you might try the current x86 DarWINE builds.

In the emulator, VR runs FAST... I forget how fast the actual cart was on a real Genesis. I normally use the 32X cart... I'll have to dig through my boxes looking for the Genesis cart to check how it compares to the emulation.

Eke
Very interested
Posts: 859
Joined: Wed Feb 28, 2007 2:57 pm
Contact:

Post by Eke » Sat Feb 09, 2008 6:29 am

In the emulator, VR runs FAST... I forget how fast the actual cart was on a real Genesis. I normally use the 32X cart... I'll have to dig through my boxes looking for the Genesis cart to check how it compares to the emulation.
I'm interested if you could capture video of the real cart running on Genesis

Indeed, I implemented the SVP core in my emulator but the Gamecube CPU lacks some power to run everything at full speed (average 45 fps with some downfalls to 25 fps :roll: )...
If I want full framerate, I have to underclock the SVP but then the "3D" rendering is slower (according to Notaz, correct value is approximately 1000 cycles per line, but it's is maybe overclocked a little bit)

Having the real thing to compare and adjust cycles value would be nice
:wink:

or maybe it's time for me to learn PowerPC ASM :)

Post Reply