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

ichichfly

Well-Known Member
OP
Member
Joined
Sep 23, 2009
Messages
619
Trophies
1
XP
1,075
Country
Gambia, The
Rinzler said:
"(most gba files must be patched)"

Do you mean patched with the DLDI tool ?

Aw, by the way, which release do I downoad ? I'm using a flashcart on a DS Lite.

you only need to patch if you use the hyper speed all other don't need patches. The patcher for hyper speed is in the zip file if you patch a gba it can no more be used by a normal gba or a gba emulator only with the hyper speedup version of the emulator

you can use all versions but ensure you only allocated 2 MB not more.

QUOTE(heartgold @ Aug 1 2011, 12:14 PM) So what kind of frame-rate is the emulator capable of in DS mode and Dsi mode?

that question is not easy to answer because there are different refresh rates and speeds.

Normal speed is 200-50 % of the normal gba that means if not some special sound functions or load fuktion (most load fuktions are fast) are used
direct graphic I/O (exception DISPCNT) goes direct to the hardware so no delay there
also OAM and Palette RAM and in Video Mode 0-2 Backgrounds also
only in Video Mode 3-5 the Background data has a refresh rate of 6Hz the OBJ Tiles have also 6Hz refresh rate remember that OAM goes direct to the hardware

so most parts depend on the gba program or the Display that has 59.8261 Hz


Update r12 http://ichfly.github.com/gbaemu4DS/ (hyperspeedup) (only very very few homebrew work I think ~10-15 %) (most gba files must be patched)(speed normally 50-200% of the original gba speed)

Untested but hope it work now irq added
Features Behind-the-Scenes improvements to system performance (short cuts added)
swi 6 fixed
 

thakadesign

Active Member
Newcomer
Joined
Dec 23, 2010
Messages
42
Trophies
0
XP
29
Country
United States
Can you tell me a playable rom that is working?? .. for it found no
gbasp.gif
 

heartgold

Well-Known Member
Member
Joined
Sep 11, 2009
Messages
4,378
Trophies
0
Location
London
Website
Visit site
XP
2,085
Country
ichichfly said:
that question is not easy to answer because there are different refresh rates and speeds.

Normal speed is 200-50 % of the normal gba that means if not some special sound functions or load fuktion (most load fuktions are fast) are used
direct graphic I/O (exception DISPCNT) goes direct to the hardware so no delay there
also OAM and Palette RAM and in Video Mode 0-2 Backgrounds also
only in Video Mode 3-5 the Background data has a refresh rate of 6Hz the OBJ Tiles have also 6Hz refresh rate remember that OAM goes direct to the hardware

so most parts depend on the gba program or the Display that has 59.8261 Hz

50%-200% speed of gba, that is incredible for homebrew. What about commercial roms?
 

ichichfly

Well-Known Member
OP
Member
Joined
Sep 23, 2009
Messages
619
Trophies
1
XP
1,075
Country
Gambia, The
thakadesign said:
Can you tell me a playable rom that is working?? .. for it found no
gbasp.gif


I have only tested some teck demos yet this work at last in one of the versions I don't know if they stll work

some of them only work if they are patched

http://www.gbadev.org/demos.php?showinfo=553
http://www.gbadev.org/demos.php?showinfo=447
http://www.gbadev.org/demos.php?showinfo=637
http://www.gbadev.org/demos.php?showinfo=235
http://www.gbadev.org/demos.php?showinfo=213 (slow?)
http://www.gbadev.org/demos.php?showinfo=465
http://www.gbadev.org/demos.php?showinfo=350
http://www.gbadev.org/demos.php?showinfo=1323
http://www.gbadev.org/demos.php?showinfo=338 (slow)
http://www.gbadev.org/demos.php?showinfo=527 (slow)
http://www.gbadev.org/demos.php?showinfo=486
http://www.gbadev.org/demos.php?showinfo=1298
http://www.gbadev.org/demos.php?showinfo=331
http://www.gbadev.org/demos.php?showinfo=323 (not all)

heartgold said:
QUOTE(ichichfly @ Aug 1 2011, 01:08 PM) that question is not easy to answer because there are different refresh rates and speeds.

Normal speed is 200-50 % of the normal gba that means if not some special sound functions or load fuktion (most load fuktions are fast) are used
direct graphic I/O (exception DISPCNT) goes direct to the hardware so no delay there
also OAM and Palette RAM and in Video Mode 0-2 Backgrounds also
only in Video Mode 3-5 the Background data has a refresh rate of 6Hz the OBJ Tiles have also 6Hz refresh rate remember that OAM goes direct to the hardware

so most parts depend on the gba program or the Display that has 59.8261 Hz

50%-200% speed of gba, that is incredible for homebrew. What about commercial roms?

sorry I don't think that commercial roms work yet

