Search found 355 matches

by elhobbs
Wed Sep 10, 2014 7:27 pm
Forum: GBA Development
Topic: Question regarding GBA initialization
Replies: 1
Views: 5394

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

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

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

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

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

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

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.
by elhobbs
Thu May 08, 2014 5:43 pm
Forum: DS/DSi Development
Topic: Getting started with libnds
Replies: 8
Views: 7091

Re: Getting started with libnds

sounds like you may have already solved your issues but mtheall created a page to help visual vram layout - http://mtheall.com/banks.html
by elhobbs
Mon Dec 23, 2013 1:13 am
Forum: DS/DSi Development
Topic: Loss of connection to AP when other networks sharing channel
Replies: 1
Views: 5223

Re: Loss of connection to AP when other networks sharing cha

you could try checking the reults from Wifi_AssocStatus(). you could also try looking at your AP and see if it still associated - it wont help your app but at you could see if it is the problem.
by elhobbs
Fri Dec 06, 2013 1:54 pm
Forum: libfat
Topic: loading textured models from fat?
Replies: 7
Views: 15922

Re: loading textured models from fat?

what about nitrofs? are you asking if it can be used or suggesting a solution? the fat and nitrofs examples show to to read data from disk. Is your question "how do I read from disk?" or is it "how do I parse the data in my files"? the first question is answered by the samples. the second question r...