Dingoonity.org

Other Portable Consoles => Dingoo Technology A380 => Topic started by: Alien Grey on November 19, 2012, 02:58:41 pm

Title: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 19, 2012, 02:58:41 pm
(http://www.portabledev.com/media/DINGOO/mame4all-od/Mame4All_v10-od_0.png)



I finally managed to compile mame4all from Alekmaul for the Dingoo A-380/A-320e.  :)



Download: http://www.putlocker.com/file/937EF6462EFC6BFA (http://www.putlocker.com/file/937EF6462EFC6BFA)

Source Code: http://www.portabledev.com/modules/download_gallery/dlc.php?file=504&id=1350826638 (http://www.portabledev.com/modules/download_gallery/dlc.php?file=504&id=1350826638)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: danilop2k2 on November 19, 2012, 03:09:08 pm
no way, more than 1 game/emu a day !!!  ;)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: danilop2k2 on November 19, 2012, 03:29:59 pm
maybe you can lower sound to 22 khz,

some games run too slow, even from 3d games directory
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 19, 2012, 03:46:20 pm
maybe you can lower sound to 22 khz,

some games run too slow, even from 3d games directory

I think you can change the sound frequency for each game in the emulator. I don't know if this is going to make much difference.

Alekmaul is working on a new version to make it run faster.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Santo on November 19, 2012, 05:33:46 pm
i cant believe this :o

u managed to port Mame4all... thats great... ;D

BTW, as always, thanks Alien...
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: danilop2k2 on November 19, 2012, 08:10:17 pm
nice work Alien

though it's the worst Mame i have ever tried.
very slow  >:(

my roms go back to our previous MAME
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 19, 2012, 08:42:48 pm
I think that the trick is to find good settings. Try with frameskip 0.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: danilop2k2 on November 19, 2012, 09:36:01 pm
my ears hurting...

what a piece of @$#@%$^%&*(*&^( !!!  >:(
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: dclark61 on January 22, 2013, 04:07:44 pm
maybe you can lower sound to 22 khz,

some games run too slow, even from 3d games directory

I think you can change the sound frequency for each game in the emulator. I don't know if this is going to make much difference.

Alekmaul is working on a new version to make it run faster.

Any update on the new version?  Or any tricks to make the sound better on this version, or have it run full-speed while TV-Out is enabled?   ;D
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: DA380FAN on January 22, 2013, 04:34:26 pm
this emulator needs a lot of work, it's pretty worthless without a BIG upgrade
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: DA380FAN on January 26, 2013, 11:29:48 pm
Our great console with Cfw just needs a good mame o be perfect  >:(
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on March 28, 2013, 12:14:35 am
Hi everyone,

Alien Grey pointed me to this thread.

Looks like MAME4ALL needs some love for the A380.

I've been working on some speed improvements for MAME4ALL OpenDingux. The v1.0 for A320 OD was... pretty slow in most instances :(
Even some basic games seemed to be a lot slower than what you may expect.

I don't have an A380 console so it's hard for me to get anything working on it.

I would be happy to get a better version of MAME4ALL running on this console however I need an A380 console.
I can get an A380 posted to me for AUD$120. I'm willing to put in half of that if perhaps some other A380 users who want MAME4ALL want to put in the rest.

I'm also posting this message on the DOSBox thread and will get DOSBox also running.

See my website: http://www.slaanesh.net/ (http://www.slaanesh.net/)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on March 28, 2013, 03:55:06 pm
Hi everyone,

Alien Grey pointed me to this thread.

Looks like MAME4ALL needs some love for the A380.

I've been working on some speed improvements for MAME4ALL OpenDingux. The v1.0 for A320 OD was... pretty slow in most instances :(
Even some basic games seemed to be a lot slower than what you may expect.

I don't have an A380 console so it's hard for me to get anything working on it.

I would be happy to get a better version of MAME4ALL running on this console however I need an A380 console.
I can get an A380 posted to me for AUD$120. I'm willing to put in half of that if perhaps some other A380 users who want MAME4ALL want to put in the rest.

I'm also posting this message on the DOSBox thread and will get DOSBox also running.

See my website: http://www.slaanesh.net/ (http://www.slaanesh.net/)


first show as the improved Mame4all,
then we will all be happy to donate !

i even have spare A380 consoles...
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on April 02, 2013, 06:58:33 am
I'm working on MAME4ALL for Dingoo A320 Native and OD.
A new version for each is coming. Both are considerable speed and compatibility improvements.

The Dingoo Native version is coming first.

By the way, apart from the wireless controller support, the A320e doesn't seem to be any different to the A380. Is that correct?
I don't really care about the wireless controller support so maybe an A320e will suffice.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 02, 2013, 12:00:23 pm
By the way, apart from the wireless controller support, the A320e doesn't seem to be any different to the A380. Is that correct?

No. It's different and it doesn't use the same Dingux version. I think that the kernel is different but I'm not sure. You can't use the Dingoo A-380 CFW. I also know that the original Dingoo A-380 emulators can't run on a Dingoo A-320e. I don't know if everything ported to the Dingoo A-380 actually works on a Dingoo A-320e.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: alekmaul on April 02, 2013, 12:11:23 pm
I've been working on some speed improvements for MAME4ALL OpenDingux. The v1.0 for A320 OD was... pretty slow in most instances :(
Of course, there is a bug in the value of the frameskipping parameters, it's fixed in V1.1 that I will release soon.
Slaanesh, you did more improvment than this thing (and new 68000 core) ? If so, will also add them to my version, thanks to share ;).
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on April 02, 2013, 10:38:16 pm
I've been working on some speed improvements for MAME4ALL OpenDingux. The v1.0 for A320 OD was... pretty slow in most instances :(
Of course, there is a bug in the value of the frameskipping parameters, it's fixed in V1.1 that I will release soon.
Slaanesh, you did more improvment than this thing (and new 68000 core) ? If so, will also add them to my version, thanks to share ;).

