Author Topic: Lynx emulator  (Read 77034 times)

Kalisiin

  • Guest
Re: Lynx emulator
« Reply #60 on: October 30, 2009, 12:39:50 pm »
Maybe you can include an overclocking option, the original speed of the Dingoo can be greatly improved by clocking the CPU up to 430 MHz.
Slightly off topic, but, since you brought it up, how do you overclock the Dingoo?

You can alter the clock speed in MAME4ALL, but I do not know how you go about overclocking the Dingoo in general.

Chris23235

  • Posts: 603
Re: Lynx emulator
« Reply #61 on: October 30, 2009, 06:06:18 pm »
Maybe you can include an overclocking option, the original speed of the Dingoo can be greatly improved by clocking the CPU up to 430 MHz.
Slightly off topic, but, since you brought it up, how do you overclock the Dingoo?

You can alter the clock speed in MAME4ALL, but I do not know how you go about overclocking the Dingoo in general.

My Dingoo runs without any problems at 430 MHz.

Kalisiin

  • Guest
Re: Lynx emulator
« Reply #62 on: October 30, 2009, 06:12:48 pm »
Maybe you can include an overclocking option, the original speed of the Dingoo can be greatly improved by clocking the CPU up to 430 MHz.
Slightly off topic, but, since you brought it up, how do you overclock the Dingoo?

You can alter the clock speed in MAME4ALL, but I do not know how you go about overclocking the Dingoo in general.

My Dingoo runs without any problems at 430 MHz.

But mine is not clocked up to 430...unless it comes that way out of the box.  I don't know how to tell.
MAME4ALL program in Dingux lets you change the clock speed on individual games, up to 420.

Spiller (OP)

  • Posts: 106
Re: Lynx emulator
« Reply #63 on: October 30, 2009, 08:27:07 pm »
You can grab the scale engine from gnuboy or spoout, it's really fast and i don't think it will grab a fps to your emu.

These are simple nearest neighbor scalers, right? I was talking about applying a linear filter which can be found in the flatmush code, but that is way too slow right now.

Also I'm still confused by the tv out. I don't use it myself because I can't find the cable anymore.  :P Can anyone explain when and how the tv out can be enabled? Or could anyone confirm that the previous betas support tv out?

Harteex

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Lynx emulator
« Reply #64 on: October 30, 2009, 08:30:07 pm »
If you do drawing like in GnuBoy or Astrolander or any game which builds upon them, then TV-out will work without any modification.

I will try your beta now, I will edit this post when I have tried it.

EDIT:
Yes it works fine on TV-out
« Last Edit: October 30, 2009, 08:40:46 pm by Harteex »

Spiller (OP)

  • Posts: 106
Re: Lynx emulator
« Reply #65 on: October 30, 2009, 09:11:53 pm »
Thanks for confirming!

Chris23235

  • Posts: 603
Re: Lynx emulator
« Reply #66 on: October 30, 2009, 11:44:38 pm »
Maybe you can include an overclocking option, the original speed of the Dingoo can be greatly improved by clocking the CPU up to 430 MHz.
Slightly off topic, but, since you brought it up, how do you overclock the Dingoo?

You can alter the clock speed in MAME4ALL, but I do not know how you go about overclocking the Dingoo in general.

My Dingoo runs without any problems at 430 MHz.

But mine is not clocked up to 430...unless it comes that way out of the box.  I don't know how to tell.
MAME4ALL program in Dingux lets you change the clock speed on individual games, up to 420.

You just have to try up to which frequencies your Dingoo runs fine.

alekmaul

  • Posts: 330
    • Portabledev
Re: Lynx emulator
« Reply #67 on: October 31, 2009, 10:58:42 am »
These are simple nearest neighbor scalers, right? I was talking about applying a linear filter which can be found in the flatmush code, but that is way too slow right now.
It's a really fast scaler, of course, with anti aliasing but nice with games ^^

Nickeng

  • Guest
Re: Lynx emulator
« Reply #68 on: October 31, 2009, 12:32:17 pm »
I tried Robotron - was my fav game when i owned a lynx.

The right side of the box/coloured line screen swap does not generate right.


Spiller (OP)

  • Posts: 106
Re: Lynx emulator
« Reply #69 on: November 01, 2009, 08:09:49 am »
It's a really fast scaler, of course, with anti aliasing but nice with games ^^

It's using fixed pointer integer math which makes it so fast, the original flatmush one does so as well. Some people have been requesting the anti aliasing, but I don't see a way to do that currently. An anti aliasing scaler is so much slower than a simple nearest neighbor one.

