Search found 5 matches

by icedaddy
Sun Apr 15, 2012 5:25 pm
Forum: maxmod
Topic: Not looping
Replies: 1
Views: 14054

Not looping

Hi A very basic question with MaxMod. I've loaded an .xm file from the soundbank and I want it to play and loop continuously but it plays once only. mmLoad(MOD_MENU); mmStart(MOD_MENU, MM_PLAY_LOOP); // *** NOT REPEATING !!! Am I missing something obvious? Does the .xm file need to be setup as ...
by icedaddy
Sat Apr 14, 2012 5:55 pm
Forum: maxmod
Topic: Playing an effect from memory buffer
Replies: 0
Views: 13632

Playing an effect from memory buffer

Hi Experimenting with MAXMOD I was trying to play a sound that I had loaded from the filesystem. The docs refer to mmEffectExt for playing external sounds; however, the code would not link. I had a look at the maxmod source and it appears the prototype for mmEffectExt is there but no implementation ...
by icedaddy
Thu Apr 12, 2012 9:43 pm
Forum: DS/DSi Development
Topic: PCX/tile display problem
Replies: 7
Views: 9607

Re: PCX/tile display problem

Thanks a lot mtheall, it makes perfect sense.
by icedaddy
Wed Apr 11, 2012 7:23 pm
Forum: DS/DSi Development
Topic: PCX/tile display problem
Replies: 7
Views: 9607

Re: PCX/tile display problem

That's it, thanks a lot mtheall.

So should I call DC_FlushRange before all and any dmaCopy call?

And how about DC_InvalidateRange, should this be called after each dmaCopy also?

As for the mallocs and swiWaitForVBlank, you are quite right also but this was just dirty proof of concept code.
by icedaddy
Wed Apr 11, 2012 5:32 pm
Forum: DS/DSi Development
Topic: PCX/tile display problem
Replies: 7
Views: 9607

PCX/tile display problem

Hi I am trying to read a pcx file and then display it as a tiled background. It works fine on emulators (DeSmuME & No$gba) but the display is corrupted on my DSL and DSi. This should be simple but I am surely doing something stupid. The image is 128x128 pixels, 256 col. I am trying to display it in ...