Author Topic: DinGear v2.0  (Read 36389 times)

hitchhikr (OP)

DinGear v2.0
« on: December 19, 2010, 10:08:14 pm »
http://franck.charlet.pagesperso-orange.fr/DinGear.zip
http://franck.charlet.pagesperso-orange.fr/DinGear_src.zip

Dingear is a Sega Master System/Game Gear/SG-1000 emulator based
on a heavily modified smsplus engine specifically crafted for the Dingoo A320 console.

It achieves full emulation speed and fullscreen mode with bilinear filtering by using
the various hardware components & extensions available on the Dingoo hardware
to the full extent of their capabilities (parallel processing).

It's also the first application to make use of my vsync hack (dubbed the "HV mode").
which allow animations without any of the usual screen tearing which have been plaguing
programs on that console so far.

Thanks to the people at dingoonity.org who spent some time beta-testing.

Commands are:

Y or A: Button 1
       B: Button 2
  Start: Start (Game Gear only)
Select: Configuration menu

Installation:

Just copy the DINGEAR.SIM file into the GAMES directory
and delete all others sms emulators (.SIM) present there.

Note: When using .SIM programs on the Dingoo, the files associations are only updated
         when the usb cable is unplugged showing the "Update Finished" message.

Release v1.0:

- Added handling for load/save states.
- Palette could be trashed sometimes.
- Perfect sync on LCD & TVOUT (no more tearing).
- Unexpected resets should be fixed now (hopefully).
- Added a configuration menu (available via SELECT button):
  - Return to game.
  - Reset.
  - Large view: on/off.
  - Audio.
    (use left/right to change output level or B/A to switch audio on/off).
  - Load state.
  - Save State.
  - Exit.
- A button & Y button now have the same purpose.
- Won't mess with the sound of other emulators/applications anymore.
- Correct screen flipping on ILI9325 LCD based consoles.

edit: (fixed the menu flickering that suddenly started to appear AFTER the official release ;D).
« Last Edit: January 01, 2011, 08:41:38 pm by hitchhikr »

clach04

Re: DinGear v1.0
« Reply #1 on: December 20, 2010, 05:45:42 am »
Just copy the DINGEAR.SIM file into the GAMES directory
and delete all others sms emulators (.SIM) present there.

Note: When using .SIM programs on the Dingoo, the files associations are only updated
         when the usb cable is unplugged showing the "Update Finished" message.

Great job, I like the menu!

RE updating the SIM association without disconnecting from USB, I also found out you can update manually. I made a quick-and-dirty update to the wiki http://dingoowiki.com/index.php?title=Dingoo:Emulators#SIM_notes on this as this caught me out.

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: DinGear v1.0
« Reply #2 on: December 20, 2010, 06:34:29 am »
I have a 325 lcd and therre is a line down the middle of the screen that flickers am I doing something wrong?

Reesy

Re: DinGear v1.0
« Reply #3 on: December 20, 2010, 08:53:39 am »
I have a 9325 as well and I also get a line down the middle of the LCD, if you switch into the menu and back out you can still partially see the menu on the left hand side of the LCD....strange

TV out works perfectly though and looks amazing, nice job!

Emulator still crashes randomly in LCD or TV OUT mode which is a bummer.  Keep going dude, you are almost there.

Later
Reesy

ben401

  • Guest
Re: DinGear v1.0
« Reply #4 on: December 20, 2010, 07:26:57 pm »
Thanks for your hard work, Alex Kid In Shinobi World runs great on my a320 with DinGear! Sadly Kenseiden doesn't want to boot. Could you have a quick look when you have the time, it's such a good game?  ;)

Thanks a lot!

hitchhikr (OP)

Re: DinGear v1.1
« Reply #5 on: December 20, 2010, 09:42:29 pm »
v1.1 released. Hopefully it'll address some of the remaining issues.

ben401: Kenseiden is working perfectly here.

Hellsing1

  • Guest
Re: DinGear v1.1
« Reply #6 on: December 20, 2010, 10:21:52 pm »
Excellent performance.

However, still has vertical line, splits screen just off centre (9325 lcd)

The colours on the right hand side of the split seems slighty lighter than the left hand.
« Last Edit: December 20, 2010, 10:24:18 pm by Hellsing1 »

hitchhikr (OP)

Re: DinGear v1.1 (source code released)
« Reply #7 on: December 20, 2010, 10:49:38 pm »
Since it's obvious that i'll never be able to fix the vsync code for those screens as i don't own one i release the source with the hope that someone with the relevant hardware and coding skills would be able to fix it and publish the solution here (the code is located in dingoo_work/hv_mode.cpp in functions reset_lcd() & lcd_eof_irq()).

clach04

Re: DinGear v1.1 (source code released)
« Reply #8 on: December 21, 2010, 12:07:29 am »
Cool!

I just tried out the source code with the latest headrevs of the native SDK http://code.google.com/p/dingoo-sdk/ it needs 2 minor tweaks:

Change case of stdio.H include in emu/vdp.h (probably not an issue under Windows)
Removed __errno_location from main.cpp - this come from libc

We can link to dingear from the sdk wiki, http://code.google.com/p/dingoo-sdk/wiki/DevelopedApplications

Do you have a project page to link to or is http://franck.charlet.pagesperso-orange.fr/games.html OK?

hitchhikr (OP)

Re: DinGear v1.1 (source code released)
« Reply #9 on: December 21, 2010, 12:37:58 am »
Linking to my site is ok i guess.

ben401

  • Guest
Re: DinGear v1.1 (source code released)
« Reply #10 on: December 21, 2010, 10:15:23 am »
My bad hitchhikr, my Kenseiden had not been properly transfered to my dingoo. Now it's runnign fine with a proper rom and I don't have anything left to complain about ;) Awesome emu!

hitchhikr (OP)

Re: DinGear v1.2 (source code released)
« Reply #11 on: December 21, 2010, 01:24:10 pm »
Release v1.2:

- Some small fixes in the sound configuration.
- Small glitch at the bottom of the screen in large view should be gone.

Harteex

  • * Administrator
  • Posts: 709
    • Harteex Productions
Re: DinGear v1.2 (source code released)
« Reply #12 on: December 21, 2010, 09:31:53 pm »
Never got the chance to try out v1.1 but somewhere between 1.0 and 1.2 Alex Kidd regressed.
Now there's sometimes a slowdown when you collect money... and the screen looks quite weird after you've died and before it respawns you. On the old version it was just blue. I can't remember how it should look like though.

hitchhikr (OP)

Re: DinGear v1.2 (source code released)
« Reply #13 on: December 21, 2010, 11:08:02 pm »
Fixed the screen clearing, for the slowdown i had to lower the processor speed because some consoles couldn't stand it. It only happens in LCD mode with large view apparently.

EugenyN

Re: DinGear v1.2 (source code released)
« Reply #14 on: December 21, 2010, 11:14:11 pm »
I have flipped screen in version 1.2. My display - ILI9325 LCD.

I would like to be able to choose the country for emulation.  If to look at speed of emulation, it seems that Europa is selected by default.

Thanks for DinGear.