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
Speed is at 75-80% without sound, not too much but playable. I didn't touched the emulator internals by now, maybe studying the code it's possible to gain a little bit sacrifying portability.

Compatbility is very high, I have the full rom pack (commercial rom, beta, demo and homebrew) and found only a rom not working, but I have to check if it's corrupted or if it's only a beta (there are a lot of unfinished coomercial game for lynx)

Unfotunatly sometime the program freezes; it happens both during emulation and gui browsing, so it should be something related to the 3d pollings check ( a little bit messy in the first release) or another gpu bug on the latest ctrulib.

When I fix this I'll release v0.2.
 
  • Like
Reactions: SLiV3R

SLiV3R

3DS Friend Code: 0473-9069-2206
Member
Joined
Jan 9, 2006
Messages
2,319
Trophies
2
Website
soundcloud.com
XP
1,847
Country
Speed is at 75-80% without sound, not too much but playable. I didn't touched the emulator internals by now, maybe studying the code it's possible to gain a little bit sacrifying portability.

Compatbility is very high, I have the full rom pack (commercial rom, beta, demo and homebrew) and found only a rom not working, but I have to check if it's corrupted or if it's only a beta (there are a lot of unfinished coomercial game for lynx)

Unfotunatly sometime the program freezes; it happens both during emulation and gui browsing, so it should be something related to the 3d pollings check ( a little bit messy in the first release) or another gpu bug on the latest ctrulib.

When I fix this I'll release v0.2.

Cool! Is the speed 75% when using ninjhax 2.0 on a N3DS? :)
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
No, Ninjhax 1.1b. On N3DS we could have full speed also with sound.

Someone could test the v0.2 on Ninjhax 2 with new release from Smea? I would like to know if now it works.
 
  • Like
Reactions: SLiV3R

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,464
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,328
Country
No, Ninjhax 1.1b. On N3DS we could have full speed also with sound.

Someone could test the v0.2 on Ninjhax 2 with new release from Smea? I would like to know if now it works.
Running this on Ninjhax (technically Ironhax) 2.1, fixed build from yesterday on a New 3DS. Playing Chip's Challenge, the FPS counter ranges from about 114FPS to 121FPS. The emulator seems to crash quite frequently, usually after running for a minute or less, requiring the system to be rebooted. The "Limit FPS" setting in the options doesn't seem to be effective as yet, games just keep on running at outrageous double-speed. All else aside, it definitely doesn't look like performance will be an issue on New 3DS with Ninjhax 2.1.
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Running this on Ninjhax (technically Ironhax) 2.1, fixed build from yesterday on a New 3DS. Playing Chip's Challenge, the FPS counter ranges from about 114FPS to 121FPS. The emulator seems to crash quite frequently, usually after running for a minute or less, requiring the system to be rebooted. The "Limit FPS" setting in the options doesn't seem to be effective as yet, games just keep on running at outrageous double-speed. All else aside, it definitely doesn't look like performance will be an issue on New 3DS with Ninjhax 2.1.

Thank you for testing and for your feedbacks. I definitively have to buy e N3DS!!!

For crashes, on next release there will be no more, only seldom frezes. it may happen after a minute, but most of the time I can have an hour of game without problems (I save often to not loose progresses on Chip's Challenge - 46.5 FPS).

In the code the frameskip and FPS limit options are disabled because of the low speed on old 3DS and because to find the cause of freezes I disabled a lot of not essetial part of the code.

To have everything working you'll have to wait for a final stable v1.0 release. No ETA for the moment, I'm working in spare time during my holidays in Greece, so I can't do more.

When I back in Italy I'll release an update and plan next steps. As I said sound is the first priority, and inplementing sound chunks timing will fix correct frame rate on N3DS.
 
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
Implemented a basic crackling sound. Very ugly (main problem if low fps) but it's a starting point.

Also stability seems to be fixed after cleaning code a little more, but it could be only lucky of not having any freeze for the whol day.


Hopefully the crackling sound is like it was on FCEUMM3DS. On the O3DS it was bad. But on the n3ds everything is perfect :)

I can try it on a n3ds on ninjhax 2.1 if you upload or send me a .3dsx file :)
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Hopefully the crackling sound is like it was on FCEUMM3DS. On the O3DS it was bad. But on the n3ds everything is perfect :)

I can try it on a n3ds on ninjhax 2.1 if you upload or send me a .3dsx file :)

I want to introduce threads to manage sound (studying @Rinnegatamante lua sound module code) and on o3DS I was thinking of making simple linear oversampling to adjust speed to the FPS. But not for the next alpha release.

By now I'll reactivate throttling for N3ds and make a Sound On/Off option.

Please wait some days more.
 
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
In another thread someone asked for pokemini, that is something that I wanted to see running on a 3DS from a long time.

The other project is R3Ddragon; I started to work on danielps code months ago, but he switched on dynarec without reaching a good FPS and i quitted working on it.

