Author Topic: mame4All for OD Version 1.0  (Read 18128 times)

slaanesh

  • *
  • Posts: 473
    • Slaanesh Dev
Re: mame4All for OD Version 1.0
« Reply #20 on: October 29, 2012, 05:10:49 am »
On it's way tonight once I am home from work.

I was just coincidently doing the same changes to the Dingoo Native version just last night too.

Have been running a few games with FAME/C and many M68K games are quite a bit faster (25%?)

alekmaul (OP)

  • *
  • Posts: 330
    • Portabledev
Re: mame4All for OD Version 1.0
« Reply #21 on: October 29, 2012, 09:12:46 am »
Great, can't wait to see how you managed to add it to Mame4All.
As I saw, fame/c uses direct access to data in supervisor/user mode of the 68000.
I tried to mimic data access to a fake memory data structure and then hooked it to acess the current game roms with no success :(

naxeras

  • *
  • Posts: 191
Re: mame4All for OD Version 1.0
« Reply #22 on: October 29, 2012, 01:21:09 pm »
On it's way tonight once I am home from work.

I was just coincidently doing the same changes to the Dingoo Native version just last night too.

Have been running a few games with FAME/C and many M68K games are quite a bit faster (25%?)

Incredible work slaness, 25% of speedup!!

Your mame version is for native or OD?

slaanesh

  • *
  • Posts: 473
    • Slaanesh Dev
Re: mame4All for OD Version 1.0
« Reply #23 on: October 29, 2012, 11:53:45 pm »
The version I am working on is for Native.
You can thank FAME/C and the original author 'chui' for that.

Capcom and Sega games seem to benefit the most - as do other M68000 games of course. Atari games don't seem to work at all - but I think I know why these are the problem - may be able to fix these later. I remember when Franxis was using Cyclone on the GP2X he has similar problems with some M68000 games.

Anyway, I'm going to wrap up v1.1 Native so should have something on the weekend I think.


I'm sure Alek will have a new v1.1 for OD too.

Alek, to use FAME/C modify the M68000 section in rules.mak:

I had it setup to be able to compile either the standard M68000 (Musashi) or FAME - but this version of FAME includes Musashi so being able to easily compile with either isn't required. I think RoadBlasters breaks though, will test it shortly.

A new option will be available from the frontend to use either M68K core.

Compatible = Musashi (existing core)
Fast = FAME/C (new core)


Code: [Select]
CPU=$(strip $(findstring [email protected],$(CPUS)))
ifneq ($(CPU),)
CPU=$(strip $(findstring [email protected],$(CPUS)))
ifneq ($(CPU),)
OBJDIRS += $(OBJ)/cpu/fame
CPUDEFS += -DHAS_M68000 -DHAS_M68000_FAME -DFAME_PREFIX=fame68k
OBJDIRS += $(OBJ)/cpu/fame
CPUOBJS += $(OBJ)/cpu/fame/m68kmame.o $(OBJ)/cpu/fame/famec.o $(OBJ)/cpu/fame/fame_mame.o
$(OBJ)/cpu/fame/m68kmame.o: m68k.h m68kconf.h m68kcpu.inc m68kcpu.h m68kmame.c m68kmame.h m68kopac.inc m68kopdm.inc m68kopnz.inc m68kops.inc m68kops.h m68000.h
$(OBJ)/cpu/fame/famec.o: famec.c famec_opcodes.h
$(OBJ)/cpu/fame/fame_mame.o: fame_mame.c fame.h
endif
endif
« Last Edit: October 29, 2012, 11:56:02 pm by slaanesh »

pcercuei

  • ***
  • Posts: 1427
    • My devblog
Re: mame4All for OD Version 1.0
« Reply #24 on: October 30, 2012, 01:19:40 am »
Fox68k is the author of Fame/C, not Chui (but Chui participated). Just wanted to give the credit to the right person.

alekmaul (OP)

  • *
  • Posts: 330
    • Portabledev
Re: mame4All for OD Version 1.0
« Reply #25 on: October 30, 2012, 06:39:12 am »
Thanks for reply slaanesh, I saw also your mail, and have before it a working version of mame4all OD.
I tested gauntlet and it works. Outrun doesn't, (perhaps because of multi 68000 cpus).
Will continue to investigate.
Also, as I replied byt email, my last question is : what is the purpose of this function (why using different numbers) :
Quote
      put_default_handlers(14);

And I find a little bug in your fame_mame.c file :
Quote
void m68000_set_pc(unsigned val)
{
#ifdef DEBUG_FAME
   printf("m68000_set_pc %i/%i\n",cpu_getactivecpu(),using_always_musashi); fflush(stdout);
#endif
   if (cpu_getactivecpu() || using_always_musashi)
      fame_m68ks_set_pc(val);
   else
      fame68k_get_pc();
}
It's certainy fame68k_set_pc(); instead of get_pc.
« Last Edit: October 30, 2012, 06:56:45 am by alekmaul »

naxeras

  • *
  • Posts: 191
Re: mame4All for OD Version 1.0
« Reply #26 on: October 31, 2012, 02:20:18 pm »
Works altered beast and Alien Storm?


slaanesh

  • *
  • Posts: 473
    • Slaanesh Dev
Re: mame4All for OD Version 1.0
« Reply #27 on: November 01, 2012, 11:00:30 pm »
Yes Altered Beast works... Alien Storm? Most likely. I haven't tried that one though.

Pretty much everything I've tried works except for Outrun.

naxeras

  • *
  • Posts: 191
Re: mame4All for OD Version 1.0
« Reply #28 on: November 02, 2012, 11:24:26 am »
Ohhh, golden axe and altered beast playable in dingoo at last!!!

What about memory problems?

It runs the simpsons or do donpachi for example?

?Runs Neo-Geo games?

I can't wait!!!
« Last Edit: November 02, 2012, 11:33:25 am by naxeras »

naxeras

  • *
  • Posts: 191
Re: mame4All for OD Version 1.0
« Reply #29 on: November 15, 2012, 08:45:41 am »
Any news?

dclark61

  • *
  • Posts: 7
Re: mame4All for OD Version 1.0
« Reply #30 on: January 22, 2013, 02:29:27 pm »
Does button mapping work with this version of Mame4All?  I don't seem to be able to map the A button to P1 Right/Right (needed for games like Robotron 2084!).  Thanks.

dclark61

  • *
  • Posts: 7
Re: mame4All for OD Version 1.0
« Reply #31 on: January 22, 2013, 03:23:45 pm »
Actually what I found is that the last button to be mapped remains unmapped, so if I map an additional button, I'm able to map all the buttons I want, including "A".

But, for some reason, Mame4All doesn't save the configuration.  Upon restarting Mame4All, the remapping has been lost.  I also notice that no "robotron.cfg" file is saved in the cfg folder.

Help?

GeneralJefe

  • *
  • Posts: 44
Re: mame4All for OD Version 1.0
« Reply #32 on: March 08, 2013, 01:57:02 am »
I downloaded the "MAME4all complete 0.37b5 rom set" but whenever I select any of the roms in the select screen it just closes out the emulator. Any ideas to why it would do this? Thanks.

Edit: Any one have any idea as to why this wouldn't work?
« Last Edit: March 14, 2013, 04:20:44 am by GeneralJefe »

k0en

  • *
  • Posts: 254
Re: mame4All for OD Version 1.0
« Reply #33 on: March 15, 2013, 09:42:10 am »
@GeneralJeff : Have you got the bios files?

alekmaul (OP)

  • *
  • Posts: 330
    • Portabledev
Re: mame4All for OD Version 1.0
« Reply #34 on: March 15, 2013, 10:11:32 am »
Well, k0en, there is no bios, only rom files.
GeneralJefe, explain more , which game, what is your installation directory , and so on ...

GeneralJefe

  • *
  • Posts: 44
Re: mame4All for OD Version 1.0
« Reply #35 on: March 22, 2013, 12:11:23 am »
Well, k0en, there is no bios, only rom files.
GeneralJefe, explain more , which game, what is your installation directory , and so on ...
Well I made a mame folder in the emulator directory. I put a series of games including Galaga 3, Donkey Kong, etc. i ended up putting the roms in "/mmcblk0p2/local/home/emulators/mame/roms" I go into my system, the games show up in the rom list. i select one, the emulator closes.
« Last Edit: March 22, 2013, 12:13:18 am by GeneralJefe »

h3x

  • *
  • Posts: 12
Re: mame4All for OD Version 1.0
« Reply #36 on: March 28, 2013, 01:21:28 pm »
I find Ninja Baseball Batman (USA)            (c) 1993 Irem America Corp  in m92.cpp.
In fact,it can't be  recognized  by emulator.

alekmaul (OP)

  • *
  • Posts: 330
    • Portabledev
Re: mame4All for OD Version 1.0
« Reply #37 on: May 10, 2013, 09:06:02 am »
OK, new version is on the way, with full 60 fps on GCW0 for lot's of games. Lot's of improvment were made regarding sound and video (just take a look at last qbert video, you will also see neo geo games with 60fps running  ;)).
h3x, i will check that.
GeneralJefe, that's strange, Donkey Kong works fine for me.
Are you sure mame executable has +x right (do a ls -al in mame folder).

naxeras

  • *
  • Posts: 191
Re: mame4All for OD Version 1.0
« Reply #38 on: May 12, 2013, 09:58:01 am »
OK, new version is on the way, with full 60 fps on GCW0 for lot's of games. Lot's of improvment were made regarding sound and video (just take a look at last qbert video, you will also see neo geo games with 60fps running  ;)).
h3x, i will check that.
GeneralJefe, that's strange, Donkey Kong works fine for me.
Are you sure mame executable has +x right (do a ls -al in mame folder).

No dingoo version will be available?

alekmaul (OP)

  • *
  • Posts: 330
    • Portabledev
Re: mame4All for OD Version 1.0
« Reply #39 on: May 14, 2013, 02:26:38 pm »
Yes, of course a dingoo version will be available, there will be two distribution, OD and GCW0.

Slaanesh, if you want, we can share the same source code to do an unique release with your updates and my updates (i did a lot of fix on non working games, and also added neogeo games).