Search found 358 matches

by elhobbs
Sat Oct 18, 2014 2:18 pm
Forum: DS/DSi Development
Topic: Using quaternions
Replies: 15
Views: 20986

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: 8761

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/DSi Development
Topic: "garbage" in the output of grit on mac
Replies: 3
Views: 9290

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: 7155

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/DSi Development
Topic: volatile int for frame count
Replies: 1
Views: 6153

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/DSi Development
Topic: DLDI FAT_InitFiles() trouble
Replies: 2
Views: 6980

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.
by elhobbs
Sun May 25, 2014 4:09 am
Forum: DS/DSi Development
Topic: Strange bugs when using glGetFixed()?
Replies: 3
Views: 7781

Re: Strange bugs when using glGetFixed()?

I want to say that the projection and model view matrices cannot be retrieved without setting the other to identity first. I do not remember exactly. But there are a lot of areas where the ds 3d is quirky and does not behave in a manner that maps to OpenGL convention. Edit: yes. This is the case acc...
by elhobbs
Fri May 23, 2014 3:34 am
Forum: DS/DSi Development
Topic: loading .bin models from nitrodir
Replies: 12
Views: 17250

Re: loading .bin models from nitrodir

I already pointed out your main problem and wintermute went one step further and showed you the code change. I suggest you read up on the return value for fread - it is not a pointer to data - which is what glCallList is expecting. the first parameter to fread is the memory address where the data is...
by elhobbs
Fri May 16, 2014 7:30 am
Forum: DS/DSi Development
Topic: loading .bin models from nitrodir
Replies: 12
Views: 17250

Re: loading .bin models from nitrodir

For starters fread returns the number of elements read - not a pointer to data.
by elhobbs
Tue May 13, 2014 4:09 am
Forum: DS/DSi Development
Topic: loading .bin models from nitrodir
Replies: 12
Views: 17250

Re: loading .bin models from nitrodir

I think you will have better luck with a response if you ask an actual question or describe the problems you are experiencing.