Homebrew gbaemu4ds: GBA emulator for DS(i) (DSi Entry)

Is the graphic better if you use the sc Version and the upper screen on a 3DS

  • I can't do that (have no 3DS) (have not tested that)

    Votes: 110 40.3%
  • Yes

    Votes: 48 17.6%
  • No

    Votes: 26 9.5%
  • I don't know

    Votes: 89 32.6%

  • Total voters
    273

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
Team Fail said:
Well, if I may, could I suggest RAM virtualization? Since most retail roms easily hit 64 MB,GBA ROMS only go up to 32MB.

QUOTE(Team Fail @ Mar 10 2011, 11:02 AM) and this DS image is not even 800KB, why not ramp up the DS image size to allow for virtual RAM
DS has no MMU, cannot virtualize memory.
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
Rydian said:
Team Fail said:
Well, if I may, could I suggest RAM virtualization? Since most retail roms easily hit 64 MB,GBA ROMS only go up to 32MB.

QUOTE(Team Fail @ Mar 10 2011, 11:02 AM) and this DS image is not even 800KB, why not ramp up the DS image size to allow for virtual RAM
DS has no MMU, cannot virtualize memory.
I meant the DS image. But, if RAM virtualization cannot be done, not even extra room in the DS image would work, from what I see here.
 

spinal_cord

Knows his stuff
Member
Joined
Jul 21, 2007
Messages
3,225
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,373
Country
AlanJohn said:
FINALLY ITS CREATED... Now I want to punch everyone who said that GBA emulation is impossible on the Acekard...

