Search found 210 matches

by mtheall
Mon Sep 17, 2012 6:51 am
Forum: DS/DSi Development
Topic: need help allocating and copying sprite tiles efficiently
Replies: 14
Views: 36114

Re: need help allocating and copying sprite tiles efficientl

What sprite mapping are you using in oamInit()?
by mtheall
Fri Aug 24, 2012 5:06 pm
Forum: devkitARM
Topic: Profiling arm/nds program
Replies: 16
Views: 24975

Re: Profiling arm/nds program

I updated the code at http://mtheall.com/profile.tar.gz
by mtheall
Fri Aug 24, 2012 5:03 pm
Forum: devkitARM
Topic: Profiling arm/nds program
Replies: 16
Views: 24975

Re: Profiling arm/nds program

It's probable that the loop is being optimized out. I added some real code and it works fine for me.
by mtheall
Fri Aug 24, 2012 4:57 pm
Forum: devkitARM
Topic: Profiling arm/nds program
Replies: 16
Views: 24975

Re: Profiling arm/nds program

Oh look you beat me to it.
by mtheall
Fri Aug 24, 2012 4:56 pm
Forum: devkitARM
Topic: Profiling arm/nds program
Replies: 16
Views: 24975

Re: Profiling arm/nds program

WHOOPS I forgot a very important line. Add this line before irqSet()

Code: Select all

irqEnable(IRQ_HBLANK);
by mtheall
Fri Aug 24, 2012 3:28 pm
Forum: devkitARM
Topic: Profiling arm/nds program
Replies: 16
Views: 24975

Re: Profiling arm/nds program

WinterMute, I agree it can be done better, but this is what works for me right now. Otherwise I tend to use cpuStartTiming() and friends to get some timing info, which are usually accurate enough for my purposes.
by mtheall
Fri Aug 24, 2012 2:59 pm
Forum: devkitARM
Topic: Profiling arm/nds program
Replies: 2
Views: 5854

Re: Profiling arm/nds program

by mtheall
Fri Aug 24, 2012 2:56 pm
Forum: devkitARM
Topic: .o file not being built, linker is having fits. please help!
Replies: 2
Views: 5765

Re: .o file not being built, linker is having fits. please h

The -gt options means tiled. You want to use -gb for bitmap graphics.
by mtheall
Mon Aug 20, 2012 4:48 am
Forum: devkitARM
Topic: NEED HELP!
Replies: 6
Views: 10899

Re: NEED HELP!

I'll only use CodeLite if you give me instructions on how to set up the code completion :p
by mtheall
Sat Aug 18, 2012 11:05 pm
Forum: devkitARM
Topic: Profiling arm/nds program
Replies: 16
Views: 24975

Re: Profiling arm/nds program

Don't use PAlib. It relies on a severely outdated toolchain and is unsupported.