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.

Beginners > Slow startup?

#45480 - wiz - Sat Jun 11, 2005 3:14 am

I have just converted from DevKitAdvance to DevKitARM.

Yikes it takes ages to start my program now, it starts off as a white screen for ages then the program starts. Im guessing its when I'm loading in all my gfx data. Same code works on devkitadvance with no notice of delays

my compile code as follows:

arm-elf-g++ -O2 -g -mcpu=arm7tdmi -mthumb -mthumb-interwork -c main.cpp

arm-elf-g++ -O2 -mthumb -mthumb-interwork -g -specs=gba.specs main.o -lafm -o test.elf

arm-elf-objcopy -O binary test.elf test.gba

Any idea why it would do this? I was expecting it to be faster =(

#45484 - tepples - Sat Jun 11, 2005 4:21 am

The devkitARM r12 release has a bug in its startup code, specifically in the part that clears IWRAM (which is commonly used for global variables and the stack). There's a thread in Announcements and Comments that tells how to fix it. I think there are a few other kinks in r12 that I can't quite put my finger on yet; at the moment, it might be easier for a beginner to downgrade to devkitARM r11.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#45514 - wiz - Sat Jun 11, 2005 12:41 pm

Just want to say Tepples, thanks again for always being so quick to responding and clearing things up for me (sorry for being a nag!)

#45524 - Fatnickc - Sat Jun 11, 2005 3:58 pm

tepples wrote:
I think there are a few other kinks in r12 that I can't quite put my finger on yet;


wiz wrote:
Just want to say Tepples, thanks again for always being so quick to responding and clearing things up for me (sorry for being a nag!)


tepples may be fast, but he sure isnt good at finding bands. Why not use kazaa if you want to find kinks' songs? I think you've forgotten GBAdev is for devving, and so is devkitARM, not illegal music downloading..

EDIT : It seems my rather frail attempt at humour has miserably failed. the kinks are a band..
Go on, delete me please..


Last edited by Fatnickc on Sat Jun 11, 2005 8:16 pm; edited 2 times in total

#45536 - wiz - Sat Jun 11, 2005 7:25 pm

eh?! what the hell is kinks song? and who said ANYTHING (apart from you) about downloading illegal music?

#45540 - tepples - Sat Jun 11, 2005 9:06 pm

I think it had something to do with kinks in devkitARM r12 (defined by Wiktionary as "A difficulty or flaw that is likely to impede operation, as in a plan or system") vs. The Kinks.

Anyway, Kazaa has always sucked; there are better places to get, ahem, "test vectors" for GSM Player.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#45542 - wiz - Sat Jun 11, 2005 9:31 pm

ohh! heheh :)

err well maybe this should topic should be "I'm slow" ... instead of "slow startup"

I'll get my coat ;)

#45583 - Ultima2876 - Sun Jun 12, 2005 7:06 am

Tepples, you love wiki, don't you? XD