Homebrew No$gba v2.8a 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.8a released - with DSi emulation

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

No$gba 2.8a Changelog: 03 May 2015

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

Just released no$gba v2.8a. I've been planning to release updates more frequently, but as usually, it took three months to get everything polished, so here comes another new hardcore update - http://problemkaputt.de/gba.htm

There are some general GBA/NDS emulation fixes, and some GUI fixes. But the main focus is on DSi, especially on the eMMC filesystem. As with the previous DSi updates, the whole thing will probably appear to be totally useless to most people; most of the DSi hardware is documented & emulated, but the DSi memory initialization is still unknown, so the emulation won't work with commercial games. At it's best, it may be useful for stuff like debugging/developing homebrew DSi code.

Anyways, it's now possible to decrypt the DSi bootcode, so it should be possible to figure out the DSi memory initialization, and there's a quite good chance that the NEXT no$gba version will be actually able to run official DSi software.

Code:
03 May 2015 - version 2.8a
- dsi/help: added little-endian AES pseudo code with double-checked test values
- dsi/files/help: added camera pit.bin and jpec/exif specs (unknown signature)
- dsi/files/help: added TWLFontTable.dat specs (with unknown compression)
- dsi/files/help: added specs/compression for "wifi firmware" (unknown purpose)
- dsi/files/help: added specs for TWLCFGn.dat (user settings) (as far as known)
- dsi/files/help: added specs for misc files and log files
- dsi/files/help: more details for "tad" files (sd card .bin) and for HNB_.lst
- dsi/files/help: added partial specs on certificate and whitelist stuff
- dsi/help: notes on emmc decryption being possible for boot code and partitions
- dsi/mem/help: added info on various main ram regions (2FFxxxxh and 2000400h)
- debug: filesystem viewer: allows to view eMMC partition trees (like NDS carts)
- debug: filesystem viewer: double click saves selected file (to fixed filename)
- dsi/help: specs for eMMC images ("DSi-#.mmc" with "DSi eMMC CID/CPU" footer)
- gaming version: fixed crash when starting emu without cartridge in nds mode
- debug version: fixed messed intro screen when booting without cart in nds mode
- nds/3d/help: added note on invalid gx commands being ignored by hardware
- nds/3d: made 'invalid gx command' warning optional (as part of bad io warning)
- gba/help: updated gba/thumb open-bus specs in unpredictable things chapter
- gba/emu: better prefetch for reads from unused memory by code in WRAM/OAM/BIOS
- dsi/help: added summary (and complete list) of files/folders on SD/MMC storage
- layer setup: allows to disable video layers, 3d effects, and 3d hide tests
- layer setup: allows to disable nds sound channels, and separate sound formats
- gba/bios-clone: swi cpufastset length rounded-up to n*8 words (thanks ricardo)
- nds/auxspi: forces spi-busy bit (and unused bits) to zero (thanks Frederic)
- setup: added "setup_nds_system" in gaming version, too (thanks Kokoji)
- setup: fixed some crashes on gba/nds/dsi mode changes (mainly tty-related)
- dsi/help: added MBR, VBR, FAT, and LFN specs to SD/MMC filesystem chapters
- dsi/help: added console id chapter (cid, 4004d00h, barcode, mac, wfc id)
- dsi/help: added AES ndma notes (block size, start-ndma before starting aes)
- dsi/aes: emulates aes-io-ports, and aes-irq (no aes-dma yet though)
- dsi/aes: ported AES functions to native DSi-style little-endian format
- dsi/help: updated AES i/o port chapter (many details, additions, corrections)
- dsi/help: discovered eMMC 120bit CID value (at 2FFD7BCh in main ram)
- dsi/cartbooter: allows dsiware/system code to exceed 4MB (unlike ROM carts)
- gui: help-engine on win95/winNT4: forces IDC_ARROW (instead of IDC_HAND)
- gui: uses GetScrollInfo/SetScrollInfo in help-engine (except for win31...?)
- dsi/help: identified AIC3000D as TSC2117, added lots of specs from datasheet
- debug: added SPI logging option (in TTY window) (cart, powerman, flash, tsc)
- dsibrew: updated the NUS Downloader/database page (some additions/corrections)
- dsi/help: added note on teak being actually used (by two system utilities)
- dsi/cartloader: added ".app" to standard extensions (for nus downloader files)
- dsi/help: added more cart header details (region flags, system/dsiware flags)
- dsi: emulates dsipstat.bit6=1 (lcd init ready) (needed for dsi system menu)
- nds/dsi: allows writing dispstat.bit7 (MSB of 9bit LYC) (unlike 8bit gba LYC)
 