Nobody (with any brains) said it was impossible, just useless, as it will NEVER run at full speed with sound, the DS does not have enough RAM to hold a commercial GBA game, so the GBA hardware in the DS/lite can not be used directly (GBA hardware will most likely crash if it can't read the game fast enough, which it can't do from flash, so the whole system has to be emulated, which is always going to be VERY slow.
 

.Chris

Clueless
Member
Joined
Feb 20, 2009
Messages
2,195
Trophies
1
Location
United States
XP
809
Country
United States
I just thought of a similar idea to this a while ago...

Why not make a GBA Emulator that uses a small portion of your SD memory when you play a GBA ROM, instead of built-in RAM?
 

indask8

New Member Forever
Member
Joined
Apr 19, 2007
Messages
987
Trophies
0
Age
37
Location
Look at the Flag...
XP
352
Country
France
RoboticBuddy said:
I just thought of a similar idea to this a while ago...

Why not make a GBA Emulator that uses a small portion of your SD memory when you play a GBA ROM, instead of built-in RAM?

SD card is not fast enough, GBA roms needs random/instant (or near random/instant) access to the whole cartridge memory.
 

Nujui

I need something to do.
Member
Joined
Aug 12, 2010
Messages
3,933
Trophies
0
Age
27
Location
Dreamland.
XP
851
Country
United States
Officer Delibird said:
Ahaha Sheaperd I remember a conversation between me and you
Me: Is there a gba emulator?
Sheaperd:NO its not possible
Me: awww
It's still wouldn't be that great. Even if you emulated gba games on a ds, it wouldn't run that great. And when did I say you couldn't play gba games?

Ever heard of the supercard 2?
 

Schicksalsheld

Well-Known Member
Member
Joined
Aug 29, 2009
Messages
118
Trophies
0
XP
75
Country
Gambia, The
spinal_cord said:
AlanJohn said:
FINALLY ITS CREATED... Now I want to punch everyone who said that GBA emulation is impossible on the Acekard...

Nobody (with any brains) said it was impossible, just useless, as it will NEVER run at full speed with sound, the DS does not have enough RAM to hold a commercial GBA game, so the GBA hardware in the DS/lite can not be used directly (GBA hardware will most likely crash if it can't read the game fast enough, which it can't do from flash, so the whole system has to be emulated, which is always going to be VERY slow.
Nobody with a brain sad that this is possible, the Acekard hasn't an inbuilt CPU, only an FPGA and an Memory from SST. But yes i know what you mean spinal, Emulation on the DS without an external CPU isn't usefull.

Hmmm i think this Project is more proof of concept...
 

trumpet-205

Embrace the darkness within
Member
Joined
Jan 14, 2009
Messages
4,363
Trophies
0
Website
Visit site
XP
693
Country
United States
spinal_cord said:
AlanJohn said:
FINALLY ITS CREATED... Now I want to punch everyone who said that GBA emulation is impossible on the Acekard...

Nobody (with any brains) said it was impossible, just useless, as it will NEVER run at full speed with sound, the DS does not have enough RAM to hold a commercial GBA game, so the GBA hardware in the DS/lite can not be used directly (GBA hardware will most likely crash if it can't read the game fast enough, which it can't do from flash, so the whole system has to be emulated, which is always going to be VERY slow.
But for games like Megaman Zero Collection, isn't it just an emulator on top of GBA roms?
 

spinal_cord

Knows his stuff
Member
Joined
Jul 21, 2007
Messages
3,225
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,373
Country
trumpet-205 said:
spinal_cord said:
AlanJohn said:
FINALLY ITS CREATED... Now I want to punch everyone who said that GBA emulation is impossible on the Acekard...

Nobody (with any brains) said it was impossible, just useless, as it will NEVER run at full speed with sound, the DS does not have enough RAM to hold a commercial GBA game, so the GBA hardware in the DS/lite can not be used directly (GBA hardware will most likely crash if it can't read the game fast enough, which it can't do from flash, so the whole system has to be emulated, which is always going to be VERY slow.
But for games like Megaman Zero Collection, isn't it just an emulator on top of GBA roms?

Very probably not. As the DS is pretty much just a 'better' GBA, and Nintendo quite obviously has all of the source code for those games, I would imagin they just re-compiled (and tweaked) them using the DS dev kit rather than the GBA one.
 

spinal_cord

Knows his stuff
Member
Joined
Jul 21, 2007
Messages
3,225
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,373
Country
Rydian said:
The collections are ported.

The companies can port games because THEY have the source code to modify and recompile.

We do not, therefore we do not port.

Although I agree with what you say, I did see a little while ago that someone decompiled the NES game Super Mario Bros. and (with a little tweaking) managed to reassemble it to work on the megadrive/genesis. It worked very well too, although the sound was a little off.
 

Jamstruth

Secondary Feline Anthropomorph
Member
Joined
Apr 23, 2009
Messages
3,462
Trophies
0
Age
31
Location
North East Scotland
XP
710
Country
spinal_cord said:
AlanJohn said:
FINALLY ITS CREATED... Now I want to punch everyone who said that GBA emulation is impossible on the Acekard...

Nobody (with any brains) said it was impossible, just useless, as it will NEVER run at full speed with sound, the DS does not have enough RAM to hold a commercial GBA game, so the GBA hardware in the DS/lite can not be used directly (GBA hardware will most likely crash if it can't read the game fast enough, which it can't do from flash, so the whole system has to be emulated, which is always going to be VERY slow.
This is gonna sound very stupid I'm sure. BUT...
We can have Slot-2 RAM, correct? The Slot-2 RAM in most GBA Flashcarts is designed to run the games 1:1 and therefore designed to be fast enough for GBA, correct? Therefore could we not use the slot-2 RAM (clocked to the highest possible for the cart) to hold the data until it is needed then move it into the DS RAM? I understand the CPU would still be slow but it seems logical to me that we could load full ROMs this way.
 

Porobu

Gbatemps Shiny Latias
Member
Joined
Sep 12, 2009
Messages
1,042
Trophies
1
Age
28
XP
455
Country
Jamstruth said:
spinal_cord said:
AlanJohn said:
FINALLY ITS CREATED... Now I want to punch everyone who said that GBA emulation is impossible on the Acekard...

Nobody (with any brains) said it was impossible, just useless, as it will NEVER run at full speed with sound, the DS does not have enough RAM to hold a commercial GBA game, so the GBA hardware in the DS/lite can not be used directly (GBA hardware will most likely crash if it can't read the game fast enough, which it can't do from flash, so the whole system has to be emulated, which is always going to be VERY slow.
This is gonna sound very stupid I'm sure. BUT...
We can have Slot-2 RAM, correct? The Slot-2 RAM in most GBA Flashcarts is designed to run the games 1:1 and therefore designed to be fast enough for GBA, correct? Therefore could we not use the slot-2 RAM (clocked to the highest possible for the cart) to hold the data until it is needed then move it into the DS RAM? I understand the CPU would still be slow but it seems logical to me that we could load full ROMs this way.
But if we have the slot 2 ram we copy the rom and use native gba hardware on the ds
 

Jamstruth

Secondary Feline Anthropomorph
Member
Joined
Apr 23, 2009
Messages
3,462
Trophies
0
Age
31
Location
North East Scotland
XP
710
Country
True, it does kind of entirely defeat the purpose BUT would be good for proof of concept. And for people like me who have broken, fake Supercards from DealExtreme...yyyeeeahh....
 

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
spinal_cord said:
Although I agree with what you say, I did see a little while ago that someone decompiled the NES game Super Mario Bros. and (with a little tweaking) managed to reassemble it to work on the megadrive/genesis. It worked very well too, although the sound was a little off.
The thing there is the genesis is much more powerful than the NES (whereas the DS is not that much more powerful than the GBA), and the NES has no demands that outstrip what the Genesis can provide, wheras the storage speed needed for the GBA is above what the DS cart slot can do.
 

twiztidsinz

Taiju Yamada Fan
Member
Joined
Dec 23, 2008
Messages
4,979
Trophies
0
Website
Visit site
XP
220
Country
United States
Porobu said:
Jamstruth said:
spinal_cord said:
AlanJohn said:
FINALLY ITS CREATED... Now I want to punch everyone who said that GBA emulation is impossible on the Acekard...

Nobody (with any brains) said it was impossible, just useless, as it will NEVER run at full speed with sound, the DS does not have enough RAM to hold a commercial GBA game, so the GBA hardware in the DS/lite can not be used directly (GBA hardware will most likely crash if it can't read the game fast enough, which it can't do from flash, so the whole system has to be emulated, which is always going to be VERY slow.
This is gonna sound very stupid I'm sure. BUT...
We can have Slot-2 RAM, correct? The Slot-2 RAM in most GBA Flashcarts is designed to run the games 1:1 and therefore designed to be fast enough for GBA, correct? Therefore could we not use the slot-2 RAM (clocked to the highest possible for the cart) to hold the data until it is needed then move it into the DS RAM? I understand the CPU would still be slow but it seems logical to me that we could load full ROMs this way.
But if we have the slot 2 ram we copy the rom and use native gba hardware on the ds
Slot2 RAM =/= GBA Flashcart.
If it were, then you could just use the Opera Browser RAM Pack to play games... which you can't.
 

WiiUBricker

News Police
Banned
Joined
Sep 19, 2009
Messages
7,827
Trophies
0
Location
Espresso
XP
7,485
Country
Argentina
I think we should just wait and see what ichfly got. He wouldnt do this if he is not sure to someday, somehow achive decent speeds. I mean, he already made an exploit
bow.gif
 

ichichfly

Well-Known Member
OP
Member
Joined
Sep 23, 2009
Messages
619
Trophies
1
XP
1,075
Country
Gambia, The
However i have some idea for later speed improves but befor i can do that i have to use the real hw and stop emulating hw. Emulating hw realy slow down and eat ram. however i have no idear how i can surrport roms that are bigger than 2MB ext ram is a good idear but i don`t have one use dsi is also good but i don`t have the possibility to test the code. Use hw works but may only free 300KB not realy much.

May i make a version for DSi or ext ram only and let someone test it.

and start gba rom in DS mode won`t work the hw is different (u32*)0x04000000 and the Vram have the most changes and Bios calls have changest and so on
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://m.youtube.com/watch?v=FzVN9kIUNxw +1