Upadate rev.13 http://ichfly.github.com/gbaemu4DS/
prefetch fail fixed by workaround and on the fly patch slow down everything a bit (I/O and gba card emulation) but it work (http://www.gbadev.org/demos.php?showinfo=338 (ARM Plasma) work now slow but work)
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,193
Country
New Zealand
ichfly, you forgot to add woraround.h to github

EDIT: You appear to have added them now but incorrectly to github it inserted your full path including drive letter. I'm now getting errors saying anytimejmpfilter isn't defined anywhere.

EDIT2: ewwwww why are you patching libnds directly :S
 

Rinzler

Member
Newcomer
Joined
Mar 18, 2011
Messages
24
Trophies
0
Location
Paris
XP
26
Country
France
Eww, do we still have to patch the files ? And what files shoud I patch ?

Ohh and the r5 works but when I'm going through :fat/, I can't find any gba files nor on the arm9. And you've said that the malloc set was good, but when I wanna play Goldeneye, I only press start and it fails ... Dunno what to do, help please
frown.gif
 

ichichfly

Well-Known Member
OP
Member
Joined
Sep 23, 2009
Messages
619
Trophies
1
XP
1,075
Country
Gambia, The
Rinzler said:
Eww, do we still have to patch the files ? And what files shoud I patch ?

Ohh and the r5 works but when I'm going through :fat/, I can't find any gba files nor on the arm9. And you've said that the malloc set was good, but when I wanna play Goldeneye, I only press start and it fails ... Dunno what to do, help please
frown.gif



Rinzler said:
Eww, do we still have to patch the files ? And what files shoud I patch ?
yes that can't be fixed since some are selecting the patches to get better compatibility and don't use the auto select
patching is only needed for hyper speedup

Rinzler said:
And you've said that the malloc set was good, but when I wanna play Goldeneye, I only press start and it fails ... Dunno what to do, help please
frown.gif

wen you are in the malloc screen press right 4 times and 3 times down than start than it should work

QUOTE(Rinzler @ Aug 2 2011, 01:37 PM)
Ohh and the r5 works but when I'm going through :fat/, I can't find any gba files nor on the arm9

that may depend on the file browser it should show the files on the sd in the slot-1 card but it is not working every time you may have to get less files in the root of the sd

ADD:all workarounds fixed

ADD2: I am patching libnds directly because it was a fast solution and than I get 0x140 Byte itcm memory free I don't need that memory any more
 

ichichfly

Well-Known Member
OP
Member
Joined
Sep 23, 2009
Messages
619
Trophies
1
XP
1,075
Country
Gambia, The
Normmatt said:
By the way instead of patching out the swi's why not just replace the arm9 swi handler with your own? then you wouldn't need to patch the rom at all?

I thought I can only change the Exception Vectors from 0x0FFF0000 to 0xFFFF0000 and both are not writable but some other sources are now saying it can be changed to 0x00000000 so I haven't tryed it but now I will try it soon

OK libnds say it works


@-------------------------------------------------------------------------
@ Region 2 - alternate vector base
@-------------------------------------------------------------------------
ldr r0,=( PAGE_4K | 0x00000000 | 1)
mcr p15, 0, r0, c6, c2, 0
 

Rinzler

Member
Newcomer
Joined
Mar 18, 2011
Messages
24
Trophies
0
Location
Paris
XP
26
Country
France
Ehm, although I only need to use the hwspeedup, should I also patch the arm9 ?

And btw, do I have to patch the file hwspeedup, or the files inside hwspeedup ?
 

Mbmax

Homebrew addicted
Member
Joined
Nov 7, 2006
Messages
2,275
Trophies
1
Website
Visit site
XP
413
Country
thakadesign said:
The project goes doing great ... congratulations ...
you are expected when would load commercial roms.?
I'm not sure the DS version will one day run commercial roms. This require more memory than the DS mode can provide.

@ichfly : thanks for the last update.
wink.gif
 

koimayeul

Well-Known Member
Member
Joined
Dec 2, 2009
Messages
1,362
Trophies
1
Age
44
Location
France
XP
482
Country
France
no trolling or flaming i can't see the point of this homebrew with the slot 2 cards still available and some slot 1 gba capable emulation but good luck on it, i guess >
 
D

Deleted-236924

Guest
koimayeul said:
no trolling or flaming i can't see the point of this homebrew with the slot 2 cards still available and some slot 1 gba capable emulation but good luck on it, i guess >
 

MSaki

Well-Known Member
Member
Joined
Jun 20, 2011
Messages
200
Trophies
0
Age
33
Location
Destruction of this planet
Website
nintendo3ds-place.webs.com
XP
105
Country
United States
not getting off topic but if everyone has that much of a problem with dsi and slot 2 just find the pinouts and solder a slot back on one or just upgrade the ram chip.....who cares i like my dsi xl the way it is

also this is for dsi and ds without slot2 carts as lots of people either don't want to pay $40 or just like to see the progress of a gba emulator running without slot 2 cart as i tested the goomba gba emu and sonic 1 gba homebrew re-make it ran very well.

also slot 1 cards like iplayer and others who have the built in ram isnt fun to me as its running from in the card not the actual system......

night
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=bgCjp3-rF_Y