Attachments

  • NO$GBA 2.8a.zip
    190.9 KB · Views: 1,223
  • NO$GBA Debugger 2.8a.zip
    767.1 KB · Views: 662
  • NO$GBA v2.8a Modified Version.zip
    192.2 KB · Views: 1,499

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.8a Modified - NO$GBA v2.8a Modified version

Fix some Games

Rune factory a harvest moon white screens fix
Pokemon black/white 2 Summery screen's freeze fix
Frame skips
Slight speedup
Built in EX5 from no$zoomer .

Open emulator with any hex editor, at offset 0x00026760 find

66 81 FD 00 80 73 05 C1 E8 01 EB 03 C1 E8 01 89 85 18 09 00 00 E9 A3 CA F2 FF <- this is the EX5!

You can change arm7/arm9 speeds , 80 73 05 can be edited - 01 EB 03 C1 E8 01 <- the two 01 changes speed higher the slower like 02 - also 03 can be changed only to 00 - E8 not sure but can be changed value , 80 73 slight speed, if any changes and emulator crashed, just edit value back and save , and run emulator again .

(Note) each to it's own games .
 

Attachments

  • NO$GBA 2.8a Modified.zip
    191.3 KB · Views: 813

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
Sine most no$gba are missing in action, I decided to do a lot of diging around for a collection of older releases after find on chines / japanese site's managed to find a lot .

So I have checked them and uploaded to MEGA, Download them here .

DL here: No$gba Archive Collection | MEGA

PS: Please if they are any missing on the list ?, Are you know off are may Have! , please PM the missing emulator to me and I'll add the too the Archive Collection with you're name as credit :) .

EDIT: looking for 2.2a anyone have ?, not sure if they was a 2.1 ? - missing 2.1a

Cheers.
 
  • Like
Reactions: Hiccup and 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
imagine he writes one for 3ds too..


I suppose that's why he maybe working on DSI at the moment, They tend to share with 3DS some encryption/decryption parts as a "Key" , who knows .

Many then he may move onto 3DS stuff .

"can't make an omelet without breaking some eggs" xd.
 
  • 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
I have redone a final.

NO$GBA v2.8a Modified Version 2-Final

Also fix text addresses of fixes in, NO$GBA v2.8a Hex-ed

added upx, and original no$gba to do you're own stuff.

Fix some Games

Rune factory a harvest moon white screens fix
Pokemon black/white 2 Summery screen's freeze fix

Bigger Screens on startup
Frame skips
Slight speedup
Built in EX5 from no$zoomer
software sound
poppy lite.

Attached enjoy .
 

Attachments

  • NO$GBA v2.8a Modified Version 2-Final.zip
    463.5 KB · Views: 13,421

AsPika2219

Pikachu going beach!
Member
Joined
Jun 17, 2010
Messages
1,940
Trophies
1
Age
47
Location
Cats City
XP
2,980
Country
Malaysia
Version 2.8b is out now!!! This time are full support DSI camera with some nice features!

dsi-boot.gif


http://ngemu.com/threads/no-gba-v2-8b-released-01-jun-2015-running-dsi-bootcode.172233/

Download it here!

http://problemkaputt.de/gba.htm
 
Last edited by AsPika2219,

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
So I was looking around online today now that I have a NAND image from my DSi, and I'm curious about attempting to boot it in No$GBA 2.8b. I found this post on Reddit but it doesn't explicitly give instructions on what to do with your NAND image. Has anyone been able to get it working? Also, @the_randomizer did nocash on ngemu ever mention how it was to be set up? I found yours and his posts there, but I don't know if I missed anything.

