D:\disassemblies\nds\picodriveds-0.1.7>make
make -C arm7
make[1]: Entering directory `/d/disassemblies/nds/picodriveds-0.1.7/arm7'
template.c
arm-none-eabi-gcc -MMD -MP -MF /d/disassemblies/nds/picodriveds-0.1.7/arm7/build/template.d -Wall -O3 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -I/d/disassemblies/nds/picodriveds-0.1.7/arm7/include -I/d/disassemblies/nds/picodriveds-0.1.7/arm7/build -I/d/devkitPro/libnds/include -I/d/disassemblies/nds/picodriveds-0.1.7/arm7/build -DARM7 -c /d/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c -o template.o
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c: In function 'startSound':
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:10:109: error: 'SOUND_8BIT' undeclared (first use in this function)
SCHANNEL_CR(channel) = SCHANNEL_ENABLE | SOUND_ONE_SHOT | SOUND_VOL(vol) | SOUND_PAN(pan) | (format==1?SOUND_8BIT:SOUND_16BIT);
^~~~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:10:109: note: each undeclared identifier is reported only once for each function it appears in
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:10:120: error: 'SOUND_16BIT' undeclared (first use in this function)
SCHANNEL_CR(channel) = SCHANNEL_ENABLE | SOUND_ONE_SHOT | SOUND_VOL(vol) | SOUND_PAN(pan) | (format==1?SOUND_8BIT:SOUND_16BIT);
^~~~~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c: In function 'VcountHandler':
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:38:13: error: too few arguments to function 'touchReadXY'
tempPos = touchReadXY();
^~~~~~~~~~~
In file included from d:/devkitPro/libnds/include/nds.h:290:0,
from d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:1:
d:/devkitPro/libnds/include/nds/arm7/touch.h:61:6: note: declared here
void touchReadXY(touchPosition *touchPos);
^~~~~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:40:14: error: 'touchPosition {aka struct touchPosition}' has no member named 'x'; did you mean 'px'?
x = tempPos.x;
^
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:41:14: error: 'touchPosition {aka struct touchPosition}' has no member named 'y'; did you mean 'py'?
y = tempPos.y;
^
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:62:4: error: 'IPC' undeclared (first use in this function)
IPC->mailBusy = 1;
^~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c: In function 'VblankHandler':
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:86:2: error: unknown type name 'TransferSound'
TransferSound *snd = IPC->soundData;
^~~~~~~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:86:23: error: 'IPC' undeclared (first use in this function)
TransferSound *snd = IPC->soundData;
^~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:91:18: error: request for member 'count' in something not a structure or union
for (i=0; i<snd->count; i++) {
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:19: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:38: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:57: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:81: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:99: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:117: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c: In function 'main':
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:110:2: warning: implicit declaration of function 'powerON' [-Wimplicit-function-declaration]
powerON(POWER_SOUND);
^~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:111:2: error: 'SOUND_CR' undeclared (first use in this function)
SOUND_CR = SOUND_ENABLE | SOUND_VOL(0x7F);
^~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:112:2: error: 'IPC' undeclared (first use in this function)
IPC->soundData = 0;
^~~
make[2]: *** [template.o] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/disassemblies/nds/picodriveds-0.1.7/arm7'
make: *** [arm7/picodriveds.elf] Error 2