Welcome!

General Emulation => MAME => Topic started by: el_rika on November 03, 2016, 05:42:26 PM

Title: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: el_rika on November 03, 2016, 05:42:26 PM
Hy guys,

So, can this driver https://git.redump.net/mame/tree/src/mame/drivers/cv1k.cpp  which was first officially supported in 0.153 mame, be added in an older mame, like 0.138 or 0.78?

Thanks!
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: Arcadez on November 03, 2016, 07:54:21 PM
Quite Possibly but alotta the code in the driver and linked files it uses may need to be rolled back in order to compile and function
in older versions of MAME, as code defines and basic handling often change slightly between each MAME version and the older the
version you want to port this cave driver to the bigger the changes that will likely be needed.
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: el_rika on November 05, 2016, 01:53:13 PM
Thank you for the answer. So, theoretically it's a Yes, practically it's a No(t worth the trouble)   :p
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: Arcadez on November 05, 2016, 09:03:05 PM
Thank you for the answer. So, theoretically it's a Yes, practically it's a No(t worth the trouble)   :p

Well depends why you want to play those games in MAME0.139u1 is there a performance benefit..?? or is it the only version of MAME
playable on an non PC platform say the Android for example..?? either way i suppose in the end it all boils down to how much work it would be and can you be assed doing it  :wink:

The driver might drop in with minimal fuss or be a complete nightmare you wont know till you try.

Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: barbudreadmon on November 07, 2016, 09:38:58 AM
Would be nice to see those games in fba, since fba is for the most part cross-platform.
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: iq_132 on November 07, 2016, 10:15:16 AM
Would be nice to see those games in fba, since fba is for the most part cross-platform.
If someone ports the CPU and sound core needed for this I'll happily port the driver and video code. ^^
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: el_rika on November 08, 2016, 01:56:12 PM
Wow, a FBA port would be great. But with some speed hacks here and there, to make the games playable on non Nasa hardware :P  (i'm talking mainly adroid devices here, i know mainstream PCs are more than capable)
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: Haze on November 12, 2016, 06:36:11 AM
most of the speed they currently have comes from multi-threading, offloading the video blits to another CPU..

does anything in FBA even thread like that?

I don't imagine you're going to see any real performance gains in porting it.
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: dink on November 12, 2016, 08:54:56 AM
We're using a single thread, but, anything is possible..
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: el_rika on November 19, 2016, 05:53:22 AM
I remember reading a while back, on these very forums, that when porting Super Kaneko Nova System (Cyvern still beeing one of the most resource intensive games in all of FBA) some "hacks" were used in order to make it playable on mainstream hardware. So...maybe it's possible for Cv1k drivers as well... ;p
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: dink on November 19, 2016, 08:30:55 AM
Cyvern is not the most resource-intense of the suprnova games.  Guts'n or VS Block Breaker/Saru Kani use a bit more of the sh2's cpu.  I think that the cv1k games will fare good in fba though. 
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: el_rika on November 19, 2016, 08:44:57 AM
Hehe, i'm very anxious to see it happend one day :D
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: Arcadez on November 19, 2016, 10:11:03 AM
I remember reading a while back, on these very forums, that when porting Super Kaneko Nova System (Cyvern still beeing one of the most resource intensive games in all of FBA) some "hacks" were used in order to make it playable on mainstream hardware. So...maybe it's possible for Cv1k drivers as well... ;p

The MAME driver has speedhacks for all those games as standard, when it comes to the most resourse heavy game Supernova wise
i'd go for Sengaki Strikers for the most resource heavy game in FBA surely that would be Killer Instinct..???
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: Romhack on November 19, 2016, 01:09:34 PM
CV1k has a 133MHz SH3. Killer Instinct a 100MHz MIPS3 (And a ADSP2105 at 10MHz). These hardware are N times faster than any other hardware emulated by FBA.
When I have time I'll try to write an SH3 cpu core for FBA. I am thinking about something like MAME's UML for FBA to write dynamic recompilers, GNU Lightning seems to be a great option, it has many backends (AArch64, ARM, PPC, SPARC,MIPS,x86(64),etc...).
Title: Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
Post by: dink on November 19, 2016, 01:37:38 PM
The MAME driver has speedhacks for all those games as standard, when it comes to the most resourse heavy game Supernova wise
i'd go for Sengaki Strikers for the most resource heavy game in FBA surely that would be Killer Instinct..???

Sengeki Striker is definitely the most resource intense Supernova game.  But, its such a terrible game that I mentally block it out when thinking about Supernova games :)