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,316
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
    D @ diamondsofmayhem: G'night!