Author Topic: What I've been working on (iq_132's work in progress)  (Read 761399 times)

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: What I've been working on (iq_132's work in progress)
« Reply #525 on: September 21, 2011, 08:16:29 AM »
Sounds very good Treble Winner...I'm waiting patiently for this new release :smilie:


Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: What I've been working on (iq_132's work in progress)
« Reply #526 on: September 21, 2011, 03:54:28 PM »
Updated my compile environments to the latest tools, and updated the compile guides on my page if anyone is interested.
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline Huggybaby

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +2/-0
Re: What I've been working on (iq_132's work in progress)
« Reply #527 on: September 21, 2011, 08:13:14 PM »
Thanks for the good news, looking forward to the next release!

Offline hxghwx

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-0
Re: What I've been working on (iq_132's work in progress)
« Reply #528 on: September 22, 2011, 12:45:33 AM »
Does the FBA want a new version to pull?Expectation.

Offline KaaMoS

  • Member
  • ***
  • Posts: 136
  • Karma: +1/-0
Re: What I've been working on (iq_132's work in progress)
« Reply #529 on: September 23, 2011, 12:42:04 AM »
I didn't get what you meant on your messages...

Are you talking about a new release of FBA?
If answer is "true", would these updates be included? (including those Neo-Geo <-XBOX works).
I heard by someone that those versions are playable, but have color/graphic problems.

Thanks!

Offline Rasek

  • Newbies
  • *
  • Posts: 28
  • Karma: +1/-0
Re: What I've been working on (iq_132's work in progress)
« Reply #530 on: September 23, 2011, 08:37:23 AM »
Hi guys!!!

If possible, I would suggest you to launch the new version when MAME 144 is released.
So all romsets can match MAME 144.

Looking forward to see that long-awaited new FBA !!!

Offline iq_132

  • Administrator
  • *****
  • Posts: 3725
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: What I've been working on (iq_132's work in progress)
« Reply #531 on: October 10, 2011, 08:32:30 AM »
If anyone has played the m92 games in fba, you've noticed the music craps out after a while.

based on this change in the next mame release
http://git.redump.net/mame/commit/?id=4752ec48a890db3219bb6919fa0918826b3dc4a4

This can be fixed by changing this in d_m92.cpp

      case 0xa8044:
         return sound_latch[0];

to this

      case 0xa8044:
         setvector_callback(V30_CLEAR);
         return sound_latch[0];

You can fix the tempo (i'm fairly deaf, so it could still be off...) with this:

find this line:

      if (i==127)sync_ym2151();

change it to

      if ((i & 63) == 63) sync_ym2151(); // update 4x/frame


Also, you can fix music for m90 with this too.

in d_m90.cpp find this

      case 0x42: // bbmanw
      case 0x80:
         return *soundlatch;

change it to

      case 0x42: // bbmanw
      case 0x80:
         ZetSetVector(0xff);
         ZetSetIRQLine(0, ZET_IRQSTATUS_NONE);//?
         return *soundlatch;
« Last Edit: October 10, 2011, 08:46:10 AM by iq_132 »


Offline Turisu

  • Newbies
  • *
  • Posts: 18
  • Karma: +2/-0
Re: What I've been working on (iq_132's work in progress)
« Reply #532 on: October 10, 2011, 10:29:18 AM »
Thanks for that fix. Do you happen to know if there's any way to speed this driver up for the Xbox build? The older M92 driver from FBAShuffle is able to run Hook and In The Hunt at full speed with sound.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3725
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: What I've been working on (iq_132's work in progress)
« Reply #533 on: October 19, 2011, 11:51:09 AM »
Thanks for that fix. Do you happen to know if there's any way to speed this driver up for the Xbox build? The older M92 driver from FBAShuffle is able to run Hook and In The Hunt at full speed with sound.
The older m92 driver doesn't have sound or most of the games added. Not sure what you're talking about there. Plus, FBAShuffle's team doesn't actually ever add new drivers, just games on drivers that are already written.
As far as speeding up the new code, that's easy -- remove the scanline stuff. That should speed it up greatly. The sound core needs optimized too.


Offline Turisu

  • Newbies
  • *
  • Posts: 18
  • Karma: +2/-0
Re: What I've been working on (iq_132's work in progress)
« Reply #534 on: October 19, 2011, 01:08:29 PM »
The older m92 driver doesn't have sound or most of the games added. Not sure what you're talking about there. Plus, FBAShuffle's team doesn't actually ever add new drivers, just games on drivers that are already written.
As far as speeding up the new code, that's easy -- remove the scanline stuff. That should speed it up greatly. The sound core needs optimized too.
The attached driver is the one I'm referring to. I got it from the FBAShuffle source repository. It's different to the older M92 WIP driver and runs both Hook and In The Hunt with sound at full framerate on Xbox hardware.

Thanks for the tip about the scanlines. I'll give it a try. :)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3725
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: What I've been working on (iq_132's work in progress)
« Reply #535 on: October 23, 2011, 08:03:12 PM »
Here's a revised version of the sample player. It should be substantially faster. :)  It should help with the frame rate a bit.


Offline Turisu

  • Newbies
  • *
  • Posts: 18
  • Karma: +2/-0
Re: What I've been working on (iq_132's work in progress)
« Reply #536 on: October 24, 2011, 04:39:59 AM »
Here's a revised version of the sample player. It should be substantially faster. :)  It should help with the frame rate a bit.
Many thanks  :smilie:. This doubles the framerate in the M72 driver but doesn't seem to affect performance in M92 games at all. Is that how it should be?

Offline iq_132

  • Administrator
  • *****
  • Posts: 3725
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: What I've been working on (iq_132's work in progress)
« Reply #537 on: October 24, 2011, 07:53:50 AM »
I wouldn't think so. It isn't even used by m72. :S


Offline Turisu

  • Newbies
  • *
  • Posts: 18
  • Karma: +2/-0
Re: What I've been working on (iq_132's work in progress)
« Reply #538 on: October 24, 2011, 01:12:42 PM »
My mistake; I thought I'd rolled back the scanline changes in the M72 driver but I hadn't  :rolleyes:.

On the Xbox the new sound code improves performance in the M92 driver by another 5fps  :smilie:. Which is great; with the original driver, R-Type Leo was running at a miserable 17fps. Now with a combination of removing the scanline stuff and your new sound code it's running at a very playable 33fps and to be honest it looks as smooth as can be to me.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3725
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: What I've been working on (iq_132's work in progress)
« Reply #539 on: October 24, 2011, 10:44:50 PM »
Wow... That's terrible lol.  I wonder if some idle skip stuff would help improve the speed at all?