Search found 65 matches

by eKid
Wed May 20, 2009 3:59 pm
Forum: maxmod
Topic: Different volume when using mm_ds_sample
Replies: 2
Views: 2050

Re: Different volume when using mm_ds_sample

Hello! Here are some solutions: 1) Find a program that can add set loop points in wav files. 2) Store the sound effect in a module file (modules contain loop point info) 3) (the method you are trying)... The first 32-bit word of the soundbank contains two halfwords containing the module and sample c...
by eKid
Mon May 18, 2009 3:13 am
Forum: DS/DSi Development
Topic: What is mapBase ?
Replies: 2
Views: 1557

Re: What is mapBase ?

mapBase determines the location in video memory where the tilemap for the BG is stored. For tiled BGs the map base is the address in 2K steps (so cpu address would be 0x6000000+mapBase*2048). For bitmap BGs, the map actually holds the bitmap data rather than a tilemap, the map base is 16K steps for ...
by eKid
Fri May 15, 2009 7:51 am
Forum: DS/DSi Development
Topic: RGB15 does not work
Replies: 6
Views: 2936

Re: RGB15 does not work

Hmm, seems like an error in the docs there. FB0/1/2/3 modes should use VRAM_A,B,C,D, and I think MODE_FIFO should be that other mode it says MODE_FB0 is for.
by eKid
Tue May 05, 2009 7:33 pm
Forum: DS/DSi Development
Topic: sprite from image not showing
Replies: 4
Views: 3128

Re: sprite from image not showing

I think last time I checked main() returning isn't handled, so you'll get undefined behavior. You should use "while(1) swiWaitForVBlank();" or perhaps "swiIntrWait(0,0);" instead.
by eKid
Thu Apr 23, 2009 6:32 am
Forum: maxmod
Topic: Changing Sample Start Position
Replies: 4
Views: 3262

Re: Changing Sample Start Position

chr15m wrote:If I modify maxmod to allow it, will you accept a patch?
Maybe... I'd do it myself if I wasn't so darn busy lately -_-

Also are you sure if maxmod is right for you? It's designed to be for adding music/sound in a game, not really geared for an audio app.
by eKid
Thu Apr 16, 2009 12:12 am
Forum: DS/DSi Development
Topic: Simple question about Vram
Replies: 6
Views: 2730

Re: Simple question about Vram

Nope! You can assign the vram any way you want!! Here is the problem: VRAM_A_MAIN_SPRITE has a default offset at the beginning of sprite vram, VRAM_B_MAIN_SPRITE has a default offset that is after the first block of sprite ram, change to "VRAM_B_MAIN_SPRITE_0x06400000" to set it to the beginning of ...
by eKid
Wed Apr 15, 2009 2:42 pm
Forum: DS/DSi Development
Topic: Game Icon/Logo problem...
Replies: 8
Views: 5766

Re: Game Icon/Logo problem...

Here add this to your makefile underneath "export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib)" icons = $(wildcard *.bmp) ifneq (,$(findstring $(TARGET).bmp,$(icons))) export GAME_ICON := $(CURDIR)/$(TARGET).bmp else ifneq (,$(findstring icon.bmp,$(icons))) export GAME_ICON := $(CURDIR)/icon.b...
by eKid
Wed Apr 15, 2009 2:32 pm
Forum: Bug Reports
Topic: libnds: setBrightness
Replies: 5
Views: 3959

Re: libnds: setBrightness

Thanks for pointing that out, it'll be fixed for next release.
by eKid
Wed Apr 15, 2009 2:21 pm
Forum: DS/DSi Development
Topic: How to get CPU usage?
Replies: 7
Views: 5724

Re: How to get CPU usage?

Hello nfirvine! Here are some codes, /*--------------------------------------------------------------------------------- Basic template code for starting a DS app ---------------------------------------------------------------------------------*/ #include <nds.h> #include <stdio.h> void start_test()...
by eKid
Wed Apr 15, 2009 2:05 pm
Forum: DS/DSi Development
Topic: Sound Recording question
Replies: 3
Views: 2065

Re: Sound Recording question

Hello josefn , Here are some codes! What I did is got the RMS (root mean square) of the sample data when I receive it from the mic (in the callback). Result is 0..32768, I made a little bar to show the result!! oh an i threw in a peak test too // mic input amplitude #include <nds.h> #include <stdio....