didn't work
but I think the error is on arm 9 code:
[pascal]
//arm9
var
touchXY: touchPosition;

begin
...

while true do
begin
touchXY := touchReadXY();
....
end;
end. [/pascal]
I will test this code:
[pascal]
//arm9
var
X:integer;
Y:Integer;

begin
...

while true do
begin
X:=IPC^.touchX;
Y:=IPC^.touchY;
....
end;
end. [/pascal]
(I saw this code on C^^') When my brother come back with the NDS I will test
thanks