Search found 212 matches

by zeromus
Wed Sep 21, 2011 7:05 am
Forum: devkitARM
Topic: How do I add .o files to my makefile?
Replies: 10
Views: 21839

Re: How do I add .o files to my makefile?

try $(OUTPUT).elf : $(OFILES) $(SOUND_FILES) libgfx.a If this works, then it should be pretty obvious how it is the same thing as the suggestion you received. But if you want to do it right, then you need to be a makefile master and have the .o files built automatically as wintermute suggested
by zeromus
Wed Sep 21, 2011 6:59 am
Forum: DS/DSi Development
Topic: any way to make more use of space?/improve drawing distance?
Replies: 17
Views: 31828

Re: any way to make more use of space?/improve drawing dista

Improving drawing distance requires fiddling around with your projection matrix and your world coordinate units. It's that simple. For an example, you can try changing the far clip plane parameter in any gluPerspective() call in the libnds 3d examples. For instance, change it to 2 in Env_Mapping ...
by zeromus
Wed Sep 21, 2011 6:52 am
Forum: DS/DSi Development
Topic: MODE_FIFO flickering/corrupt
Replies: 10
Views: 20840

Re: MODE_FIFO flickering/corrupt

yeah i can confirm the dma goes into disabled state after it finishes the frame.
by zeromus
Tue Sep 20, 2011 10:51 pm
Forum: DS/DSi Development
Topic: MODE_FIFO flickering/corrupt
Replies: 10
Views: 20840

Re: MODE_FIFO flickering/corrupt

splinter cell chaos theory uses it, in an exceedingly complex manner (combined with capture) for its thermal view. I can't recall any other games offhand, but I'm sure there are some others, but I don't know them. Unfortunately, I have been unsuccessful so far in recruiting interns to create a ...
by zeromus
Tue Sep 20, 2011 7:18 pm
Forum: DS/DSi Development
Topic: MODE_FIFO flickering/corrupt
Replies: 10
Views: 20840

Re: MODE_FIFO flickering/corrupt

I couldnt get it to work with memUncached at all. My theory is that so many of the memory hits happen at the same time as a DMA that the cpu gets seriously stalled repeatedly. Whereas if you go through cached memory, some writes can happen behind the scenes inbetween DMAs. going through cached ...
by zeromus
Thu Sep 08, 2011 7:58 pm
Forum: DS/DSi Development
Topic: Timing problems with IRQs and graphics
Replies: 6
Views: 8415

Re: Timing problems with IRQs and graphics

flush doesnt wait for the next vblank. but, after flush is called, any subsequent 3d operation will freeze the system until the next vblank. But since your 3d code shouldn't be running until the next vblank already, then this shouldn't be what freezes it up. Unless your next vblank callback which is ...
by zeromus
Sun Sep 04, 2011 8:05 pm
Forum: DS/DSi Development
Topic: Problem with a string.
Replies: 3
Views: 5508

Re: Problem with a string.

23 isnt enough extra bytes for CurrentSPS (no room for null terminator) print the name of the SPS file before trying to open it. Check the return value from fopen(CurrentSPS, "rb") to make sure it isn't null. SSEQList needs to be null initialized, in addition to what discostew suggested. etc, etc
by zeromus
Thu Sep 01, 2011 11:52 pm
Forum: DS/DSi Development
Topic: Bottom screen screenshot
Replies: 4
Views: 6305

Re: Bottom screen screenshot

If emulator fails as an alternative for reasons which could be resolved, then perhaps it could be resolved.
by zeromus
Sat Aug 13, 2011 10:12 pm
Forum: DS/DSi Development
Topic: execution context for interrupts
Replies: 3
Views: 6034

Re: execution context for interrupts

but you solved this by putting the console init before the first printk
by zeromus
Fri Aug 12, 2011 10:35 pm
Forum: DS/DSi Development
Topic: Get nds file icon?
Replies: 12
Views: 18524

Re: Get nds file icon?

You wont know for sure til you try