Author Topic: Mame4all for Dingoo A-380/A-320e  (Read 33529 times)

slaanesh

  • Posts: 557
    • Slaanesh Dev
Re: Mame4all for Dingoo A-380/A-320e
« Reply #60 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.

HercTNT

  • Posts: 695
Re: Mame4all for Dingoo A-380/A-320e
« Reply #61 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 :)

Alien Grey (OP)

  • Posts: 1414
Re: Mame4all for Dingoo A-380/A-320e
« Reply #62 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?
Dingoo A-380 CFW V2.11.09 "RetroDD" - 2 x SanDisk SDHC 32GB Class 10 MicroSD Inside - 2 x Dingoo F-16 Wireless Game Controller

slaanesh

  • Posts: 557
    • Slaanesh Dev
Re: Mame4all for Dingoo A-380/A-320e
« Reply #63 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.

Drem

  • Posts: 853
    • Russian Android/Dingo/GCW/gaming gadgets blog
Re: Mame4all for Dingoo A-380/A-320e
« Reply #64 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.

HercTNT

  • Posts: 695
Re: Mame4all for Dingoo A-380/A-320e
« Reply #65 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 :)

Alien Grey (OP)

  • Posts: 1414
Re: Mame4all for Dingoo A-380/A-320e
« Reply #66 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)
Dingoo A-380 CFW V2.11.09 "RetroDD" - 2 x SanDisk SDHC 32GB Class 10 MicroSD Inside - 2 x Dingoo F-16 Wireless Game Controller

AtariHERO

  • Posts: 351
Re: Mame4all for Dingoo A-380/A-320e
« Reply #67 on: November 20, 2013, 01:30:07 pm »
cheating would be great, but the speed boost / accurate sound is the main issue here

slaanesh

  • Posts: 557
    • Slaanesh Dev
Re: Mame4all for Dingoo A-380/A-320e
« Reply #68 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.

Alien Grey (OP)

  • Posts: 1414
Re: Mame4all for Dingoo A-380/A-320e
« Reply #69 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.
Dingoo A-380 CFW V2.11.09 "RetroDD" - 2 x SanDisk SDHC 32GB Class 10 MicroSD Inside - 2 x Dingoo F-16 Wireless Game Controller

slaanesh

  • Posts: 557
    • Slaanesh Dev
Re: Mame4all for Dingoo A-380/A-320e
« Reply #70 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.
« Last Edit: November 21, 2013, 09:52:21 am by slaanesh »

Alien Grey (OP)

  • Posts: 1414
Re: Mame4all for Dingoo A-380/A-320e
« Reply #71 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.
Dingoo A-380 CFW V2.11.09 "RetroDD" - 2 x SanDisk SDHC 32GB Class 10 MicroSD Inside - 2 x Dingoo F-16 Wireless Game Controller

dmitry_smagin

  • Posts: 423
Re: Mame4all for Dingoo A-380/A-320e
« Reply #72 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.
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

slaanesh

  • Posts: 557
    • Slaanesh Dev
Re: Mame4all for Dingoo A-380/A-320e
« Reply #73 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.

AtariHERO

  • Posts: 351
Re: Mame4all for Dingoo A-380/A-320e
« Reply #74 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" ...

AtariHERO

  • Posts: 351
Re: Mame4all for Dingoo A-380/A-320e
« Reply #75 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...

dmitry_smagin

  • Posts: 423
Re: Mame4all for Dingoo A-380/A-320e
« Reply #76 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.
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

Alien Grey (OP)

  • Posts: 1414
Re: Mame4all for Dingoo A-380/A-320e
« Reply #77 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.  ;)
Dingoo A-380 CFW V2.11.09 "RetroDD" - 2 x SanDisk SDHC 32GB Class 10 MicroSD Inside - 2 x Dingoo F-16 Wireless Game Controller

slaanesh

  • Posts: 557
    • Slaanesh Dev
Re: Mame4all for Dingoo A-380/A-320e
« Reply #78 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.

Alien Grey (OP)

  • Posts: 1414
Re: Mame4all for Dingoo A-380/A-320e
« Reply #79 on: November 22, 2013, 09:16:55 am »
That's great. I can't wait to try out the beta version.  8)
Dingoo A-380 CFW V2.11.09 "RetroDD" - 2 x SanDisk SDHC 32GB Class 10 MicroSD Inside - 2 x Dingoo F-16 Wireless Game Controller