How does it compare with built in Mame?
It's so and so at best, but way better than beta Mame4all
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on April 03, 2013, 03:08:06 am
I've been working on some speed improvements for MAME4ALL OpenDingux. The v1.0 for A320 OD was... pretty slow in most instances :(
Of course, there is a bug in the value of the frameskipping parameters, it's fixed in V1.1 that I will release soon.
Slaanesh, you did more improvment than this thing (and new 68000 core) ? If so, will also add them to my version, thanks to share ;).
I've made quite a few improvements and some games are really flying now.
Some important changes include:



A fair bit of work goes into profiling the code. ie. production of the .gcda files.

Can I update your github repository directly or do you want my entire code base?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: alekmaul on April 03, 2013, 05:26:15 am
How does it compare with built in Mame?
It's so and so at best, but way better than beta Mame4all
don't understand, sorry ...

  • * Using hardware surface and double buffering option.
  • * Updated compiler options. This turned out very important as it allows profiling to be much more effective.
  • * Some other updates to some drivers and base MAME files to allow games to run faster and in some cases better compatibility.


A fair bit of work goes into profiling the code. ie. production of the .gcda files.

Can I update your github repository directly or do you want my entire code base?
Well, I think I'm using hardware double buffering, as explained in dingoo wiki.
About update, well it will be great if you can update directly github before releasing your version. Thanks for that.  :) Of course, I'm talking only about OD version, not the native software one, I have no repo about it.
github is ready with fame and the few V1.1 improvments. I think I still have some files on my DD that are not on it (like the new skin  ;)), will check.
If it's too hard to update it, just release the source code with your version, I will update my version on github with your updates.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on April 05, 2013, 03:00:20 pm
will it be an external emulator or included in the next CFW ?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 05, 2013, 04:46:42 pm
will it be an external emulator or included in the next CFW ?

