Homebrew [Release] Handy 3DS - Atari Lynx Emulator

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
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

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
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

AmandaRose

Do what I do. Hold tight and pretend it’s a plan
Member
Joined
Aug 19, 2015
Messages
10,193
Trophies
1
Location
Glasgow
Website
www.rockstarnorth.com
XP
16,152
Country
United Kingdom
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.
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
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

ody81

Well-Known Member
Member
Joined
Aug 21, 2012
Messages
464
Trophies
0
XP
315
Country
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 :)
 

rygar

Active Member
Newcomer
Joined
Nov 21, 2014
Messages
43
Trophies
0
Age
49
XP
93
Country
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

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
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

  • Handy3ds_0.3.2 (test build).zip
    801.5 KB · Views: 305
  • Like
Reactions: XanLoves and SLiV3R

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,463
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,302
Country
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

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
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.
 

AmandaRose

Do what I do. Hold tight and pretend it’s a plan
Member
Joined
Aug 19, 2015
Messages
10,193
Trophies
1
Location
Glasgow
Website
www.rockstarnorth.com
XP
16,152
Country
United Kingdom
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
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
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?
 

SLiV3R

3DS Friend Code: 0473-9069-2206
Member
Joined
Jan 9, 2006
Messages
2,319
Trophies
2
Website
soundcloud.com
XP
1,847
Country
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

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: They really wanna get the head