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

Offline el_rika

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-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: 517
  • Karma: +13/-1
  • 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

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-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: 517
  • Karma: +13/-1
  • 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

  • Expert
  • *****
  • Posts: 297
  • Karma: +9/-0
  • lr-fbalpha developer
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: 3580
  • Karma: +376/-0
  • Just a lion with a sword
    • 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

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-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: 157
  • Karma: +45/-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: 2679
  • Karma: +227/-0
  • feed the horse yumyum
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

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-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: 2679
  • Karma: +227/-0
  • feed the horse yumyum
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

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-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: 517
  • Karma: +13/-1
  • 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: 94
  • 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: 2679
  • Karma: +227/-0
  • feed the horse yumyum
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 :)