It's better to ask if it's going to be possible to use the dmenu game selector to start a MAME game and add support to the CFW. Without a Dingoo A-380 he doesn't know what you're talking about.

I think it's more important now to know if there's enough donations to buy a Dingoo A-380. Without a Dingoo A-380 there won't be a new MAME4All for us.  ;)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 06, 2013, 01:08:08 pm
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D


Download MAME4All V1.1 for A-380/A-320e: http://www.putlocker.com/file/F05558E80E8A22B7 (http://www.putlocker.com/file/F05558E80E8A22B7)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on April 06, 2013, 03:26:01 pm
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D


Download MAME4All V1.1 for A-380/A-320e: http://www.putlocker.com/file/F05558E80E8A22B7 (http://www.putlocker.com/file/F05558E80E8A22B7)

nice hope things get better in arcade emulation on the A380

FBA is already amazing
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 06, 2013, 03:39:02 pm
The games speed seems to be improved a lot but the sound isn't as good as the original Dingoo A-380 MAME version.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on April 06, 2013, 04:55:27 pm
Speed is good on most games

though can not believe sound is worst then even built in Mame  :'(

there's a serious sound bug in there...
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: alekmaul on April 09, 2013, 11:49:18 am
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D
How do you compiled it ? Did you modified some things to add specific A380 features or not ?
Github is a repository, so it's not final version but current saved version ....
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on April 09, 2013, 06:31:22 pm
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D
How do you compiled it ? Did you modified some things to add specific A380 features or not ?
Github is a repository, so it's not final version but current saved version ....


sound is garbled on all games
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 09, 2013, 11:44:56 pm
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D
How do you compiled it ? Did you modified some things to add specific A380 features or not ?
Github is a repository, so it's not final version but current saved version ....

I didn't modify anything. I only added the sdlwrapper to fix the screen issue.

It's good enough to replace the 1.0 version but not good enough to be a final version. The sound isn't good but maybe this is just an issue with the Dingoo A-380.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on April 11, 2013, 05:03:47 pm
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D
How do you compiled it ? Did you modified some things to add specific A380 features or not ?
Github is a repository, so it's not final version but current saved version ....

I didn't modify anything. I only added the sdlwrapper to fix the screen issue.

It's good enough to replace the 1.0 version but not good enough to be a final version. The sound isn't good but maybe this is just an issue with the Dingoo A-380.


Mame4all 1.0 was slow as hell but did not have the sound issue
so let's not point the A380 ...
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 15, 2013, 12:24:33 pm
Mame4all 1.0 was slow as hell but did not have the sound issue
so let's not point the A380 ...

I'm not blaming the Dingoo A-380 because the sound is good on the MAME version that came with the console.  ;)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: dmitry_smagin on April 17, 2013, 09:58:57 am
I've run alekmaul's mame4all on ritmix rzx50. Sound does stutter, but it's not because the cpu is slow. Actually, if you turn synchronization off in mame4all frontend, some games will run much faster. So, there's a potential for improvements.

I think it's the matter of sound/timer synchronization, the same problem I experienced with FBA SDL.
Expect updates soon.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 17, 2013, 01:22:48 pm
I've run alekmaul's mame4all on ritmix rzx50. Sound does stutter, but it's not because the cpu is slow. Actually, if you turn synchronization off in mame4all frontend, some games will run much faster. So, there's a potential for improvements.

I think it's the matter of sound/timer synchronization, the same problem I experienced with FBA SDL.
Expect updates soon.

There's also video clear issues when running it at resolution 400 x 240 that I can't fix. The good news is that the Pandora backgrounds for the gui are 400 x 240 pixels so they can be used for the Dingoo A-380 version. These background can be found with the version 1.0 source code.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on April 17, 2013, 02:08:37 pm
I've run alekmaul's mame4all on ritmix rzx50. Sound does stutter, but it's not because the cpu is slow. Actually, if you turn synchronization off in mame4all frontend, some games will run much faster. So, there's a potential for improvements.