Spiller (OP)

  • Posts: 106
Re: Lynx emulator
« Reply #70 on: November 01, 2009, 08:23:31 am »
Third and last beta:

http://www.speedyshare.com/188908494.html

This beta disables a render hack which was present in the Handy port I used as a base for LynGOO. This hack is responsible for almost all graphical glitches found with previous betas. The render hack may now be enabled from the menu for special cases. The sound has been improved a lot as well.

Please note that this beta may feel a lot slower than previous betas. This is mostly because previous versions were running at max speed (mostly somewhere between 115% and 130%). The new version tries to run at exactly 100% of the real Lynx speed. Auto frameskip has been added to help accomplish this with somewhat slower games. There is some debug display onscreen which tells the speed percentage, number of FPS and frameskip chosen. This display will be removed in the final version ofcourse.

This will be the last beta for this emulator. I plan on fixing the freezes which some people have encountered and then release the final version 1.0. I am not sure yet whether the 'render hack' option should stay in the menu. Therefore I'd really like some opinions on this new version compared to the previous one.
« Last Edit: November 01, 2009, 08:25:38 am by Spiller »

Chris23235

  • Posts: 603
Re: Lynx emulator
« Reply #71 on: November 01, 2009, 02:39:29 pm »
Great improvement. Shadow of the Beast still has some minor graphical glitches, it's a short flash of the screen now and then and some moving in the colours of the horizon.
On the other side, S.T.U.N. Runner, one of the most hardware demanding games runs with 60 FPS at 430 MHz, so no problem with the speed I think.
The screen doesn't seem to fit 100% on the screen, the life bar in Shadow of the Beast is missing some lines.
But apart from these small things very good and stable as far as I see.

Spiller (OP)

  • Posts: 106
Re: Lynx emulator
« Reply #72 on: November 01, 2009, 07:27:00 pm »
Thanks for mentioning the missing scanline. I hadn't noticed.  :P
It was actually a problem in the scaler from astrolander. It's fixed now and will be in the next release.

Jolu42

  • Guest
Re: Lynx emulator
« Reply #73 on: November 01, 2009, 08:45:55 pm »
The improvements are noticeable! Ms. Pac-Man is no longer the Turbo Edition :) Great job, spiller!

Harteex

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Lynx emulator
« Reply #74 on: November 01, 2009, 08:53:21 pm »
I have not tried that many games, but it seems to work fine :)

In case you ever use overclocking or anything like that, it would be good to not do that on default, and be very clear with it.

goldenegg

  • Posts: 56
Re: Lynx emulator
« Reply #75 on: November 02, 2009, 01:00:42 am »
Pretty much every game I try works perfectly!  Is there any way to disable the FPS counter in the latest beta?

alekmaul

  • Posts: 330
    • Portabledev
Re: Lynx emulator
« Reply #76 on: November 02, 2009, 07:45:36 am »
Is there any way to disable the FPS counter in the latest beta?
As the author said, you can't in this last beta version (just read his last post) ...
Spiller, i tested lots of game without changing my Dingoo Speed. It's a little slow but really nice.
As lots of people said, the last scanline is missing.
Did you try the scaler in GnuBoy or Spoout or is it Flatmush scaler ?

Spiller (OP)

  • Posts: 106
Re: Lynx emulator
« Reply #77 on: November 02, 2009, 08:00:33 am »
The debug FPS stuff cannot be disabled for this beta. It will be gone in the final release. The missing scanline was a problem with the astrolander/Flatmush scaler. I have identified and fixed that already. As far as I could tell the Flatmush and Spoout scalers are almost the same, both using fixed point integer math.
« Last Edit: November 02, 2009, 08:02:08 am by Spiller »

ScottyPottie

  • Guest
Re: Lynx emulator
« Reply #78 on: November 02, 2009, 07:35:57 pm »
Hey Spiller,

Thanks for the hard work. The latest beta is the best one yet. I am running into the problem that my Dingoo locks after exiting some games. In the earlier beta it locked after every game. Now just some. Is anyone else getting this?

I've got the official firmware version 1.1

Thanks

PS. I just doubled checked and after I exited Paperboy it exited to the list of roms and then locked and I needed to hit reset.

Spiller (OP)

  • Posts: 106
Re: Lynx emulator
« Reply #79 on: November 02, 2009, 08:22:41 pm »
Hi ScottyPottie. Thanks for the report. I am experiencing the freezes myself as well, but only after exiting tens of games. I am surprised to hear that the previous beta locked after every game. My main priority for a non-beta release is fixing these freezes.