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

Articus

  • *
  • Posts: 356
Re: mame4All for OD Version 1.0
« Reply #15 on: October 25, 2012, 05:25:53 am »
hey everyone. i just installed mame4all for OpenDingux on my a320 dingoo successfully. however, the emulator does not seem to read the zipped file games for some reason... any thoughts/ideas/help??

thanks!
you need to use the mame 0.37b romset.

Please PM me.  I can only find 1.29, 1.38, then 1.38 - 1.47 update packs

alekmaul (OP)

  • *
  • Posts: 330
    • Portabledev
Re: mame4All for OD Version 1.0
« Reply #16 on: October 25, 2012, 06:10:08 am »
How to build frontend? Makefile don't do it automatic.

sorry, just need to type make -f makefile.opendingux mame.dge

it also work on linux
It's in readme file. Same compilation than others consoles.
You must know that it also works on windows, see my screeshots from w7 ...
Currently, i fixed some few bugs and try to add a fast 68000 cpu, some faster blitting functions.

samir

Re: mame4All for OD Version 1.0
« Reply #17 on: October 25, 2012, 12:54:04 pm »

[/quote]
Currently, i fixed some few bugs and try to add a fast 68000 cpu, some faster blitting functions.
[/quote]

Cool!

slaanesh

  • *
  • Posts: 439
    • Slaanesh Dev
Re: mame4All for OD Version 1.0
« Reply #18 on: October 28, 2012, 03:37:30 am »
ARe you using FAME/C for the M68000?
It's pretty good and have tried it with MAME4ALL on Legacy Dingux for never released v1.3.
It was somewhat faster tough less compatible.

Unfortunately, MAME4ALL doesn't lend itself for hardware double buffering due to the host of different resolutions which would really help speed things up.

Anyway, nice release. Ive finally installed Open Dingux and congrats to the developers. It's a huge improvement over Legacy Dingux! I really like it. It's got loads of cool things that really were critically missing with the Legacy version.

alekmaul (OP)

  • *
  • Posts: 330
    • Portabledev
Re: mame4All for OD Version 1.0
« Reply #19 on: October 28, 2012, 06:21:20 am »
Hi Slaneesh,
yes, i'm trying to add fame/c but the memory mapping is a bit weird for me for fame structure.
If you did the job for your Dingux verison, Could you please share the part of code where you did the storage of data in sv_read_byte, sv_fetch, ... for the Fame structure.
Thanks in advance.

slaanesh

  • *
  • Posts: 439
    • 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

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: 439
    • 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: 1397
    • GitHub
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

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: 439
    • 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

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

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