I think it's the matter of sound/timer synchronization, the same problem I experienced with FBA SDL.
Expect updates soon.

There's also video clear issues when running it at resolution 400 x 240 that I can't fix. The good news is that the Pandora backgrounds for the gui are 400 x 240 pixels so they can be used for the Dingoo A-380 version. These background can be found with the version 1.0 source code.


nice , an improved mame and this is a dream retro-console !!
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: samir on April 28, 2013, 11:00:55 pm
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D


Download MAME4All V1.1 for A-380/A-320e: http://www.putlocker.com/file/F05558E80E8A22B7 (http://www.putlocker.com/file/F05558E80E8A22B7)

This Mame4all v1.1 woks in Dingoo a320? Or only for a380?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 29, 2013, 02:28:00 pm
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D


Download MAME4All V1.1 for A-380/A-320e: http://www.putlocker.com/file/F05558E80E8A22B7 (http://www.putlocker.com/file/F05558E80E8A22B7)

This Mame4all v1.1 woks in Dingoo a320? Or only for a380?

It won't work on a Dingoo A320 because it's compiled for a 400 x 240 pixels screen.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: samir on April 29, 2013, 04:34:29 pm
 ??? Thanks for your reply, alien grey.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on April 29, 2013, 05:21:45 pm
??? Thanks for your reply, alien grey.

You're welcome.

You never know if a new version is going to be available soon.  ;)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on April 30, 2013, 02:12:03 pm
We can try MAME4All V1.1 from Alekmaul while we're waiting for Slaanesh to get his Dingoo A-380. It's better than V1.0 but ...

Just try it yourself.  ;D


Download MAME4All V1.1 for A-380/A-320e: http://www.putlocker.com/file/F05558E80E8A22B7 (http://www.putlocker.com/file/F05558E80E8A22B7)

This Mame4all v1.1 woks in Dingoo a320? Or only for a380?

you won't miss it ,
it's still really green
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on May 14, 2013, 02:40:22 pm
any news of a corrected version?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on May 20, 2013, 11:39:02 am
I'm working on a new version of MAME4ALL for the A380.

I can't promise *when* it will happen, but it will happen.

Will update when I have some more news.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Santo on May 20, 2013, 07:14:43 pm
I'm working on a new version of MAME4ALL for the A380.

I can't promise *when* it will happen, but it will happen.

Will update when I have some more news.

great.. thanks.. :)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on June 24, 2013, 06:03:50 pm
I'm working on a new version of MAME4ALL for the A380.

I can't promise *when* it will happen, but it will happen.

Will update when I have some more news.

great.. thanks.. :)

just needing a sound tweak...  :o
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on July 01, 2013, 03:49:04 pm
I'm working on a new version of MAME4ALL for the A380.

I can't promise *when* it will happen, but it will happen.

Will update when I have some more news.

Are you there?
Title: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on July 02, 2013, 12:25:27 am
Yes I am I'm working on a really obscure FAME M68000 compatibility bug... Fixed soon I hope.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on July 02, 2013, 09:11:36 am
Yes I am I'm working on a really obscure FAME M68000 compatibility bug... Fixed soon I hope.

Great. I can't wait for a good MAME port with cheat support. I need cheat support if I ever want to finish the arcade game Rygar.  ;D
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on July 04, 2013, 01:19:40 am
just a fast / good sounding emu would do the trick  ;)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on July 09, 2013, 02:23:33 am
I've fixed FAME M68000 now and it works with everything - multi core M68000 games and some of the finicky Atari games. Will be good for A380 MAME4ALL.

I haven't run anything yet on the A380. Been looking at it now - no telnet access? :-(
Just like Dingoo Native, only mounting drives, is that correct?
Why does the sound always keep reseting back to vol=20?
Also, is the CPU software clockable like the A320?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on July 09, 2013, 06:17:29 am
I've fixed FAME M68000 now and it works with everything - multi core M68000 games and some of the finicky Atari games. Will be good for A380 MAME4ALL.

