Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAME m62.c Kung Fu Master incredibly SLOW emulation  (Read 8042 times)

0 Members and 1 Guest are viewing this topic.

maiki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 22, 2019, 05:51:29 pm
MAME m62.c Kung Fu Master incredibly SLOW emulation
« on: October 14, 2015, 03:44:04 pm »
I have just found out that the new MAME 0.166 runs all Irem games based on m62.c driver at about 41% speed on my notebook CPU!!! 41%! Games like the must have Kung Fu Master, also Spelunker or Lode Runner. Apparently they added some demanding sort of analogue audio emulation. It's incredible that the old MAME like 0.106 from 2006 gives me 800% on m62 games and today I am not even able to get 50% (yes, it is "only" a Celeron n2830 I know)

I wonder if there is actually a normal desktop CPU that will handle m62.c games SAFELY at 100% all time... Can anybody test this please?


Imagine all those Raspberry Pi etc users... they are all screwed up for ever with this king of emulation approach...

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9669
  • Last login:Today at 07:38:57 am
  • Designated spam hunter
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #1 on: October 14, 2015, 03:56:15 pm »

Haze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1296
  • Last login:October 04, 2023, 08:30:02 am
  • I want to build my own arcade controls!
    • MAME Development Blog
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #2 on: October 14, 2015, 07:46:04 pm »
I wonder if there is actually a normal desktop CPU that will handle m62.c games SAFELY at 100% all time... Can anybody test this please?

over 200% on an i7-4790K @ 4.00Ghz, so yes, safely.

the cost of progress is sometimes heavy, technically kungfu master never uses the analog hw, but it is there on the boards afaik, so we emulate it.  spelunker, horizon, kid niki etc. make good use of it.

maiki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 22, 2019, 05:51:29 pm
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #3 on: October 14, 2015, 09:02:05 pm »

over 200% on an i7-4790K @ 4.00Ghz, so yes, safely.


Do you think these CPUs would handle it as well?

Pentium G
Core i3
Core i5

Haze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1296
  • Last login:October 04, 2023, 08:30:02 am
  • I want to build my own arcade controls!
    • MAME Development Blog
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #4 on: October 15, 2015, 06:18:15 am »

over 200% on an i7-4790K @ 4.00Ghz, so yes, safely.


Do you think these CPUs would handle it as well?

Pentium G
Core i3
Core i5

I don't have one, so I can't tell you, keep in mind that the generation of the chips could be important too, the incremental improvements made over the years do add up to quite a lot.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1543
  • Last login:July 15, 2025, 03:41:34 pm
  • retro maniac
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #5 on: October 18, 2015, 01:42:08 pm »
G3258 oveclocked to 4,0 can, with stock clock does not.

4670k barely can, probably 2500k with stock clock with not be enough too.

maiki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 22, 2019, 05:51:29 pm
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #6 on: October 18, 2015, 02:07:12 pm »
It seems to me like 4 GHz is the solution (?). How about Core i3-4170? That CPU is clocked at 3.7 GHz stock. Or: Core i3-4370 at 3.8 and new Core i3-6320 at 3.9?

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1543
  • Last login:July 15, 2025, 03:41:34 pm
  • retro maniac
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #7 on: October 19, 2015, 05:26:31 am »
Clock is not the only factor, better check passmark scores, m62 works fine on 4670k so should work fine on those processors as well.

fleskebacon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 73
  • Last login:November 22, 2024, 01:58:55 pm
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #8 on: November 10, 2015, 05:14:12 pm »
Is there a way to compile the newest MAME but leave this part out, so that I can keep playing Kung Fu Master without having to buy a $350 cpu? Replacing some source files with ones from 0.162 or something as easy as that? Or will that just mess up everything?

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19960
  • Last login:Yesterday at 10:00:30 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #9 on: November 10, 2015, 05:35:05 pm »
Just run a second instance of MAME for that game. Depending on your front end, it can be seamless.
***Build what you dig, bro. Build what you dig.***

fleskebacon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 73
  • Last login:November 22, 2024, 01:58:55 pm
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #10 on: November 18, 2015, 07:34:27 am »
Just run a second instance of MAME for that game. Depending on your front end, it can be seamless.
A good idea, I was thinking too complicated to see that solution.

I simply made a batch-file and run Mame from there, routing the different roms to the "correct" version of Mame.

HLSL looks a tad better in 0.167, but I'm willing to accept that, when the alternative is buying $200 worth of new hardware just to run Kung-Fu Master...

Thanks!

davidgilmour

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:April 11, 2025, 09:01:44 pm
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #11 on: October 08, 2016, 12:36:42 am »
Just run a second instance of MAME for that game. Depending on your front end, it can be seamless.
A good idea, I was thinking too complicated to see that solution.

I simply made a batch-file and run Mame from there, routing the different roms to the "correct" version of Mame.

HLSL looks a tad better in 0.167, but I'm willing to accept that, when the alternative is buying $200 worth of new hardware just to run Kung-Fu Master...

Thanks!
Can you give some more information about your batchfile, how do you run two mame versions with one frontend?

fleskebacon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 73
  • Last login:November 22, 2024, 01:58:55 pm
Re: MAME m62.c Kung Fu Master incredibly SLOW emulation
« Reply #12 on: December 02, 2016, 05:22:04 am »
Can you give some more information about your batchfile, how do you run two mame versions with one frontend?
I just wrote a simple script like this:


cd\mame
if "%1" == "dkong" cd\mame162
if "%1" == "kungfum" cd\mame167
mame64.exe %1 %2 %3 %4 %5


Then you just set the batch-file as the Mame executable in the frontend. Note that you'll need separate folders for each Mame version, as many of the supporting files aren't compatible between versions. Rom sets aren't necessarily compatible either, but I never had any problems with that in particular.

The newer versions of Mame are far better optimised though, so my initial reason for doing this doesn't exist any more. All m62.c games now run nicely, even with normal hardware.