Search found 7 matches

by ilendemli
Fri Sep 10, 2010 8:23 pm
Forum: DS/DSi Development
Topic: Simple start NDS File and open image file
Replies: 4
Views: 5988

Re: Simple start NDS File and open image file

Can i display a picture with this code?

void displayPicture(){
consoleInit ( 0, 1, BgType_Text4bpp, BgSize_T_256x256, 0, 6, false, true);

FILE *pFile=fopen("Down.png","rb");

if (pFile!=NULL) {
decompress("Down.png", BG_GFX_SUB, LZ77Vram);
}
else printf("\n FileNotFound!\n");
}

i have ...
by ilendemli
Fri Sep 10, 2010 6:02 pm
Forum: DS/DSi Development
Topic: Simple start NDS File and open image file
Replies: 4
Views: 5988

Re: Simple start NDS File and open image file

hmmm, difficult :S
by ilendemli
Fri Sep 10, 2010 3:49 pm
Forum: DS/DSi Development
Topic: Simple start NDS File and open image file
Replies: 4
Views: 5988

Simple start NDS File and open image file

Hello!

I am new and currently programming something.
Currently i have to problems:
First i want to start a nds file but i dont know the code for that. Can somebody give me a simple nds starting code?

And the second one is to open an image file from the filesystem and set it as Background ...
by ilendemli
Tue Aug 25, 2009 5:12 pm
Forum: DS/DSi Development
Topic: NDS Reset
Replies: 5
Views: 7005

Re: NDS Reset

or another question: can i start a nds file? u know moonshell 2 uses on dstt the ttio.nds file to go back to the firmware.
can i start the nds file to restart my ds?
by ilendemli
Tue Aug 25, 2009 5:09 pm
Forum: DS/DSi Development
Topic: NDS Reset
Replies: 5
Views: 7005

Re: NDS Reset

i know. the command powerOn(PM_SYSTEM_PWR); can turn off the ds but i must restart it
by ilendemli
Tue Aug 25, 2009 5:06 pm
Forum: DS/DSi Development
Topic: NDS Reset
Replies: 5
Views: 7005

Re: NDS Reset

nope there is'nt any boot libs
by ilendemli
Tue Aug 25, 2009 3:24 pm
Forum: DS/DSi Development
Topic: NDS Reset
Replies: 5
Views: 7005

NDS Reset

Is there any Source to reboot the NDS?
and is it possible to start a nds file?

i have tried swiSoftReset(); but it dont helped me.

can anybody here help me?