I haven't run anything yet on the A380. Been looking at it now - no telnet access? :-(
Just like Dingoo Native, only mounting drives, is that correct?
Why does the sound always keep reseting back to vol=20?
Also, is the CPU software clockable like the A320?

That's great. You might want to check the MAME4All source code forked by d_smagin. The sound is a lot better when using 44.1KHz with his fix.

Does the sound also reset to volume 20 if you change it in dmenu?

It's strange because that does work with the ZX-81 emulators.

Changing CPU clock frequency won't work so you should disable it for the Dingoo A-380.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on July 09, 2013, 07:02:44 am
I've fixed FAME M68000 now and it works with everything - multi core M68000 games and some of the finicky Atari games. Will be good for A380 MAME4ALL.

I haven't run anything yet on the A380. Been looking at it now - no telnet access? :-(
Just like Dingoo Native, only mounting drives, is that correct?
Why does the sound always keep reseting back to vol=20?
Also, is the CPU software clockable like the A320?

Does the sound also reset to volume 20 if you change it in dmenu?

Changing CPU clock frequency won't work so you should disable it for the Dingoo A-380.

I haven't tried dmenu yet.

There is no code to change the CPU?
What does the following description relate to in the firmware changes:

Added a new menu item "3D Games" with CPU clocked at 432MHz.

What is the normal clock of the A380? I thought it could run at ~500Mhz?

I was looking forward to some fullspeed Outrun :-)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on July 09, 2013, 07:50:16 am
The CPU only clocks down at 216MHz so I believe it will only change the clock if we overclock it with 216MHz. I think that it always runs at 432MHz no matter if you change it to 333MHz.

That's just my thoughts maybe the answer is in the kernel source code. :D
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: dmitry_smagin on July 09, 2013, 07:57:20 am
~500MHz is fake, get used to chinese market. :D
Normal working frequency is 366MHz, maximum stable overclock is 432MHz.
It's a normal practice not to tweak cpu frequency from each application and let dmenu do it.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on July 09, 2013, 04:30:42 pm
even with the now fixed sound,

LOTS of games on the romset run slow and with music broken (teenage mutant ninja turtles,terra cresta,
xevious, and hundreds more...)

cpu specs are no excuse if you look at the excellent Fba the A380 has  :o
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on July 12, 2013, 04:11:55 pm
1.2 version released for A320 ?
any better?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on July 21, 2013, 09:54:19 am
@Slaanesh

Any news about the new MAME4All port?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on July 30, 2013, 11:11:58 pm
????
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on August 08, 2013, 06:11:12 am
????

It starts to look as if Slaanesh won't release anything. Maybe he should just refund every donation and pay for his console or ship it back to retrodd.  :(
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on August 08, 2013, 08:24:32 pm
Starts to look ... ?

you're being too kind...
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 18, 2013, 01:02:27 am
Sorry for the long delay guys, I have compiled a version of MAME4ALL for the A380 but just working out the location of where everything goes.

Worked a few things out, got an initial executable running and a new 400x240 splash screen and then menu screen comes up on the screen. So far, so good. But it doesn't do much else yet.

Thanks for your patience.

Oh! Dunno if this is obvious or not but does anyone have source code to SDL for A380 or is using the same as A320?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: dmitry_smagin on November 18, 2013, 04:22:58 am
Oh! Dunno if this is obvious or not but does anyone have source code to SDL for A380 or is using the same as A320?

