gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Loading Pictochat from code

#48741 - TaiyouHKabra - Fri Jul 22, 2005 1:09 am

Pictochat is somewhere in the ROM area of Nintendo DS. Does anyone knows how to invoke it?

I suppose you have to load all the ROM space of Pictochat to RAM and then change all the registers to the original state.

Any ideas?


Taiyou

#48756 - headspin - Fri Jul 22, 2005 2:47 am

Maybe Dovoto's Memory Viewer may help. I have never tried it though.
_________________
Warhawk DS | Manic Miner: The Lost Levels | The Detective Game

#48775 - TaiyouHKabra - Fri Jul 22, 2005 10:31 am

Thanks, I'll take a look with it. I doubt I can be able to find it so easily but I must try :). If anyone else has more ideas, please expose them :)

Thanks everyone.

#48821 - [FireFly] - Fri Jul 22, 2005 7:47 pm

It's possible. Not sure why you want to do it though.

#48868 - TaiyouHKabra - Sat Jul 23, 2005 1:21 pm

It's a little project I have, and besides just for the curiosity of how it works it's worth it :).


Taiyou

#48872 - pixxel - Sat Jul 23, 2005 2:39 pm

replacing pictochat code in firmware with something a bit more useful (like a boot menu to load .gba and .nds from CF would be nice) especially if pictochat was then extracted into an NDS

(before everyone starts, i dont know ANYONE else with an NDS, so unless sony adds pictochat to the psp anytime soon, picto is useless to me at least)

#48877 - tepples - Sat Jul 23, 2005 5:02 pm

How much blank space is there in the firmware?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#48885 - [FireFly] - Sat Jul 23, 2005 5:32 pm

tepples wrote:
How much blank space is there in the firmware?

Not much, only 1.5 KByte or so when you have the original firmware and 3 Kbyte or so when you have the latest version of flashme.

#48887 - tepples - Sat Jul 23, 2005 7:28 pm

How much aggressive size-optimization would be possible on some of the original firmware, such as making the menu backgrounds less detailed or removing the Japanese characters from Pictochat?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#48912 - ficedula - Sun Jul 24, 2005 2:41 am

Rather than running Pictochat from user code, I'd be interested in a way to bring up the download play menu. With flashme installed and WMB, my compile/test time is way quicker than it used to be, but any way to shave another few seconds off the whole procedure by jumping straight back to the download menu when I hit a key combo in my program, would be welcome ;)

#48935 - Dark Knight ez - Sun Jul 24, 2005 10:45 am

I don't know this, so consider this pure speculation, but wouldn't pictochat have to be accessed at a different location if one has Flashme 'installed'? Or even with different versions of flashme?

#49092 - RoTTe - Tue Jul 26, 2005 12:13 pm

http://www.bottledlight.com/ds/index.php/Main/Firmware

Quote:
Size is 256KB and accessed through SPI. It contains the menu and pictochat. The encrypted code is decrypted in the BIOS while it gets copied to RAM.


I think that no possibly direct execute of pictochat or DPM (down.. pla.. me..), need some copy of code into RAM.

Sorry my bad english

#49102 - Lupin - Tue Jul 26, 2005 2:57 pm

i am sure the ds won't run the firmware on a spi interface. Is the firmware accessiable in normal nds mode? Then it is most likely copied to RAM at boot up. If not there might be hardware registers to access the firmware (i guess it's on an EEPROM), that's how the pokemon mini reads its external eeprom :)

Sorry, don't know much about DS :/

Err, i just read the quote of the previous post. so i guess it should be easy to start pictochat once you know its entry point (maybe a simple branch to the entry point of pictochat will do).
_________________
Team Pokeme
My blog and PM ASM tutorials