Author Topic: [RELEASE] fceu320 v0.3 beta  (Read 31106 times)

ValdikSS

  • Posts: 57
Re: [RELEASE] fceu320 v0.3 beta
« Reply #40 on: December 24, 2011, 03:08:14 pm »
Hello everyone!
I've tried to port a source to opendingux, and it even worked somehow but I have big problems with the sound. And even with the port by DiegoSLTS (thanks for that!) sound on my device is just awful on any cpu frequency. Almost all emulators are slower on opendingux than just in dingux and I just wait for opendingux to be released.
NES emulator on stock firmware is still the best.

DiegoSLTS

  • Posts: 365
Re: [RELEASE] fceu320 v0.3 beta
« Reply #41 on: December 25, 2011, 02:33:58 pm »
Well, here is the new version, I couldn't fix anything about the sound, and couldn't improve the fps, so I give up. I'll post two versions, one that uses SDL with hardware surfaces and double buffering and one with the original code (writing directly to /dev/fb). Both run at the same speed, but maybe some developer can improve the speed of one of them.

Changes:
- Menu key = L, disabled L/R to save/load states, use the options in the menu.
- Volume option re-enabled in sound settings (it's for software volume, hardware volume is still disabled).
- Samplerate = 22050, still can't change that from the emulator. If you want more you'll have to re build it editing the line "dingoo_init(22050, 16, 0, DINGOO_DEFAULT_MHZ, DINGOO_DEFAULT_BRIGHT);" from "src/drivers/dingoo/dingoo.cpp", in main() function.

NOTE: Delete fceux.cfg from /home/.fceux before running this new version.
Download:
Without SDL: Binaries - Source
With SDL: Binaries - Source

ValdikSS

  • Posts: 57
Re: [RELEASE] fceu320 v0.3 beta
« Reply #42 on: December 28, 2011, 12:09:43 pm »
DiegoSLTS I think that's the problem in opendingux itself, because picodrive is running much slower also. Thanks for the sources, I'll try to do something as soon as I'll have some free time.

K-77

  • * Former Staff
  • Posts: 343
Re: [RELEASE] fceu320 v0.3 beta
« Reply #43 on: December 28, 2011, 12:45:17 pm »
soo if everything is slower on OpenDingux what is the point in this madness

But maybe this is Sparta  :P

pcercuei

  • Posts: 1658
    • My devblog
Re: [RELEASE] fceu320 v0.3 beta
« Reply #44 on: December 30, 2011, 11:06:12 pm »
OpenDingux should run as good if not better than the legacy kernel, when testing at the same clock speed.
If you think OD is slower, please post benchmarks. Not that I don't believe you, but those tests would be very useful to us.

CREATICA

  • Posts: 195
Re: [RELEASE] fceu320 v0.3 beta
« Reply #45 on: December 31, 2011, 12:28:20 am »
Picodrive is slower in OD, actually. I didn't tried other emus but games like sonic or comix zone have problems and they're not as fluent as in Dingux Legacy.  That's my experience. Maybe it's my Dingoo, I don't know.

pcercuei

  • Posts: 1658
    • My devblog
Re: [RELEASE] fceu320 v0.3 beta
« Reply #46 on: December 31, 2011, 12:43:40 am »
At which clock speed did you test?
Picodrive may be slower on OD, but that doesn't mean OD is slower, as the builds used for the comparison are different...

ValdikSS

  • Posts: 57
Re: [RELEASE] fceu320 v0.3 beta
« Reply #47 on: December 31, 2011, 04:01:45 am »
OpenDingux should run as good if not better than the legacy kernel, when testing at the same clock speed.
If you think OD is slower, please post benchmarks. Not that I don't believe you, but those tests would be very useful to us.
Alya, OK, I will.

dmitry_smagin

  • Posts: 423
Re: [RELEASE] fceu320 v0.3 beta
« Reply #48 on: July 20, 2012, 08:36:14 pm »
Hi, guys.
I've made my own version of fceu320OD, now with blackjack and hoo--

I've took DiegoSLTS's version, removed all legacy dingux stuff (minimal.c etc) and backported some sdl code from fceux. Now all subsystems are back on sdl, even sound. After some tweaks, the emulator runs fullspeed at 60 fps.

Check it out and report. Sources are included. Note, that the emulator is compiled with opendingux toolchain and will NOT work on legacy dingux because of wchar.

Press left shift for menu. Sound samplerate is tweakable again (8000 - 48000).

http://www.sendspace.com/file/o189ym

If everything is fine, i'll upload to openhandhelds.

UPDATE: Fixed "clip sides option", previously with clip sides 0 the image was distorted
« Last Edit: July 22, 2012, 04:32:17 pm by d_smagin »
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

Articus

  • Posts: 357
Re: [RELEASE] fceu320 v0.3 beta
« Reply #49 on: July 24, 2012, 06:44:10 am »
Must one register in order to download this file?

dmitry_smagin

  • Posts: 423
Re: [RELEASE] fceu320 v0.3 beta
« Reply #50 on: July 24, 2012, 09:01:36 am »
No.
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

Articus

  • Posts: 357
Re: [RELEASE] fceu320 v0.3 beta
« Reply #51 on: July 24, 2012, 10:10:48 am »
Sorry!  I had to disable pop-blocker and scripts and all that jazz!  I was able to download, thanks!

Edit: i tested Super Mario 1 & 3 extensively last night . . .  It runs GREAT!  Cant wait until its complete and full featured!  Good work so far!
« Last Edit: July 24, 2012, 03:30:41 pm by Articus »

elrichard

  • Posts: 35
Re: [RELEASE] fceu320 v0.3 beta
« Reply #52 on: July 24, 2012, 07:00:33 pm »
Pressing L button takes me back to gmenu2x. Road Fighter runs with stuttering noise, but I can't change the configs because pressing L kills the app. Can I do something to debug this issue? Should I clean any config in the home folder?

Great job, looks promising!

K-77

  • * Former Staff
  • Posts: 343
Re: [RELEASE] fceu320 v0.3 beta
« Reply #53 on: July 24, 2012, 07:31:26 pm »
Pressing L button takes me back to gmenu2x. Road Fighter runs with stuttering noise, but I can't change the configs because pressing L kills the app. Can I do something to debug this issue? Should I clean any config in the home folder?

Great job, looks promising!

Try to delete config of previous fceu320

Yep, tested that delete /home/fecux/
« Last Edit: July 24, 2012, 07:45:14 pm by kowkar77 »

dmitry_smagin

  • Posts: 423
Re: [RELEASE] fceu320 v0.3 beta
« Reply #54 on: July 28, 2012, 02:12:34 pm »
 Hi!

 I've brought back most of Rshift+key combos (that make sense) and fixed some bugs. As I consider my work done, this is the final version.

 Now fceu320 supports not only OpenDingux, it must also run on Ritmix RZX-50 and Dingoo A380/A320e. Please, test.

 Thanks go to all people who worked on each incarnation of FCEU320: the_gama, ValdikSS and DiegoSLTS.
 
 The archive contains 3 files:
 fceu320/fceu320.dge - binary for legacy Dingux (Ritmix rzx50 and Dingoo a380/a320e) DO NOT USE FOR DINGOO A320 LEGACY DINGUX
 fceu320/fceu320-od.dge - binary for OpenDingux
 fc_emu.dge - bash-script replacement for native rzx50/a380/a320e emulators
 
 HOWTO INSTALL FOR RITMIX RZX-50 AND DINGOO A380/A320e:
 - copy folder fceu320 with its contents to "emulator" folder of inner flash-memory of your handheld
 - replace native fc_emu.dge with a replacement from the archive
 - disconnect and play
 
 What's changed comparing to DiegoSLTS's version:

 - CHANGED: All subsystems are back on SDL: video, sound, input and so on; minimal driver is removed completely.
   In fact it's virtually a new port.
 - ADDED: Thanks to new sound synchronizing with mutexes and conditions sound framerate is tweakable again: 8000 - 48000
   and it doesn't affect emulation speed anymore
 - ADDED: Most of Rshift + key combos are brought back (see Controls below)
 - ADDED: For Ritmix RZX-50 fullscreen upscales to 384x272
 - FIXED: Corrupt preview screen in load/save state options
 - FIXED: Screen corruption with scaler=original and clipsides=0
 - REMOVED: Sound thread priority option is removed as it has no sense anymore

Noticed bugs/features:
 - When sound is off, the framerate lowers to 50 fps
 - Upscalers 280x240 and 320x240 ignore 8 left and 8 right pixels (critical for some games)
 
Controls
 
 Dingoo            Nes
 -----------------------------------------------------
 Pad            Pad
 A            A
 B            B
 Y            TurboB
 X            TurboA
 Select            Select
 Start            Start

 R Shoulder           Hotkey combo
 L Shoulder         Open GUI screen


 *Default Hotkeys*

 R + A            Save state (current slot from gui is used)
 R + B             Load state (current slot from gui is used)
 R + X            Toggle fullscreen
 R + Y            Flip fds disk
 R + UP            Toggle framerate display
 R + LEFT         Insert vsuni coin
 R + SELECT         Save snapshot
 R + START         Pause emulation

Uploads on openhandhelds.org:
Binaries: http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,1,0,0,71,606
Source codes: http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,46,607
« Last Edit: July 28, 2012, 02:45:11 pm by d_smagin »
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

wy_scorpio

  • Posts: 368
Re: [RELEASE] fceu320 v0.3 beta
« Reply #55 on: July 28, 2012, 02:39:14 pm »
Hi!

 I've brought back most of Rshift+key combos (that make sense) and fixed some bugs. As I consider my work done, this is the final version.

 Now fceu320 supports not only OpenDingux, it must also run on Ritmix RZX-50 and Dingoo A380/A320e. Please, test.

 Thanks go to all people who worked on each incarnation of FCEU320: the_gama, ValdikSS and DiegoSLTS.
 
 The archive contains 3 files:
 fceu320/fceu320.dge - binary for legacy Dingux (Ritmix rzx50 and Dingoo a380/a320e) DO NOT USE FOR DINGOO A320 LEGACY DINGUX
 fceu320/fceu320-od.dge - binary for OpenDingux
 fc_emu.dge - bash-script replacement for native rzx50/a380/a320e emulators
 
 HOWTO INSTALL FOR RITMIX RZX-50 AND DINGOO A380/A320e:
 - copy folder fceu320 with its contents to "emulator" folder of inner flash-memory of your handheld
 - replace native fc_emu.dge with a replacement from the archive
 - disconnect and play
 
 What's changed comparing to DiegoSLTS's version:

 - CHANGED: All subsystems are back on SDL: video, sound, input and so on; minimal driver is removed completely.
   In fact it's vitually a new port.
 - ADDED: Thanks to new sound synchronizing with mutexes and conditions sound framerate is tweakable again: 8000 - 48000
   and it doesn't affect emulation speed anymore
 - ADDED: Most of Rshift + key combos are brought back (see Controls below)
 - ADDED: For Ritmix RZX-50 fullscreen upscales to 384x272
 - FIXED: Corrupt preview screen in load/save state options
 - FIXED: Screen corruption with scaler=original and clipsides=0
 - REMOVED: Sound thread priority option is removed as it has no sense anymore

Noticed bugs/features:
 - When sound is off, the framerate lowers to 50 fps
 - Upscalers 280x240 and 320x240 ignore 8 left and 8 right pixels (critical for some games)
 
Controls
 
 Dingoo            Nes
 -----------------------------------------------------
 Pad            Pad
 A            A
 B            B
 Y            TurboB
 X            TurboA
 Select            Select
 Start            Start

 R Shoulder           Hotkey combo
 L Shoulder         Open GUI screen


 *Default Hotkeys*

 R + A            Save state (current slot from gui is used)
 R + B             Load state (current slot from gui is used)
 R + X            Toggle fullscreen
 R + Y            Flip fds disk
 R + UP            Toggle framerate display
 R + LEFT         Insert vsuni coin
 R + SELECT         Save snapshot
 R + START         Pause emulation

Uploads on openhandhelds.org:
Binaries: http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,1,0,0,71,606
Source codes: http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,46,607

thanks great work!
why on my dingoo,i open one nes rom ,but any button inoperative...

dmitry_smagin

  • Posts: 423
Re: [RELEASE] fceu320 v0.3 beta
« Reply #56 on: July 28, 2012, 02:50:32 pm »
Delete all old configs in /local/home/.fceux
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

wy_scorpio

  • Posts: 368
Re: [RELEASE] fceu320 v0.3 beta
« Reply #57 on: July 28, 2012, 02:53:14 pm »
Delete all old configs in /local/home/.fceux

thanks,it works :)
can add some mapper?some chinese rom cant work..., one rom's mapper is 191,now any emu on dingoo cant open it.. :(
« Last Edit: July 28, 2012, 02:56:02 pm by wy_scorpio »

samir

  • Posts: 344
Re: [RELEASE] fceu320 v0.3 beta
« Reply #58 on: July 28, 2012, 08:00:23 pm »
Thanks! Hey, how to exit the emulator? Is it possible to play roms located in the nand?
« Last Edit: July 28, 2012, 08:08:07 pm by samir »

samir

  • Posts: 344
Re: [RELEASE] fceu320 v0.3 beta
« Reply #59 on: September 16, 2012, 07:56:50 pm »
Thanks! Hey, how to exit the emulator? Is it possible to play roms located in the nand?

Nothing?

 

Post a new topic