It's the same as on a320. Booboo's rootfs was reused with no changes. Hardware surfaces work, but double buffering - not (however it's the fault of fb driver, not SDL).
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 18, 2013, 09:48:42 am
Got it, yes found some info and thanks Dimitri. I'll update progress again tomorrow.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 19, 2013, 02:35:40 am
Some good news!

I have an initial working build of MAME4ALL for A380. It's not based on the SDL version of MAME4ALL, rather my Dingux version of MAME4ALL.

I just tried Ghosts 'n Goblins and it's... working! With sound! No stuttering! And it's looking good and seems to be playing at full-speed.

My intention is now to overhaul and update the code so that it matches my latest Dingoo Native A320 build so hopefully lots of games will run at full speed (with sound, of course).

Since the A380 has more RAM, I'm expecting and hoping that BIG games will work nicely... Fingers crossed for X-men and other biggies.

More updates soon.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: HercTNT on November 19, 2013, 05:01:39 am
Would it be possible to port this version to opendingux for the a320? I have no issue using the native version you have already created, but prefer to use opendingux as thats were i have most my stuff. If not its completely understandable. Your a porting machine, thank you for your hard work, its much appreciated :)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 19, 2013, 09:14:01 am
Some good news!

I have an initial working build of MAME4ALL for A380. It's not based on the SDL version of MAME4ALL, rather my Dingux version of MAME4ALL.

I just tried Ghosts 'n Goblins and it's... working! With sound! No stuttering! And it's looking good and seems to be playing at full-speed.

My intention is now to overhaul and update the code so that it matches my latest Dingoo Native A320 build so hopefully lots of games will run at full speed (with sound, of course).

Since the A380 has more RAM, I'm expecting and hoping that BIG games will work nicely... Fingers crossed for X-men and other biggies.

More updates soon.

That's very good news Slaanesh.  8)


Is there going to be cheat support?

Does RoadBlasters work?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 19, 2013, 09:22:34 am
I'll add cheat support and of course Road Blasters will work. ;-)

Also, I'll be doing a GCW-Zero version for Open Dingux - that should also be compatible with A320 Open Dingux.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Drem on November 19, 2013, 12:39:16 pm
Also, I'll be doing a GCW-Zero version for Open Dingux - that should also be compatible with A320 Open Dingux.
Thank you.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: HercTNT on November 19, 2013, 09:02:15 pm
I'll add cheat support and of course Road Blasters will work. ;-)

Also, I'll be doing a GCW-Zero version for Open Dingux - that should also be compatible with A320 Open Dingux.

Outstanding, thank you :)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 20, 2013, 09:02:03 am
I'll add cheat support and of course Road Blasters will work. ;-)

Also, I'll be doing a GCW-Zero version for Open Dingux - that should also be compatible with A320 Open Dingux.

That's great. Thanks a lot Slaanesh.  8)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on November 20, 2013, 01:30:07 pm
cheating would be great, but the speed boost / accurate sound is the main issue here
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 20, 2013, 10:49:07 pm
Just as a matter of interest, I am running CFW V2.08.03 and intend to upgraded to the latest version tonight.

Currently I'm suffering from reversed XY and LR buttons.
Also the sound keeps reset to an annoyingly high level.

I know the latest version fixes the reversing issue but what about the sound?

What MHZ speed does this CFW run at by default?
I'd like to gauge how fast this A380 may be able to run MAME4ALL.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 21, 2013, 08:36:08 am
I think that this sound issue is probably because you didn't use "Restore Default Settings". This is necessary to create the configuration files. Without those files it isn't possible to save the settings.

The Dingoo A-380 seems to be running at 432MHz all the time.

It runs fine with V2.09.02. Just remember to boot the factory kernel before you charge the battery or it takes twice the time to charge it. The only issue I've got with the new kernel is with the external MicroSD slot. For some reason it doesn't seem to find it but there's a work around for it. The work around is to boot the console the first time without the external MicroSD card and then shut it down. Put the external MicroSD card back and it should find the MicroSD card the next time you boot the console.

I don't know if this is an issue for everyone with CFW V2.09.02 but that's how I fix it.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 21, 2013, 09:48:31 am
432Mhz? I thought it might have been something like that as games i've tried are running fairly well.
Though, games are running slower than on MAME4ALL Dingoo Native version clocked at the same speed.
Though I haven't optimized some code yet. Still some work to be done.
I've got FAME in today so was running Xybots at fullspeed with sound.

