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

hitchhikr (OP)

  • Posts: 69
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

  • Posts: 256
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

  • Posts: 57
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)

  • Posts: 69
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)

  • Posts: 69
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

  • Posts: 256
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)

  • Posts: 69
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)

  • Posts: 69
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: 713
    • 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)

  • Posts: 69
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

  • Posts: 23
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.

hitchhikr (OP)

  • Posts: 69
Re: DinGear v1.2 (source code released)
« Reply #15 on: December 22, 2010, 12:55:40 am »
Some emulator speed up (Alex Kidd should have less slowdown).

Quote
I have flipped screen in version 1.2. My display - ILI9325 LCD.

Alright, let's try it again:

http://franck.charlet.pagesperso-orange.fr/DinGear_test.zip

tell me which one looks correct on your console.

Quote
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.

If you're referring to 60hz, it's only available on TV-out mode, the LCD can only display 50hz (51hz to be exact) as most of the frequencies aren't common on both the ILI9325 & ILI9331.

RodrigoCard

  • Posts: 314
    • Mac Joystick Apps
Re: DinGear v1.2 (source code released)
« Reply #16 on: December 22, 2010, 03:05:09 am »
(...)

If you're referring to 60hz, it's only available on TV-out mode, the LCD can only display 50hz (51hz to be exact) as most of the frequencies aren't common on both the ILI9325 & ILI9331.

Well...  :-\
Vsync is cool, but, if I have to trade the real speed for vsync I would chose to not have it.

Would be possible to include a 60hz option? Even if I need to disable vsync?
I always played SMS in 60hz and at 50 it feels so slow... :/

hitchhikr (OP)

  • Posts: 69
Re: DinGear v1.2 (source code released)
« Reply #17 on: December 22, 2010, 11:54:51 am »
Quote
Would be possible to include a 60hz option? Even if I need to disable vsync?
I always played SMS in 60hz and at 50 it feels so slow... :/

Sorry that's not possible at this time, use another emulator.

Note: i've updated the above link (DinGear_test.zip) and i may have fixed the vertical bar, so can someone with a ILI9325 console tell me which one is rotated correctly and if the vertical bar is gone ?

Hellsing1

  • Guest
Re: DinGear v1.2 (source code released)
« Reply #18 on: December 22, 2010, 04:46:52 pm »
Edit:

Dingear_1_3 has fixed the vertical line and it seem to be working perfectly fine now (9325 lcd).

Hellsing
« Last Edit: December 22, 2010, 04:53:25 pm by Hellsing1 »

hitchhikr (OP)

  • Posts: 69
Re: DinGear v1.2 (source code released)
« Reply #19 on: December 22, 2010, 04:56:17 pm »
1_3 is the setting i was using before and people reported that it was flipped, so who's right ?

 

Post a new topic
Post a new topic