Homebrew [Release] Handy 3DS - Atari Lynx Emulator

SLiV3R

3DS Friend Code: 0473-9069-2206
Member
Joined
Jan 9, 2006
Messages
2,319
Trophies
2
Website
soundcloud.com
XP
1,847
Country
Yeah! I tried 5-10 games and they looks gorgeous on the 3ds screen. Low resolution 16 bit graphics :)

What is the lynx fps? My fps is around 100.. I guess it should be more like 50-60 fps.

The emulator hangs kind of often. But I guess that it will be stable soon.

I really like your menu. Perhaps you could add a second screen saver option?
Very nice work! In a couple of releases we should have a perfect lynx emulator on the 3ds :)
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
What is the lynx fps? My fps is around 100.. I guess it should be more like 50-60 fps.
FPS should be 60 and I found a bug in FPS limiter, I'm fixing it for N3ds users.

I know how to fix sound, but I need fullspeed, so I have to decide if give priority to N3DS users (but this way I can't test the code) of first try to gain the missing FPS on O3DS.

To speedup the code a little I was thinking of converting all the emulator memory acceses to use physical words instead of phisical bytes. I'll use more memory but there is enought on 3DS. But it's a big work since there is an high risk to introduce bug and break the emulator.

Does someone if this is worth a try?
 

Cid2mizard

Well-Known Member
Member
Joined
Aug 16, 2007
Messages
401
Trophies
1
Age
43
Location
Maubeuge
XP
2,459
Country
France
Thanks for new release.

PS : Screenshot is mine with Citra ;)

Edit : Add screen of 0.2
 

Attachments

  • 02.png
    02.png
    5.4 KB · Views: 355
Last edited by Cid2mizard,
  • 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
Thanks for new release.

PS : Screenshot is mine with Citra ;)

Thank you for the screenshot and for posting of this emulator on other sites.

I had problems using Citra, but I solved them so now I can do screenshots on my own, Today I'll add some images of the last release.

PS: inserted new set of img from v0.2
 
Last edited by nop90,
  • Like
Reactions: Cid2mizard

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,464
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,316
Country
I know how to fix sound, but I need fullspeed, so I have to decide if give priority to N3DS users (but this way I can't test the code) of first try to gain the missing FPS on O3DS.

To speedup the code a little I was thinking of converting all the emulator memory acceses to use physical words instead of phisical bytes. I'll use more memory but there is enought on 3DS. But it's a big work since there is an high risk to introduce bug and break the emulator.

Does someone if this is worth a try?
Personally I'm on a New 3DS, but I think it would be admirable to see full speed emulation on the original 3DS. In the worst-case scenario, you could always have both engines running under the hood; that way if anything breaks the user can drop back to the slower memory access. Obviously doing it at all is a lot of effort for you though, and more effort again to maintain both modes. Still, if I was an original 3DS owner I'd say "Yes, please try this, I'd love to play Lynx games at full speed."
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
I'm interested in how the sound will be when the fps limiter is implemented. There is a small possibility that the sound will be OK!

I'm studying the emulator intenals (Mikie module for sound) and I plan to implement the playing of the four chip channels on separate 3ds channels in a continous loop updated on the fly.

On N3DS it should work fine. Now I'm listening to original Lynx sound on youtube and it's amazing, can't wait to hear it on 3ds.

But I need time to made a clean work
 
Last edited by nop90,

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
First thing I did to start v0.3 was separating the 4 channels and now the sound is better also on a o3ds compared to the previous version; tryed klax and in some points it's also clear (because there only fx sounds and not background music).

Unfortunatly had to change sound buffer size and now I have to do same tricks with the hexeditor to recover my chip's challenge saves :wink:.

You are advised, wait a little before starting the game of your life on this emu, things are changing and your saves could not be usable on future versions.
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,917
Trophies
2
XP
29,897
Country
United Kingdom
Ohshit, I'm almost halfway through Chip's Challenge already, guess I'll have to finish playing it with no sound after all :wink:
e: then again I'm not averse to hex editing..
 
  • 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
Ohshit, I'm almost halfway through Chip's Challenge already, guess I'll have to finish playing it with no sound after all :wink:
e: then again I'm not averse to hex editing..

I have to try to make a transition version that loads with the old buf size and saves with the new. If I can trick the savefile consistency check this way our, saves are not lost. I'll let you know
 
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
This isn't an official release but a test build with little improvement:
- separated 4 sound channels
- fixed limit to 60 fps for fast cpu (n3ds)
- implemented downscaling of fps limit (nearest multiple of 5) for slow 3ds. Sound frequency is reduced accordingly
- reverted sound buffer to old value to preserve savestates

For o3ds we loose about 10 fps, but sound is a little better. Had to implement sinc by sound to elininate (I hope) crackling.

I kindly ask some n3ds users to test it and make me know if it's better now. Attached there is the 3dsx.
 

Attachments

  • Handy3ds.zip
    800.1 KB · Views: 228
Last edited by nop90,

SLiV3R

3DS Friend Code: 0473-9069-2206
Member
Joined
Jan 9, 2006
Messages
2,319
Trophies
2
Website
soundcloud.com
XP
1,847
Country
This isn't an official release but a test build with little improvement:
- separated 4 sound channels
- fixed limit to 60 fps for fast cpu (n3ds)
- implemented downscaling of fps limit (nearest multiple of 5) for slow 3ds. Sound frequency is reduced accordingly
- reverted sound buffer to old value to preserve savestates

For o3ds we lose about 10 fps, but sound is a little better. Had to implement sinc by sound to elininate (I hope) crackling.

I kindly ask some n3ds users to test it and make me know if it's better now. Attached there is the 3dsx.

Nice! I will try it tomorrow morning with my n3ds :)
 

rygar

Active Member
Newcomer
Joined
Nov 21, 2014
Messages
43
Trophies
0
Age
49
XP
93
Country
This isn't an official release but a test build with little improvement:
- separated 4 sound channels
- fixed limit to 60 fps for fast cpu (n3ds)
- implemented downscaling of fps limit (nearest multiple of 5) for slow 3ds. Sound frequency is reduced accordingly
- reverted sound buffer to old value to preserve savestates

For o3ds we loose about 10 fps, but sound is a little better. Had to implement sinc by sound to elininate (I hope) crackling.

I kindly ask some n3ds users to test it and make me know if it's better now. Attached there is the 3dsx.
Test release freezes after about 3 minutes of play time (3 times in a row). Be nice to be able to scroll through rom list more quickly, e.g press right in d-pad to jump 10 roms. Config did not save selection for sound to remain "on" despite saving this in menu. Went back to "off" after restarting emu.
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Test release freezes after about 3 minutes of play time (3 times in a row).
yes I know, but can't find the problem. I'm working on it.
Be nice to be able to scroll through rom list more quickly, e.g press right in d-pad to jump 10 roms.
Already planned, with other updates to the gui
Config did not save selection for sound to remain "on" despite saving this in menu. Went back to "off" after restarting emu.
Thank you, found the bug and fixed.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...