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,443
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: 352
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,312
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,883
Trophies
2
XP
29,288
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: 224
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
    K3Nv2 @ K3Nv2: https://youtu.be/_sJ79aDQTeQ?si=dCPYbyGhZ8OFK8nb