Search found 352 matches

by elhobbs
Fri Oct 31, 2014 7:18 pm
Forum: DS Development
Topic: What is going on on ARM7 CPU?
Replies: 3
Views: 8009

Re: What is going on on ARM7 CPU?

audio, wifi, touchscreen, and some of the buttons can only be accessed from the arm7. These features are made accessible to arm9 by the FIFO IPC communications that are built into libnds. so the arm9 and arm7 code need to be kept in sync. The danger with developing for the arm7 is that you might bre...
by elhobbs
Wed Oct 22, 2014 1:31 am
Forum: DS Development
Topic: Using quaternions
Replies: 15
Views: 12136

Re: Using quaternions

why do you have a mixture of atan2 (which is looking for doubles) and atan2Lerp(which is looking for fixed point)?
by elhobbs
Mon Oct 20, 2014 5:43 pm
Forum: DS Development
Topic: Using quaternions
Replies: 15
Views: 12136

Re: Using quaternions

you can use the version in <math.h> - you will need to add libm to your make file. add -lm to LIBS after -lnds9
you will need to do some conversion of input/outputs to/from fixed/float etc.
by elhobbs
Sat Oct 18, 2014 8:50 pm
Forum: DS Development
Topic: Using quaternions
Replies: 15
Views: 12136

Re: Using quaternions

I think your main issue is dealing with fixed point numbers. There is no automatic conversion to and from floats - and you have a lot of mixing of the two in your code. I have not fixed all of the code - just the bare minimum needed to get the teapot to spin around the y axis. you should be able to ...
by elhobbs
Sat Oct 18, 2014 2:18 pm
Forum: DS Development
Topic: Using quaternions
Replies: 15
Views: 12136

Re: Using quaternions

do you have a sample with code that you could share with people?
by elhobbs
Tue Oct 14, 2014 4:13 pm
Forum: devkitARM
Topic: Multithread compilation and maxmod
Replies: 2
Views: 5833

Re: Multithread compilation and maxmod

I am by no means a makefile expert, but it sounds like you might need a build rule for the header with a dependency on the soundbank - or some other dependency to make the sound bank processed first. this might fall into the category of - if you need to ask the question then you probably should not ...
by elhobbs
Mon Oct 13, 2014 2:34 pm
Forum: DS Development
Topic: "garbage" in the output of grit on mac
Replies: 3
Views: 6311

Re: "garbage" in the output of grit on mac

is the "-e" parameter for echo supported on a mac? is this used in your other makefiles?
by elhobbs
Wed Sep 10, 2014 7:27 pm
Forum: GBA Development
Topic: Question regarding GBA initialization
Replies: 1
Views: 4940

Re: Question regarding GBA initialization

I want to say that dma is only faster for ram to vram copies whereas stmia/ldmia is faster for everything else... I may be thinking of the ds though.
by elhobbs
Sun Jul 27, 2014 2:36 am
Forum: DS Development
Topic: volatile int for frame count
Replies: 1
Views: 3988

Re: volatile int for frame count

since this variable is updated in an irq handler it needs to be read from memory each time in the main loop. without the volatile declaration it would most likely be read once into a register and the updates would be never be seen.
by elhobbs
Wed Jul 09, 2014 5:51 pm
Forum: DS Development
Topic: DLDI FAT_InitFiles() trouble
Replies: 2
Views: 4313

Re: DLDI FAT_InitFiles() trouble

the max media dock is one of the earlier slot 2 solutions and does not support auto dldi patching. did you patch the binary you are creating to use the max media dock dldi? if you already had quakeds on the card you may have patched it a long time ago and forgot - just checking.