Homebrew [Release] Handy 3DS - Atari Lynx Emulator

  • Thread starter Thread starter nop90
  • Start date Start date
  • Views Views 84,161
  • Replies Replies 288
  • Likes Likes 33
Please, someone with a n3ds could check if with the attached file the 60 fps limit works?


EDIT: attachment removed, refer to v0.3.1 in OP.
 
Last edited by nop90,
  • Like
Reactions: SLiV3R
Please, someone with a n3ds could check if with the attached file the 60 fps limit works?
This seems to be working great. Frame limit and sound are both working on this build for me on New 3DS. (Just crashed with a sound looping, hehehe.)
 
  • Like
Reactions: SLiV3R
If the sound works even after entering menu (please confirm this too) I have only to solve the freeze problem.

I'm having the same problem with my port of PokeMini (happens rarely, but in Pokemini I draw less things), So maybe it's a problem with sf2dlib or with ctrulib.

We are getting closer. In the next release (about a couple of week) I'll try to get better timing to increase sound quality, and maybe also real stereo sound (some games have it).
 
  • Like
Reactions: SLiV3R
Hey nop90 great work with emulating the Lynx but got to ask why are you wasting your time doing a pokemini emulator the pokemini was rubbish and did not have one decent game your talents would be better on doing some other emulator maybe an Atari 2600 emulator would be good.
 
Hey nop90 great work with emulating the Lynx but got to ask why are you wasting your time doing a pokemini emulator the pokemini was rubbish and did not have one decent game your talents would be better on doing some other emulator maybe an Atari 2600 emulator would be good.

I do it for fun and to learn more on emulator internals. I finished the port of pokemini in 2 hours (plus some time to fix color channels ;)) and now I'm testing ideas to sinc sound and frames without the help of interrupts on a simple emulator. What I learn will be useful for Handy and for 2600.

I'm already studying the sources of z26 and t's not an easy task to make everything work at a decent speed without rewriting the whole emulator. So I have to proced by little steps.

Not to say that little works like PokeMini increase the interest of developer to make new Homebrews for 3DS. To many skilled devs are too focused on the CFW theme, and this isn't good IMHO.
 
  • Like
Reactions: SLiV3R and MannCo
I do it for fun and to learn more on emulator internals. I finished the port of pokemini in 2 hours (plus some time to fix color channels ;)) and now I'm testing ideas to sinc sound and frames without the help of interrupts on a simple emulator. What I learn will be useful for Handy and for 2600.

I'm already studying the sources of z26 and t's not an easy task to make everything work at a decent speed without rewriting the whole emulator. So I have to proced by little steps.

Not to say that little works like PokeMini increase the interest of developer to make new Homebrews for 3DS. To many skilled devs are too focused on the CFW theme, and this isn't good IMHO.
Great work with this man, and I think you're shooting for the right systems. Atari 2600 on 3ds? Fuck yeah!! lol

I agree with you about the CFW too, I got pals with 3ds' who didn't even bother with Tubehax because there was a lack of interesting homebrew for them outside of gameyob and blargsnes. I'm personally still crossing my fingers for a port of DSfrotz although its most probably wishful thinking :)
 
If the sound works even after entering menu (please confirm this too) I have only to solve the freeze problem.
I can also confirm sound works when exiting back to menu and reloading a new game. Speed seems much more accurate now too.
 
  • Like
Reactions: SLiV3R
Playing with PokeMini I found that the freeze (that happens in PokeMini too) could be related to setting:

Code:
sf2d_set_vblank_wait(FALSE);

Enabling the vblank sync the program lose some FPS on the slow o3ds (that's why I disabled it), but the program seems stable.

Hard to say if this solves the problem because the freeze happens randomly.

In the attached 3dsx file I enabled the vsync, please let me know if it's more stable on a n3ds.
 

Attachments

  • Like
Reactions: XanLoves and SLiV3R
I can confirm no crashes over about 20 minutes of the emulator running (both in-game and in the menus); will keep playing things and note back if I get any. Framerate does appear to have dropped; for whatever reason this version runs at a rock-solid 55FPS on New 3DS. Never dips, never rises, which seems odd, almost like it's locked to 55 rather than 60 somehow. Limit FPS has no visible effect in this build.

Unfortunately, this build also seems to have the bug again where sound works until the menu is opened, after which only exiting and relaunching Handy will restore sound. On the other hand, the stability of the speed appears to have improved the sound in this build when it is working. There are "scratches" in the audio which I assume correlate to the missed 5 frames, but outside of these the sound is the best it's ever been.
 
  • Like
Reactions: SLiV3R
I can confirm no crashes over about 20 minutes of the emulator running (both in-game and in the menus); will keep playing things and note back if I get any. Framerate does appear to have dropped; for whatever reason this version runs at a rock-solid 55FPS on New 3DS. Never dips, never rises, which seems odd, almost like it's locked to 55 rather than 60 somehow. Limit FPS has no visible effect in this build.

Unfortunately, this build also seems to have the bug again where sound works until the menu is opened, after which only exiting and relaunching Handy will restore sound. On the other hand, the stability of the speed appears to have improved the sound in this build when it is working. There are "scratches" in the audio which I assume correlate to the missed 5 frames, but outside of these the sound is the best it's ever been.

There are some errors (that I'm already aware of, and I'll fix in the next release - I couple of week as I said) that limit the FPS to a non precise value of 60FPS.

The odd frequency interact with the 3ds vsync of 60Hz lowering a little the FPS and this activate an added FPS limit (multiples of 5 FPS) that I introduced for o3DS to not have to change the sound frequency too often.

The right solution is to fix the timing and indentify at startup if the program is running on a o3ds or on a n3ds, so to handle the two devices in different ways.
 
I can confirm no crashes over about 20 minutes of the emulator running (both in-game and in the menus); will keep playing things and note back if I get any. Framerate does appear to have dropped; for whatever reason this version runs at a rock-solid 55FPS on New 3DS. Never dips, never rises, which seems odd, almost like it's locked to 55 rather than 60 somehow. Limit FPS has no visible effect in this build.

Unfortunately, this build also seems to have the bug again where sound works until the menu is opened, after which only exiting and relaunching Handy will restore sound. On the other hand, the stability of the speed appears to have improved the sound in this build when it is working. There are "scratches" in the audio which I assume correlate to the missed 5 frames, but outside of these the sound is the best it's ever been.
For me the new build is still crashing all the time at random intervals chips challenge seems to be the worst but that might just be because I love that game and I keep trying it lol
 
For me the new build is still crashing all the time at random intervals chips challenge seems to be the worst but that might just be because I love that game and I keep trying it lol

Crashing (i.e. with an error message) or freezing?
 
In that I need to reset my 3ds as the game has locked up the system just like every version of your emulator has done. Hopefully you will fine a solution for your rather good emulator soon.
 
Last edited by AmandaRose,
  • Like
Reactions: SLiV3R
Hey nop90 great work with emulating the Lynx but got to ask why are you wasting your time doing a pokemini emulator the pokemini was rubbish and did not have one decent game your talents would be better on doing some other emulator maybe an Atari 2600 emulator would be good.

My dream is that nop90 will port a Genesis/Megadrive emulator. He can do it! Not sure if he's interested though :p
 
  • Like
Reactions: MannCo

Site & Scene News

Popular threads in this forum