#47200 - revo - Wed Jul 06, 2005 8:53 am
Hi, I have very simple ARM9 code:
It isn't working as it should on Ideas and Dualis. On DSEmu I get pretty good points with some offset (calibration?). ARM7 is default from ndstool. I will be grateful if someone tell me what's wrong.
Compiled code: http://dscode.revo.pl/demos/TouchTest.zip Can somebody test how it works on hardware? I don't have flash cart yet.
Edit:
It works on DSEmu well, but i touched wrong part of screen :), made lcdSWwap() and it's ok right now.
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]
Code: |
#include <nds.h>
int main(void) { powerON(POWER_ALL); videoSetMode(MODE_FB0); vramSetBankA(VRAM_A_LCD); while(1) { VRAM_A[IPC->touchXpx + (IPC->touchYpx*256)] = RGB15(31,0,0); } return 0; } |
It isn't working as it should on Ideas and Dualis. On DSEmu I get pretty good points with some offset (calibration?). ARM7 is default from ndstool. I will be grateful if someone tell me what's wrong.
Compiled code: http://dscode.revo.pl/demos/TouchTest.zip Can somebody test how it works on hardware? I don't have flash cart yet.
Edit:
It works on DSEmu well, but i touched wrong part of screen :), made lcdSWwap() and it's ok right now.
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]