I never charged my A380 with the factory kernel so was wondering why it took so long. :)

Anyway, I'll go with the new CFW tonight.

By the way, is there any utility to overclock the CPU? Can we get to 500Mhz as started in the specs or is that just rubbish? I wonder if the A320 CPU code will work with the correct jz_4750.h file. Probably not.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 21, 2013, 10:29:32 am
It takes around 3 hours to charge the battery from my Dingoo A-380 with factory kernel. I don't know how long exactly it would take to charge it with the new kernel but at 5 hours it still wasn't fully charged.  :(

Maybe it's possible to overclock the Dingoo A-380 but you would need someone who can work on the kernel to add the overclock. There's only a way to underclock it in the kernel to 216MHz. I don't think that it ever runs at 333MHz if you set this speed in dmenu.

The question is of course if it would be possible to overclock it stable over 432MHz.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: dmitry_smagin on November 21, 2013, 12:20:55 pm
By the way, is there any utility to overclock the CPU? Can we get to 500Mhz as started in the specs or is that just rubbish? I wonder if the A320 CPU code will work with the correct jz_4750.h file. Probably not.

There's no such utility, overclocking is integrated into dmenu.
500MHz is bogus, max is 432MHz (limited inside cpu driver).
And there's no jz4750.h file.

I strongly advise to drop using hardware directly as minimal library or jz4740.h or /dev/mem. This is not portable. Use regular linux devices/libraries or better use SDL. I always manage to make ports which run on every dingux incarantion without tweaking (though recompilation is needed sometimes). It's a matter of reason.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 21, 2013, 07:43:02 pm
So what is the jz4750.h from the A380 kernel source?

Banging the hardware gives maximum speed - yes - at the cost of some compatibility.

If you have generic code, it isn't going to run at maximum speed.

I like things to run as fast as they can - that's what I like doing - getting the most out of the hardware.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on November 21, 2013, 09:51:27 pm
So what is the jz4750.h from the A380 kernel source?

Banging the hardware gives maximum speed - yes - at the cost of some compatibility.

If you have generic code, it isn't going to run at maximum speed.

I like things to run as fast as they can - that's what I like doing - getting the most out of the hardware.

great  ;D

forget the "strong advices" ...
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on November 21, 2013, 09:53:24 pm
noticed some big sites are back selling the 380,

maybe they got tired of waiting for the problematic other one...
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: dmitry_smagin on November 22, 2013, 04:20:05 am
So what is the jz4750.h from the A380 kernel source?

Banging the hardware gives maximum speed - yes - at the cost of some compatibility.

If you have generic code, it isn't going to run at maximum speed.

I like things to run as fast as they can - that's what I like doing - getting the most out of the hardware.

great  ;D

forget the "strong advices" ...

Do you have anything reasonable to recommend for mame4all? If no, please, create a separate thread and don't interfere into things you have a vague idea about. Thank you.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 22, 2013, 07:53:37 am
Do you have anything reasonable to recommend for mame4all? If no, please, create a separate thread and don't interfere into things you have a vague idea about. Thank you.

Well...

I think that Slaanesh already explained it in his first post about the MAME4All for the Dingoo A-380. There's a problem with SDL sound and MAME4All that makes the sound horrible and emulation slow. If he thinks he can fix this with updating his Dingux build than I don't see a reason why he wouldn't do that to get the best out of MAME4All for the Dingoo A-380.  ;)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 22, 2013, 09:06:42 am
It's already fixed. I've been playing a few games today, including "Space Dungeon". Now playing at full-speed with sound.
I'll try not take too long, I may release an early beta test this weekend as you A380 guys have been waiting for ages.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 22, 2013, 09:16:55 am
That's great. I can't wait to try out the beta version.  8)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on November 22, 2013, 10:02:07 am
So what is the jz4750.h from the A380 kernel source?

Banging the hardware gives maximum speed - yes - at the cost of some compatibility.

