Homebrew No$gba v2.8 released - with DSi emulation

drwhojan

Well-Known Member
OP
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
Martin Korth and his new version of No$gba v2.8 released - with DSi emulation

Download Free by his site: http://problemkaputt.de/gba.htm

No$gba 2.8 Changelog: 02 Feb 2015

If you can please make a donation to his page!.

Code:
Just uploaded no$gba v2.8. The new version is now having real non-experimental DSi emulation. And it's more or less working with DSi software. So far, it's tested with two DSi cartridges, and two DSiware programs:
 
System Flaw (cartridge): Works, but the camera emulation is showing only a dummy picture with snow (which is making the game unplayable, since it misuses the camera as gyro sensor).
Cooking Coach (cartridge): Hangs for whatever reason. It doesn't seem to be related to DSi I/O ports, so it might be some more basic problem, like some of the new/bigger memory regions not being properly emulated yet, or some memory not being initialized as how the DSi firmware would do it) (running the game in NDS mode works, the problem occurs only in DSi mode.
DSi Browser (DSiware): Boots, but complains about non-emulated WLAN access point.
Flipnote Studio (DSiware): Hangs for whatever reason, might be the same problem as with cooking coach. Would be great if anybody figures out what is causing the problems!
 
http://problemkaputt.de/gba.htm
 
DSi emulation requires a copy of the lower 32K-halves of the ARM7/ARM9 BIOSes (BIOSDSI7.ROM and BIOSDSI9.ROM). And don't forget to enable DSi emulation (default is still set to NDS mode, for better compatibility with games like Cooking Coach).
 
PS. Some advice on how to capture camera pictures under windows would be nice! I need something with good backwards compatibility (which would be probably directshow), and it should be something that can be implemented by plain source code (without code from external libraries).
 
02 Feb 2015 - version 2.8
- help: updated gbatek standalone version 2.8 (with fairly complete dsi specs)
- dsi: no$gba is now having (more or less) working non-experimental DSi support
- dsi/cartloader: auto-encrypts modcrypt area if needed (requires good sha1hmac)
- gba/snap: fixed skipping empty-nds-chunks in gba-snapshots (thanks shiny.exe)
- newmem: avoids borland tasm32/tlink32 linker-error on "arm_memxlat_non_tcm"
- dsi/help: added list of known regions/countries (only europe is known yet)
- dsi/help: better ndma description (logical/physical blocks, and repeat modes)
- wifi/help: added new DSi access points specs (wpa/wpa2, and proxy settings)
- wifi/help: added formerly unknown NDS access points specs (mtu, ssid length)
- dsi/help: added average microphone specs for ARM7 side (A/D side is unknown)
- dsi/emu: supports fake camera access (outputting some dummy snow picture)
- dma: added warning on unsupported dma/ndma types (wifi,sd/mmc,aes,mic,mainmem)
- debug: fixed $profiler_id indices for dma-channel/mode names
- dsi/emu: supports basic aes and sd/mmc init (32bit 44xxh, 16bit 48xxh/49xxh)
- dsi/emu: supports i2c access (8bit 450xh) and gpio access (16bit 4C0xh)
- dsi/emu: supports new touchscreen controller (different SPI protocol as NDS)
- dsi/help: added description for new touchscreen controller (position/status)
- dsi/help: added notes on touchscreen in nds mode (no pressure & temperature)
- dsi/help: identified the dsi cameras as Aptina MT9V113 image sensors
- dsi/help: added initialization/transfer flowcharts for cameras on ARM9 side
- dsi/help: added initialization flowchart for Aptina cameras on ARM7 side
- dsi/help: added initialization flowchart for Unknown cameras on ARM7 side
- dsi/help: added undocumented aptina regs, and aptina REV3 additions
- dsi/help: added general dsi notes (eg. dsi detection) and info on exploits
- dsi/help: added notes on basic differences to NDS mode (changed details)
- dsi/help: added info about (mostly unknown) eMMC encryption (via CID register)
- dsi/help: added behaviour of SPI powerman (with differences in DSi/NDS modes)
- gba/nds/dsi/help: added BIOS RAM info (initial RAM content and IRQ/SWI usage)
- nds/help: cart header[06Eh] Secure Area Delay, and ROMCTRL.Bit28 gap CLKs
- nds/help: info on rom chip id bit31 cart protocol variant (gap/repeat/delay)
- xboo: supports dumping carts with rom chip id bit31=1 (protocol differences)
- dsi/debug: added tty.log options for I2C commands and NDS cartridge commands
- dsi/debug: prevents warnings on bigger New WRAM areas (unlike 32K for NDS)
- dsi/debug/emu: allows bigger DSi7/DSi9 bios regions (bigger than NDS7/NDS9)
- dsi/emu: allows reading/writing more scfg registers (as far as used by games)
- dsi/emu: initializes more scfg regs on reset (with suspected/guessed values)
- dsi/i2c/help: added Aptina MT9V113 camera specs (i2c registers and variables)
- dsi/i2c/help: added many details on bptwl chip (led/volume/misc controller)
- dsi/help: described power-button modes (auto-reset, irq, forced-power-off)
- dsi/help: major corrections to I2C control reg, added I2C signals chapter
- dsi/help: added details like headphone-connect bit, game-cart-insert-bit
- dsi/cartloader: bugfixed cartloader odd modcrypt lengths (eg. cooking coach)
- dsi/help: added GPIO specs (data in/out/direction, irq edge/enable)
- dsi/help: removed dsi cart protocol, instead added cmd_3Dh notes in ds chapter
- dsi/help: hardware/software info on wiring the eMMC chip to PC card readers
- dsi/help: info on sd/mmc I/O (from TC6387XB datasheet, tmio_mmc, dsi dumps)
- dsi/help: added specs for sd/mmc protocols (commands, repsonses, registers)
 