Additionally, has anyone been able to get the touchscreen to work with No$GBA 2.8b, or is that intentional that it's not working?
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,204
Country
Canada
So I was looking around online today now that I have a NAND image from my DSi, and I'm curious about attempting to boot it in No$GBA 2.8b. I found this post on Reddit but it doesn't explicitly give instructions on what to do with your NAND image. Has anyone been able to get it working? Also, @the_randomizer did nocash on ngemu ever mention how it was to be set up? I found yours and his posts there, but I don't know if I missed anything.

Additionally, has anyone been able to get the touchscreen to work with No$GBA 2.8b, or is that intentional that it's not working?
I also got a nand image of my dsi, I am looking forward for this :)
 
  • Like
Reactions: HaloEffect17

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
So it seems that the reddit post has some missing information, as looking in the No$GBA help shows that you need the two DSi BIOS files, which I don't think exist on the internet quite yet and need to be manually dumped. I'm not sure how to dump these as of yet though.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,564
Country
Chile
So it seems that the reddit post has some missing information, as looking in the No$GBA help shows that you need the two DSi BIOS files, which I don't think exist on the internet quite yet and need to be manually dumped. I'm not sure how to dump these as of yet though.

having written an armv4 core, i can assure you (once all opcodes are properly implemented) a bios ensures you will get the correct behavior while handling a CPU exception.
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
having written an armv4 core, i can assure you (once all opcodes are properly implemented) a bios ensures you will get the correct behavior while handling a CPU exception.
Yeah. I want to fiddle around with a copy of my NAND and see if I can do a few things without having to flash a NAND to my DSi constantly.

So after digging around (And rediscovering my ngemu account), I found a tool by WinterMute that dumps the BIOS files that @zoogie has compiled. I'll have to wait for my DSi to come back before I can dump my BIOS files as it's a DSi homebrew application, but that should be one essential part of running DSi NAND images on No$GBA.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,204
Country
Canada
Yeah. I want to fiddle around with a copy of my NAND and see if I can do a few things without having to flash a NAND to my DSi constantly.

So after digging around (And rediscovering my ngemu account), I found a tool by WinterMute that dumps the BIOS files that @zoogie has compiled. I'll have to wait for my DSi to come back before I can dump my BIOS files as it's a DSi homebrew application, but that should be one essential part of running DSi NAND images on No$GBA.
Same as me I guess xD

The tool won't run with a ds mode flashcard right?
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
I don't know @Team Fail and that's weird touchscreen emulation isn't working, I'd suggest getting in contact with nocash on Ngemu about that...sorry I can't be of more help...
Yeah, I made a post there but it's awaiting moderator approval. Also, I did mention you in said post, but I'll mention it here for now as well, but it seems that Trajectile is experiencing similar sound corruption to what SM64DS has. I wonder if the same fix could get audio for both games working properly...?

Edit: Said post is no longer under moderator approval.
 
Last edited by loco365,

tivu100

Well-Known Member
Member
Joined
Jun 6, 2015
Messages
2,260
Trophies
0
Age
34
XP
1,136
Country
United States
This emulator give me a nostalgic feeling. As I recalled (maybe wrong!), was the best NDS emulator before the developers stopped updated it.
 

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,967
Country
United States
Yeah, I made a post there but it's awaiting moderator approval. Also, I did mention you in said post, but I'll mention it here for now as well, but it seems that Trajectile is experiencing similar sound corruption to what SM64DS has. I wonder if the same fix could get audio for both games working properly...?

Edit: Said post is no longer under moderator approval.

That's weird, I think after X amount of posts, posts no longer are moderated as I don't have that. The SM64 issue is emulator-related and very hard to neutralize, Martin/nocash is aware of it as I even ran debug tests in the debug build and posted results, but who knows when it will be fixed.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +2
  • BakerMan @ BakerMan:
    @LeoTCK is your partner the sascrotch or smth?
  • Xdqwerty @ Xdqwerty:
    Good morning
    Xdqwerty @ Xdqwerty: Good morning