Homebrew CitrAGB - 3DS GBA Emulator (WIP)

shinyquagsire23

SALT/Sm4sh Leak Guy
OP
Member
Joined
Nov 18, 2012
Messages
1,977
Trophies
2
Age
26
Location
Las Vegas
XP
3,765
Country
United States
I think you are full of shit, for lots of reasons, but whatever.
It's a well known fact that interpreters and non-JIT emulation is accurate but slower. Try running Dolphin on interpreter and software rendering. It'll be accurate as hell, but very very slow because it doesn't do any recompiling so that it can just 'run' code on the CPU. gpsp has an interpreter and dynrec core, and 2.1 can only use interpretation.
 
  • Like
Reactions: TecXero

AtlasFontaine

Well-Known Member
Member
Joined
Jul 18, 2015
Messages
1,095
Trophies
0
Age
26
Location
Venezuela-Zulia.
XP
865
Country
Venezuela
It's a well known fact that interpreters and non-JIT emulation is accurate but slower. Try running Dolphin on interpreter and software rendering. It'll be accurate as hell, but very very slow because it doesn't do any recompiling so that it can just 'run' code on the CPU. gpsp has an interpreter and dynrec core, and 2.1 can only use interpretation.

How can GPSP be that fast and even tells you that dynarec is enabled in the settings?
 
Last edited by AtlasFontaine,

TecXero

Technovert
Member
Joined
Apr 13, 2014
Messages
2,810
Trophies
0
Location
Mainframe
XP
1,040
Country
United States
How can psp be that fast and even tells you that dynarec is enabled in the settings?
The PSP's gpSP uses JIT emulation and skips a lot of emulation (assuming you're using Kai's fork). It's very performance oriented but has poor compatibility. That's why back on my PSP I ran uo gpSP Kai (after Exophase left the project due to dramatic reasons) and, eventually, TempGBA4PSP. Kai for performance and TempGBA for compatibility. Pretty much Exophase did some impressive work and that's why people fork off of it a lot.
 

AtlasFontaine

Well-Known Member
Member
Joined
Jul 18, 2015
Messages
1,095
Trophies
0
Age
26
Location
Venezuela-Zulia.
XP
865
Country
Venezuela
The PSP's gpSP uses JIT emulation and skips a lot of emulation (assuming you're using Kai's fork). It's very performance oriented but has poor compatibility. That's why back on my PSP I ran uo gpSP Kai (after Exophase left the project due to dramatic reasons) and, eventually, TempGBA4PSP. Kai for performance and TempGBA for compatibility. Pretty much Exophase did some impressive work and that's why people fork off of it a lot.

Srry I forgot the G in PSP lol.
 

AtlasFontaine

Well-Known Member
Member
Joined
Jul 18, 2015
Messages
1,095
Trophies
0
Age
26
Location
Venezuela-Zulia.
XP
865
Country
Venezuela
To be honest I was kind of guessing at what your question was. The question still doesn't make much sense to me with "PSP" replaced by "gpSP". Sorry. :unsure:

The unofficial retroarch port of GPSP is almost perfect in terms of speed on new3ds and has a decent amount of fps in O3DS (but it doesn't have sound). In the settings, you can see that "Dynamic Recompiler" is enabled. What I'm asking is, how is that even possible?
 

TecXero

Technovert
Member
Joined
Apr 13, 2014
Messages
2,810
Trophies
0
Location
Mainframe
XP
1,040
Country
United States
The unofficial retroarch port of GPSP is almost perfect in terms of speed on new3ds and has a decent amount of fps in O3DS (but it doesn't have sound). In the settings, you can see that "Dynamic Recompiler" is enabled. What I'm asking is how is even that possible?
RetroArch is designed for easy porting, but it's designed with more powerful systems in mind. A jack of all trades, master of none. It was probably ported directly for Userland. CitrAGB's dynarec was designed with the kernel exploit in mind. I'd argue that with kernel access, CitrAGB is still better and will be more specialized for the 3DS (unless RetroArch gets a lot of development for 3DS) as the 3DS is a weaker system so emulators will need to be specialized for it.

So right now, a lot of people are seeing RetroArch's weaker dynarec vs CitrAGB interpreter, dynarec emulation is that much better for performance. Also, it's not hard to get speed out of an emulator, it's hard to get speed out of it while still having decent compatibility and accuracy.

Though, maybe this will lead to viable options. CitrAGB for those with the kernel exploit that allows them to take better advantage of their hardware and RetroArch for those stuck without a kernel exploit.

EDIT: Nevermind, I should have taken more of a look at the 3DS port of RetroArch instead of making assumptions.
 
Last edited by TecXero,

TecXero

Technovert
Member
Joined
Apr 13, 2014
Messages
2,810
Trophies
0
Location
Mainframe
XP
1,040
Country
United States
Would it be possible to port VBA-M? I thought it was open source.
That would take a lot of work. Remember, a lot of those emulators were designed with a lot more power in mind. gpSP was designed for performance on a weaker system and is open source as well. That's why it tends to be forked for other lower end systems. I haven't poked at the source code for VBA-M, but I imagine it would be far too much work to try to port.
 

KnightBearGames

Active Member
Newcomer
Joined
Aug 17, 2015
Messages
42
Trophies
0
Age
32
Location
Ohio
XP
58
Country
United States
Well, let's hope SOME working GBA emulator comes through soon.

Also, I'll be updating my files in a little while, so for those missing a working BIOS file and not having luck getting emulators to work, shoot me a message.
 

Psi-hate

GBATemp's Official Psi-Hater
Member
Joined
Dec 14, 2014
Messages
1,749
Trophies
1
XP
3,407
Country
United States
Well, let's hope SOME working GBA emulator comes through soon.

Also, I'll be updating my files in a little while, so for those missing a working BIOS file and not having luck getting emulators to work, shoot me a message.
I asked mgba if they are making a port for 3ds. Maybe mgba will be better optimized than gpsp.
 
  • Like
Reactions: KnightBearGames

shinyquagsire23

SALT/Sm4sh Leak Guy
OP
Member
Joined
Nov 18, 2012
Messages
1,977
Trophies
2
Age
26
Location
Las Vegas
XP
3,765
Country
United States
The unofficial retroarch port of GPSP is almost perfect in terms of speed on new3ds and has a decent amount of fps in O3DS (but it doesn't have sound). In the settings, you can see that "Dynamic Recompiler" is enabled. What I'm asking is, how is that even possible?
I looked into that and it's just a stub, it's still actually using an interpreter. I may move my dynrec work over to RetroArch just due to that having a cleaner setup (and a working menu, and maybe GPU acceleration? Might need to check on that one.) Would be better in the long run imo.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1