Now I have sketched on paper a way to fully emulate the internal sprite management of Virtual Boy (including affine draw and sprite rotation) using sf2dlib. This should made the code faster, and maybe with the dynarec we could gain 100% speed on o3ds.

Since we can have already good speed with the N3ds this project is probably not worth the effort, but I like challenges. And I like coding a lot more than playing videogames.

But if in the meantime no one starts a 2600 emulator, I'll do this too. I'ts only a port, really much easier than writing an emu from scratch.


EDIT: bad news, handy still frezes sometime.
 

SLiV3R

3DS Friend Code: 0473-9069-2206
Member
Joined
Jan 9, 2006
Messages
2,319
Trophies
2
Website
soundcloud.com
XP
1,847
Country
In another thread someone asked for pokemini, that is something that I wanted to see running on a 3DS from a long time.

The other project is R3Ddragon; I started to work on danielps code months ago, but he switched on dynarec without reaching a good FPS and i quitted working on it.

Now I have sketched on paper a way to fully emulate the internal sprite management of Virtual Boy (including affine draw and sprite rotation) using sf2dlib. This should made the code faster, and maybe with the dynarec we could gain 100% speed on o3ds.

Since we can have already good speed with the N3ds this project is probably not worth the effort, but I like challenges. And I like coding a lot more than playing videogames.

But if in the meantime no one starts a 2600 emulator, I'll do this too. I'ts only a port, really much easier than writing an emu from scratch.


EDIT: bad news, handy still frezes sometime.


Cool! Many thanx for all your coding skills =)

Im looking forward to see R3Ddragon most! =)

Hugs
 

SLiV3R

3DS Friend Code: 0473-9069-2206
Member
Joined
Jan 9, 2006
Messages
2,319
Trophies
2
Website
soundcloud.com
XP
1,847
Country
Ver. 0.2 alpha released in OP.

Ther are a lot of things to do yet, but I thought that some testing and feebacks from the community may help.

Let me know If you like the work.

Yay! I will try it right now :)

I haven't played original Lynx more than a couple of minutes. So I'm not the best tester I guess. But it will be fun to play with it anyway :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    @Xdqwerty I don't have a ROG ally
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i don't have one either
    +1
  • SylverReZ @ SylverReZ:
    @AcuteBulbasaurappears, A cute bulbasaur appears. :D
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, The Wii U gamepads are tied to the console's region, so its impossible to find a cheap gamepad that supports your model.
  • SylverReZ @ SylverReZ:
    Unless you modify your system, of course, and remove the region check.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, im now by episode 8 of lain
  • S @ salazarcosplay:
    @Xdqwerty can we discuss chrono trigger
  • S @ salazarcosplay:
    @Xdqwerty I like how the game had the middle ages 1000AD, the dark ages 600AD.It was great seeing the post robot apocalypse 2300 like Terminator and enter the matrix. some of mad max and fallout. 2300ad though it could had used more elements instead of just a generic ai uprising. It was a great idea for their judgement day to be 1999 Y2K.

    -great additions if they would have made an expansion or dlc in my opinion would be finding out humans trapped in a matrix -

    a follower having a cyborg character living tissue over metal endoskelleton like terminator, and the synths from fallout
  • S @ salazarcosplay:
    4After Zeal fell it would have been good to see more ancient eras. Perhaps Sumeria based in one area, then Egypt based in another area, Greek based in another area, then roman based in another area before the middle ages.---------

    ----between 1000ad and 1999 is a big gap they should have had the age of revolution like the american and French Revolution

    then the cowboyy era in one area of map and the Industrial revolution/age of enlightmentthen a ww1 and ww2 and a cold war era
  • S @ salazarcosplay:
    they could have added 75,000 bc like assassins creed. zeal was already establish in 12, 000 bc , soething before the kindom rose
  • S @ salazarcosplay:
    @Xdqwerty they could also add age of dscover, colonialism ect
    +1
  • S @ salazarcosplay:
    renaissance
  • S @ salazarcosplay:
    @Xdqwerty what did you think
  • S @ salazarcosplay:
    @Xdqwerty I think glenn (the frog) after becomming human had an affair with the queen
  • S @ salazarcosplay:
    so he is the great great great great grandfather of marle @Xdqwerty
  • S @ salazarcosplay:
    they made it like Lancelot from king arthur legends
  • BakerMan @ BakerMan:
    just found out i'm now taller than my dad
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, sorry i was busy
  • S @ salazarcosplay:
    @Xdqwerty thats completely fine
    +1
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay,
    the ds version added a secret boss reference to chrono cross
  • S @ salazarcosplay:
    @Xdqwerty did you finish watching naruto shippuden and Boruto
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, i havent even started lol
    Xdqwerty @ Xdqwerty: @salazarcosplay, i havent even started lol