This is a gba emulator for DS
This emulator is working and tested on r4i gold from www.r4ids.cn.
Install:
for wood user (v1.45 or newer) (If you use use an older Version you need to update as this won't work on an older Versions):
1. Download and unpack the latest Version (link) to the root of your SD
2. copy the gba homebrews and roms you want to play to your flashcard (the ending must be .agb, .bin or .mb (.gba dose not work at the moment (this does not work because wood disallows it. I can't fix that. Ask the creator of wood)))
3. finished you can now lunch your gba homebrew/roms like the DS homebrews/roms
==some homebrews/roms crush==
Try to hold the X button at the point they normaly crush it may work.
Load an other mode example oldirq/newirq/advirq/HblancDMA/forceHblanc.
Try to load patch.pat as patch and than load the game as usual (normally only works with advirq/HblancDMA/forceHblanc)
FAQ: http://wiki.gbatemp....i/Gbaemu4DS_FAQ (Warning everyone can edit this FAQ)
Compatibility List: http://wiki.gbatemp....patibility_List
src: https://github.com/ichfly/gbaemu4DS
Based on VisualBoyAdvance and tgba
This emulator is working and tested on r4i gold from www.r4ids.cn.
Install:
for wood user (v1.45 or newer) (If you use use an older Version you need to update as this won't work on an older Versions):
1. Download and unpack the latest Version (link) to the root of your SD
2. copy the gba homebrews and roms you want to play to your flashcard (the ending must be .agb, .bin or .mb (.gba dose not work at the moment (this does not work because wood disallows it. I can't fix that. Ask the creator of wood)))
3. finished you can now lunch your gba homebrew/roms like the DS homebrews/roms
r4
fixed key detection
hwspeedup: fixed BG mode 3,4,5 but not good yet
hwspeedup: little speedup
hwspeedup: speedup by dmaCopy
hwspeedup: size decrease the nds is about 80KB smaller
hwspeedup: little menü for changing the fps that are generated not good yet
r5
can load bigger gba roms in dsi mode (14.680.064) or with slot-2 ram (thanks Mbmax for testing)
can run commercial roms (beta)
ui to load gba and .sav (beta) (hope this work as it worked with nitro)
load saves (no save saving just the load funktion) (beta)
fix1
fix DSi mode (broken when there are to much files on the SD) but dec size to a little bit more than 14 MB
fix arm9
fix gba open (hope)
fix4
UI working now but not every time sometime crush alloc
Add show fps
r10 (hyperspeedup) (only very very few homebrew work I think ~5-10 %) (most gba files must be patched)(speed normally 50-200% of the original gba speed)
Features Behind-the-Scenes improvements to system performance and stability (Flush/Invalidate DC and IC)
updated rom loader some older flashcards work now (AK(i) seems to have issue with the new version but not because of this (I can't test this but someone has reported that))
BIOS_RegisterRamReset(0xFF); is called at the startup also done on the original gba (fix some games)
patcher:
added auto detect for some patches
added Anti User patch some games need that to start
some other things
r11 (hyperspeedup) (only very very few homebrew work I think ~5-10 %) (most gba files must be patched)(speed normally 50-200% of the original gba speed)
Features Behind-the-Scenes improvements to system performance (short cuts added)
better 0x4000004 - 0x4000008 emulation
dma start a Vblanc now working (at Hblanc still not working)
timer added 2*GBA frequency (no interrupt is working yet (also Vblanc and so on))
DISPCNT emulation improve (mode 3-5 still has a update frequency of 6 Hz)
r12 (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
r13
prefetch fail fixed by workaround and on the fly patch
r14
working with unpatched gba roms
some fixes by me and some by totschlag_Engelchen
new UI
r15
dma speedup
fix in the browseForFile function
fix: swi 6
add: swi 7
add: BIOS_RegisterRamReset(0xFF) at start
r16
power Off unneeded things
fixed some bugs
don't crash the arm7 any more
break function added (L+R+A+B)
r17
change: now calculate the best size for the buffer for the gba file (currently a bit more than 2,9 Mbyte currently every read above that 2,9 Mbyte return garbage)
fix: irq system (faster irq handling, gba irqs seems to work now)
fix: some "advanced" graphic functions in mode 3-5
added: some break menu functions
r18
change: impr. ex_s.s
change: fixed 16 Bit read
change: impr. hw reg read/write
r19
added: now reads (dma and normal) from rom above the ram buffer work (now reads from any part of the rom work however execution is limited to lower ~ 2,9 MByte)
r20
-inc. executable size to more than 3 Mbyte
-cleaned it up a bit
-speed up loading
r21
added: dehook some patches that break some functions
added: not realy working sound emulation
fix: timing functions now emulate the real speed that fix some games but also may break some games anyway I need it for the sound functions
r22
fix: irq (for Another World(still not working),MaxMod Audio(still not working),gng(now working) but some homebrews that worked in r21 or before are no more working)
change: Disabled sound dma get requests (sound dma get requests break many games)
r23
change: now only write non debug stuff to the touch screen
add: swi 5 (VBlankIntrWait) now do frameasyncsync (If the gba rom support that you now get true 60fps)
r24
add: if L+R+B is pressed before the Emulator crash the emulator will generate an debug dump called "gbadump.bin" on the sd
fix:sp for Multi Interrupts
add: code for fast tracking
r25
add: select SaveType
fix:re import sp
add:some debug code (disabled)
"This update provides behind-the-scenes fixes that will improve the overall system performance" (some code clean up and small things look at git if you want to see all changes)
r26
add: swi 2,3,4
fix siw 5
change: reduced power consumption if gba use swi 2,3,4,5
add: file auto detect
add: mb now used as mb
change: now save new save files as .sav
r27
recompiled with new gcc
some fixes
r28
use new PU configuration that give the gba much more power but make some games run to fast or crash but fix more crashes
code cleanup now the src should be easy to compile
r29
new irq system <-- still beta break some games fix some (Another world is working now)
r30
now 2 irq systems --> switch in https://github.com/i...chflysettings.h (gba_handel_IRQ_correct) one for new homebrew and com. roms and one for old homebrew
new setting emulate_cpu_speed (https://github.com/i...chflysettings.h)
Graphic fix for Defi_noel_2007
r31
"This update provides behind-the-scenes fixes that will improve the overall system performance" <-- lock at git if you don't blieve that (fixed DragonBallTR (PB))
r32
"This update provides behind-the-scenes fixes that will improve the overall system performance"
better fifoinit
r33
some shortcuts added
added slow Versions (that Version fix some games,break some games and some games are slowed down)
r33
some shortcuts added
added slow Versions (that Version fix some games,break some games and some games are slowed down)
r34
"This update provides behind-the-scenes fixes that will improve the overall system performance"
r35 (fix(Camp Lazlo) and break some games(unknown) if you game frees try to press X at the point where the game frees and it may work (Camp Lazlo))
added fat code
fixed uppern_read_emulation
added file map speedup
r36 (fixed Mario Advanced 2(U)/(J) fixed Anguna and many other homebrews they also save now)
added itcm protector
added greatownfilebuffer
added ichfly_readdma_rom
fixed eeprom emulation
r37 (Pokemon works now if X is pressed at some points)
some IRQcode impr
inc. buffslots from 100 to 255
some functions are now arm code
r38
fixed most crushes if X is not pressed
added H-Blank stuff
r39
added buggy reset
some small fixes/impr.
fix read/write from 0x0b000000
r40
fixed old_irqadded patching system
r41
added auto detectadded lcdSwap if second arg is set to '1'
added capture_and_pars mode
fixed syncline input
alpha 1
added new UI (also gives the emulator more free ram)
added press Y to save the save
added DMA sound
changed break menue combination to A+B+UP
fix 1
fixed bug that prevents the emulator from loading saves in some cases
fixed accociations.ini is now in the __rpg folder as it should be
alpha 2 fix 4
UI impr.
minor irq impr.
patch support
closed DS irq now halts the gba game
This update provides behind-the-scenes fixes that will improve the overall system performance (compatibility impr.)
default (Pokemon red)
sound on
scal off
Vskip 0
Vsync 159
newirq
Mario Advanced 2 - Mario World
sound off
scal off
Vskip 0
Vsync 159
newirq
Yggdra Union: We'll Never Fight Alone
sound on
scal off
Vskip 1
Vsync 159
forceHblanc
if you want to add some a tool will be released soon
sound on
scal off
Vskip 0
Vsync 159
newirq
Mario Advanced 2 - Mario World
sound off
scal off
Vskip 0
Vsync 159
newirq
Yggdra Union: We'll Never Fight Alone
sound on
scal off
Vskip 1
Vsync 159
forceHblanc
if you want to add some a tool will be released soon
==some homebrews/roms crush==
Try to hold the X button at the point they normaly crush it may work.
Load an other mode example oldirq/newirq/advirq/HblancDMA/forceHblanc.
Try to load patch.pat as patch and than load the game as usual (normally only works with advirq/HblancDMA/forceHblanc)
FAQ: http://wiki.gbatemp....i/Gbaemu4DS_FAQ (Warning everyone can edit this FAQ)
Compatibility List: http://wiki.gbatemp....patibility_List
src: https://github.com/ichfly/gbaemu4DS
Beta 1:
reset
tests
may: code jumps in 16 MB range
Beta 2:
scale and seek options so you can finally get a screen with borders
easy cheats UI
some functions form M-GBA and TEMPGBA
more NIFI/Wifi stuff
gbatemp.net/threads/gbaemu4ds-gba-emulator-for-ds-i-dsi-entry.281715/page-84#post-4506808
reset
tests
may: code jumps in 16 MB range
Beta 2:
scale and seek options so you can finally get a screen with borders
easy cheats UI
some functions form M-GBA and TEMPGBA
more NIFI/Wifi stuff
gbatemp.net/threads/gbaemu4ds-gba-emulator-for-ds-i-dsi-entry.281715/page-84#post-4506808
Based on VisualBoyAdvance and tgba