Attachments

  • no$gba-w.zip
    190.2 KB · Views: 2,624
  • no$gba Debugger.zip
    716.5 KB · Views: 1,468

drwhojan

Well-Known Member
OP
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
Very much a shame though for NO$Zoomer :( RIP! .

Does this mean that DSiWare games will now be playable via emulator?


Seams so, But now the games lately are been re-released now with full DSI data included, search more up on google .

Anyone can ask him / himself here -> http://ngemu.com/threads/no-gba-v2-8-released-with-dsi-emulation.168697/

It's a Emulator site where Matrin is himself, I think he look for some testers and and help on his questions in the text too.
 
  • Like
Reactions: Margen67

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Anybody know how to dump their dsi bios?

NEVERMIND. Appears to work with the basic ds ones. (and op, the gamer version doesn't have dsi mode --please upload the debug version)

oh btw,

Capture.PNG
Capture.PNG


:yay:
yip, martin korth is still God : )
 

drwhojan

Well-Known Member
OP
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
Anybody know how to dump their dsi bios?
-please upload the debug version)

Now added Debugger to first post :) Enjoy .

(Note) They is a false positive depending on what AV program you are using, just report it. They don't like the UPX packer this emulator is was packed in .
 

ultimatetemper

Well-Known Member
Member
Joined
Dec 30, 2010
Messages
320
Trophies
1
XP
523
Country
Still no working local wifi on DS emulator (something like VBAlink)
I think that would be the last big accomplishment of DS emulation, then go to 3DS emulation.
 
  • Like
Reactions: Margen67

drwhojan

Well-Known Member
OP
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
Anyone would like me to add into the Emulator the EX5 Excelerator ?

Got a little rusty over the year, but still have the documents .

Attached Upx , But offsets need some change in location from v2.7C to 2.8 , Just search for first few values easy - er.

Here some stuff, have fun editing :)

EDIT: fix v2.8 in below post .

Attached UPX for editing emu .
 

Attachments

  • upx.rar
    81.6 KB · Views: 440
  • Like
Reactions: Margen67

drwhojan

Well-Known Member
OP
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
Right worked it out for no$gba v2.8 , Here is a very good workout to try with EX5 also !.

Code:
NO$GBA v2.8 upx:
CMD command and ->
CD C:\ - or path ?
 
first Unpack , second repack
 
upx -d NO$GBA.EXE
upx NO$GBA.EXE
 
------------
 
Hex Editor
 
Fix some Games, Rune factory a harvest moon est, pokemon black/white 2 summery screen's freeze fix .
0x0005834D 80BDD40900 -> 80BDD40800
0x0005835D 01000000C3E9 -> 01010000C3E9
 
Bigger Screen
0x00034F6F 00010000C7 -> B8010000C7
0X00034F79 C00000007514C7 -> 4A0100007514C7
 
Frame skips
0x0005626D 0A730A -> 0B720A
0X0005842C 01E8138CFFFF2B05 -> 00E8138CFFFF2B05
 
Software Sound
0x000660F1 0102566F -> 0202566F
Bright Sunlight
0x00066201 0002536F6C -> 0202536F6C
 
Fresh .ini file
 
Patch in before repacking, Needed.
RAM 0X0042EC00
Decompressed EMU 0X0002EC00
-> 66 89 3D 01 6D 46 00 66 89 15 03 6D 46 00 66 A3 05 6D 46 00
-> C7 05 01 6D 46 00 6B 58 89 0E 66 C7 05 05 6D 46 00 F7 DE 90
 
NO$GBA 2.8 EX5
 
898518090000 - Normaly second one listed.
 
Ram Address 0x0045865B
Emu address 0x0005825B + 09 -> E920260D0090 Hooks to Ram 0X0052AC80
 
Add to Compressed Emu only at 0x00026480 ->
66 81 FD 00 80 73 05 C1 E8 01 EB 03 C1 E8 01 89 85 18 09 00 00 E9 C7 D9 F2 FF
 
E9C8D9F2FF loop's back to 0x00458662
 
-------
AUT to try: 66 81 FE 00 80 7D 03 C1 E8 02 EB 03 C1 EB 02 89 85 18 09 00 00 E9 C7 D9 F2 FF
-------

NO$GBA v2.8_Modified Attached .
 

Attachments

  • NO$GBA2.8_Modified.zip
    189.1 KB · Views: 691
  • Like
Reactions: Margen67

drwhojan

Well-Known Member
OP
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
NO$GBA 2.6a Unpacked.zip

Code:
0FFSET(h)
00000655 0A -> 10
0X0042F864
0002F464
66 89 3D 37 F4 45 00 66 89 15 39 F4 45 00 66 A3 3B F4 45 00
C7 05 37 F4 45 00 E2 B5 5B 5D 66 C7 05 3B F4 45 00 E5 0F 90
 

Attachments

  • NO$GBA 2.6a Unpacked.zip
    172.2 KB · Views: 424

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Firefox users be like "look at what they have to do to mimic a fraction of our power."