If you have generic code, it isn't going to run at maximum speed.

I like things to run as fast as they can - that's what I like doing - getting the most out of the hardware.

great  ;D

forget the "strong advices" ...

Do you have anything reasonable to recommend for mame4all? If no, please, create a separate thread and don't interfere into things you have a vague idea about. Thank you.

already recommending not following strong useless advices  ::)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on November 22, 2013, 10:03:25 am
It's already fixed. I've been playing a few games today, including "Space Dungeon". Now playing at full-speed with sound.
I'll try not take too long, I may release an early beta test this weekend as you A380 guys have been waiting for ages.

at last !

so happy to get a good mame !
3rd time is the charm
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on November 23, 2013, 01:41:55 pm
suspense is killing me...  ;)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on November 28, 2013, 12:51:39 pm
WOOOOOWWWWWWWWWWW  :)

a terrific MAME port is comming !!

many many games run great

some tweaking still to do, Zaxxon no sound
venture does not start, etc

but GREAT, GREAT emulator for an already amazing machine!

feel it...

(http://www.ufunk.net/wp-content/uploads/2011/09/dingoo-a-380-2.jpg)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 28, 2013, 01:53:12 pm
It must be very good this time.  :o

I can't wait to try it out on my Dingoo A-380. I think it's time to make a new CFW with better support for all our great external emulators.  :)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on November 28, 2013, 11:18:11 pm
Zaxxon needs the samples file for sound. It will be included with the main release. I'll check into Venture.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on November 29, 2013, 05:15:23 am
Good work Slaanesh.

The sound is good and the performance improved a lot.  8)

Many games run full speed with this Beta MAME4All build and cheats work. Road Blaster works but runs slow. Outrun is also slow. Loading times are sometimes very long for certain games.

This Beta MAME4All build is much better than any other Dingoo A-380 build we had before. Thanks a lot.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on November 29, 2013, 09:41:03 pm
zaxxon working ok with the added sound samples
venture works if you turn sound off,
marked as bad sound, though it plays fine on other mame versions

phoenix japan working ok

overall great , just needs a bit more speed ,specially on shooters/racers
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on December 10, 2013, 08:11:17 pm
Unless any of the beta testers have found some outstanding bug, I think we're ready for a release.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on December 11, 2013, 05:55:08 am
I think it's good enough for a release. No major bugs and most of the games seem to run just fine.

A new CFW should also be available soon to start MAME4All and most of the other emulators on the external MicroSD card from dmenu. It just needs a bit more testing to make sure everything is still working fine after adding so many new items to dmenu.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on December 11, 2013, 05:26:22 pm
Unless any of the beta testers have found some outstanding bug, I think we're ready for a release.

repair toki, (can not inset coins-credits)
more speed for games like outrun / space harrier ?
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: slaanesh on December 11, 2013, 07:37:47 pm
Toki is fixed.

There is not much else I can do speed wise short of being able to set the clock rate if the A380s CPU.

I'm trying to implement a 2nd faster Z80 CPU emulator but it's tricky. It would be useful as a faster CORE but isn't very compatible yet.
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on December 12, 2013, 06:36:50 am
More speed would be great but isn't really necessary for a release if you plan to update MAME4All in the future. There's plenty of games that do work full speed with good sound that it doesn't make sense to wait any longer.  ;)
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: AtariHERO on December 20, 2013, 09:32:12 pm
Toki is fixed.

There is not much else I can do speed wise short of being able to set the clock rate if the A380s CPU.

I'm trying to implement a 2nd faster Z80 CPU emulator but it's tricky. It would be useful as a faster CORE but isn't very compatible yet.

any news ?  :-X
Title: Re: Mame4all for Dingoo A-380/A-320e
Post by: Alien Grey on December 23, 2013, 08:46:31 am
The Mame4All V1.0 from Slaanesh was supposed to be released in the weekend. I guess he still didin't get it ready to be released.