Quote Originally Posted by 21o6
I found a way to make it compile again.

// {$ifdef ARM7}
// DMA_START_VBL = (1 shl 27); //BIT(27);
//{$endif ARM7}

//{$ifdef ARM9}
DMA_START_HBL = (1 shl 2; //BIT(2;
DMA_START_VBL = (1 shl 27); //BIT(27);
DMA_START_FIFO = (7 shl 27);
DMA_DISP_FIFO = (4 shl 27);
//{$endif ARM9}

add the bold-written parts to \libnds\nds\dma.inc, line 84 and following.

btw, this doesn't change anything about my touchpad-problem xD

oh and i don't give any guarantee that this modificiation won't do your
nds any harm. i don't really know what i'm doing, actually

edit: /b doesn't seem to work in /code xD
Nonono, wait!
You will need to download the last package and, after that, check in the svn repository new dma.inc
In other words, replace your dma.inc with this file.
However, here is the fix (line 111, dma.inc):
[pascal]
{$ifdef ARM9}
DMA_FIFO = (DMA_ENABLE or DMA_32_BIT or DMA_DST_FIX or DMA_START_FIFO);
{$endif ARM9}
[/pascal]