Author Topic: Can the Cave cv1k driver be added to Mame 0.139u1 ?  (Read 23482 times)

Offline el_rika

  • Member
  • ***
  • Posts: 101
  • Karma: +11/-0
Can the Cave cv1k driver be added to Mame 0.139u1 ?
« 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!

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #1 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.
« Last Edit: November 03, 2016, 08:06:42 PM by gamez fan »

Offline el_rika

  • Member
  • ***
  • Posts: 101
  • Karma: +11/-0
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #2 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

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #3 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.


Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 1140
  • Karma: +60/-2
  • Helper
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #4 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.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #5 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. ^^


Offline el_rika

  • Member
  • ***
  • Posts: 101
  • Karma: +11/-0
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #6 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)

Offline Haze

  • MAME Devs
  • *****
  • Posts: 184
  • Karma: +47/-0
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #7 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.

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #8 on: November 12, 2016, 08:54:56 AM »
We're using a single thread, but, anything is possible..

Offline el_rika

  • Member
  • ***
  • Posts: 101
  • Karma: +11/-0
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #9 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

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #10 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. 

Offline el_rika

  • Member
  • ***
  • Posts: 101
  • Karma: +11/-0
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #11 on: November 19, 2016, 08:44:57 AM »
Hehe, i'm very anxious to see it happend one day :D

Offline Arcadez

  • Expert
  • *****
  • Posts: 558
  • Karma: +15/-0
  • Arcade Addict
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #12 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..???

Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #13 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...).

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: Can the Cave cv1k driver be added to Mame 0.139u1 ?
« Reply #14 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 :)